commandline compile and install of packages with BCB32


2007-02-27 12:13:25 AM
cppbuilder53
I have read the other posts and searched around some, but most of them
are not quite clear enough for understanding wholely, so here is what
I posted elsewhere.
TIA
"
So my company uses a variety of Components/Packages, that every time a
new engineer gets setup with the compiler (Borland 6.0) we have to go
through a process of copy-paste all the header files to the Borland
Header directory, then open, compile and Install each Package.
I would like to do this via the command line, but I just cannot figure
out how to get it done.
I am supposed to be able to use the -Tpp command line arguement to
accomplish this, but when I do it on the .cpp files, I get this error:
Error: Unresolved external '_main' referenced from C:\PROGRAM FILES
\BORLAND\CBUI
LDER6\LIB\C0X32.OBJ
Should I be running this on the .bpk file instead of the .cpp file? I
have tried this and get a bunch of arrors such as...
Error E2040 TFileSearch.bpk 1: Declaration terminated incorrectly
Warning W8098 TFileSearch.bpk 1: Multi-character character constant
Warning W8098 TFileSearch.bpk 1: Multi-character character constant
Error E2129 TFileSearch.bpk 1: Character constant too long (or empty)
Error E2380 TFileSearch.bpk 31: Unterminated string or character
constant
Error E2380 TFileSearch.bpk 32: Unterminated string or character
constant
Error E2223 TFileSearch.bpk 75: Too many decimal points
Error E2223 TFileSearch.bpk 75: Too many decimal points
Error E2223 TFileSearch.bpk 81: Too many decimal points
Error E2223 TFileSearch.bpk 81: Too many decimal points
Error E2206 TFileSearch.bpk 85: Illegal character '$' (0x24)
Error E2206 TFileSearch.bpk 85: Illegal character '\' (0x5c)
Error E2206 TFileSearch.bpk 85: Illegal character '\' (0x5c)
*** 11 errors in Compile ***
Any help is well appreciated.
Thanks,
Rich
"