Board index » cppbuilder » Re: bcc32pch 2.6dev 8

Re: bcc32pch 2.6dev 8


2006-03-21 10:47:21 AM
cppbuilder95
Error:
Could not copy *.map to ....
"Andreas Hausladen" < XXXX@XXXXX.COM >
??????: XXXX@XXXXX.COM ...
Quote
Version 2.6dev 8 changes:
=========================
- Fixed: $(BCB) macro bugs
- Fixed: used Packages must be unloaded when compiled.
- Fixed: EInvalidPointer was raised when the project was compiled in
unsaved-compilation mode and the project was not saved to disk before
closing BCB. (BCB does invoked IDENotifier.Destroyed after the bcc32pch is
unloaded)
- Fixed: If ilink32.exe does a full link after a failed incremental link,
it returns an errorcode. This wrong errorcode is now ignored.
- Fixed: bcc32ide always used the custom BCB 5/6 warnings setting even if
they were disabled (none, all)
- Fixed: Unsaved project option changes were not taken into account.
- Fixed: BCB 5/6 DebugLibDir and ReleaseLibDir were not used for linking.
- Fixed: The first error message that is auto-selected is no longer
auto-selected if the file does not exist. ("Create file?"-dialog bug)
- Fixed: ProjectNotifier bug crashed the IDE when quitting BCB.
- Improved: Better "show command line" output for tlib and ilink32.
- Added: BCB Personal SKU support.
- Added: IDE Compiler enhancements can be disabled. Disabling both the
Replacement Compiler and the IDE Compiler enhancements disables bcc32pch
- Added: BDS 2006 project dependency check and compilation

Download:
andy.jgknet.de/cpp/files/bcc32pch26InstallDev8.zip


--
Regards,

Andreas Hausladen
(andy.jgknet.de/blog)
 
 

Re:Re: bcc32pch 2.6dev 8

Zhou Fan wrote:
Quote
Error:
Could not copy *.map to ....
I do not copy any .map file. Where does this error message display?
--
Regards,
Andreas Hausladen
(andy.jgknet.de/blog)
 

Re:Re: bcc32pch 2.6dev 8

Hello Andreas,
tried it, but again loading the last desktop doesn't function. The desktop
must have been saved correctly, because I first closed BCB with dev255 or
without bcc32pch and then at first attempt to start BCB with dev8, the wrong
one opens.
The compiler now shows all warnings instead of the selected ones (only when
the Replacement compiler is used).
Greetings,
Harald
 

{smallsort}

Re:Re: bcc32pch 2.6dev 8

Hi Andreas
I just wanted to report that there still seems to be a problem with
compiling projects that only have a dcu unit available instead of a .pas
file.
Is this on your todo list or should I work on finding a workaround.?
Thanks for all you have done so far.
Des
 

Re:Re: bcc32pch 2.6dev 8

"Harald Plontke" < XXXX@XXXXX.COM >wrote in message
Quote
The compiler now shows all warnings instead of the selected ones (only
when
the Replacement compiler is used).
I get this too.
I also had a new bcc32pch error (I can't remember the wording) which
suggested I turn on detailed logging. The detailed logging didn't show an
error and now the initial error has gone. I wonder if this is something to
do with incremental linking failing?
Regards
Des
 

Re:Re: bcc32pch 2.6dev 8

Des O'Toole wrote:
Quote
I just wanted to report that there still seems to be a problem with
compiling projects that only have a dcu unit available instead of a .pas
file.
Is BCB able to handle .dcu files? At least there must by a .obj and a .hpp
file. Because with a single .dcu BCB is not able to do anything. So what
should I do with a .dcu? Should I rename it to .obj before linking?
--
Regards,
Andreas Hausladen
(andy.jgknet.de/blog)
 

Re:Re: bcc32pch 2.6dev 8

Andreas Hausladen wrote:
Quote
Should I rename it
Read: "Should I change the file extension of the filename string"
--
Regards,
Andreas Hausladen
(andy.jgknet.de/blog)
 

Re:Re: bcc32pch 2.6dev 8

Hi Andreas
"Andreas Hausladen" < XXXX@XXXXX.COM >wrote in
message news:44203f84$ XXXX@XXXXX.COM ...
Quote
Des O'Toole wrote:

>I just wanted to report that there still seems to be a problem with
>compiling projects that only have a dcu unit available instead of a .pas
>file.

Is BCB able to handle .dcu files? At least there must by a .obj and a .hpp
file. Because with a single .dcu BCB is not able to do anything. So what
should I do with a .dcu? Should I rename it to .obj before linking?
The project has an entry for a .pas file. In an installation directory there
is also a read-only .obj file, a .hpp and a .dcu file. I presumed that the
presence of the .dcu meant that the compiler didn't complain about the
missing .pas file and used the precompiled .obj instead. I don't know if
this is correct, or if this is a common method of distributing non-source
delphi components. But this setup works fine with a normal Builder setup and
also worked with B32P until the release of Bcc32pch 2.67.
HTH
Regards
Des
 

Re:Re: bcc32pch 2.6dev 8

I see no problem with a .obj file in the project manager.
Project1.exe
- Project1.res
- Prkect1.cpp
- Unit1.cpp
- Unit2.cpp
- TestUnit.obj << the TestUnit.pas was moved away
"C:\Borland\CBuilder6\Bin\bcc32ide.exe" -Od
-H=C:\Borland\CBUILD~1\lib\vcl60.csm -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi-
-c -tW -tWM -w-par
-I"..;argusedtest;C:\Borland\CBUILD~1\include;C:\Borland\CBUILD~1\include\v
cl;C:\Borland\CBuilder6\Include;C:\Bo
rland\CBuilder6\Include\Vcl" -D_DEBUG -D_RTLDLL;NO_STRICT;USEPACKAGES -n
$(CPPFILES)
Project1_pch.h.cpp:
Unit1.cpp:
Loaded pre-compiled headers
Project1.cpp:
Loaded pre-compiled headers
Unit2.cpp:
Loaded pre-compiled headers
4 files compiled in 1.11 seconds
"C:\Borland\CBuilder6\Bin\ilink32.exe" -D"" -aa -Tpe -x -Gn -v
-L"..;argusedtest;C:\Borland\CBUILD~1\Projects\Lib;C:\Borland\CBUILD~1\lib\
obj;C:\Borland\CBUILD~1\lib;C:\Borland\CBUILD~1\lib\debug" -l""
Project1.obj Unit1.obj Unit2.obj
TestUnit.obj,C:\Borland\CBuilder6\Projects\arguse
dtest\Project1.exe,, $(LIBFILES),,$(RESFILES)
Turbo Incremental Link 5.60 Copyright (c) 1997-2002 Borland
*** Finished.***
--
Regards,
Andreas Hausladen
(www.kylix-patch.de.vu - unofficial Kylix 3 patches)
(andy.jgknet.de/blog)
 

Re:Re: bcc32pch 2.6dev 8

"Des O'Toole" <des>wrote in message news: XXXX@XXXXX.COM ...
Quote

I also had a new bcc32pch error (I can't remember the wording) which
suggested I turn on detailed logging. The detailed logging didn't show an
error and now the initial error has gone. I wonder if this is something to
do with incremental linking failing?
The message was 'Commandline tool returned an errorcode. Use the detailed
message dialog for further details.'
Des
 

Re:Re: bcc32pch 2.6dev 8

"Andreas Hausladen" < XXXX@XXXXX.COM >wrote in
message news: XXXX@XXXXX.COM ...
Quote
I see no problem with a .obj file in the project manager.

That seems to work fine, many thanks.
Des
 

Re:Re: bcc32pch 2.6dev 8

Could not copy
"..\bcc32pch26InstallDev8\bcc32pch\data\bcc32pchPlugin100.map" to
"c:\bds4\bin\bcc32pchPlugin100.map"
"Andreas Hausladen" < XXXX@XXXXX.COM >
??????:441fa952$ XXXX@XXXXX.COM ...
Quote
Zhou Fan wrote:

>Error:
>Could not copy *.map to ....

I do not copy any .map file. Where does this error message display?

--
Regards,

Andreas Hausladen
(andy.jgknet.de/blog)
 

Re:Re: bcc32pch 2.6dev 8

When run bcc32pchInstall.exe
MessageBox :
Could not copy
"..\bcc32pch26InstallDev8\bcc32pch\data\bcc32pchPlugin100.map" to
"c:\bds4\bin\bcc32pchPlugin100.map"
"Andreas Hausladen" < XXXX@XXXXX.COM >
??????:441fa952$ XXXX@XXXXX.COM ...
Quote
Zhou Fan wrote:

>Error:
>Could not copy *.map to ....

I do not copy any .map file. Where does this error message display?

--
Regards,

Andreas Hausladen
(andy.jgknet.de/blog)
 

Re:Re: bcc32pch 2.6dev 8

That is already fixed in the 2.6dev 10:
andy.jgknet.de/cpp/files/bcc32pch26InstallDev10.zip
--
Regards,
Andreas Hausladen
(andy.jgknet.de/blog)