I'm building a console application with Embarcadero RAD Studio 2010 (C++Builder personality). The FB actions I used to do this is the "C++Builder 2006/7/8 Project" which has a drop-down for "C++Builder 2010" for the compiler version. I point to the .cbproj project file and hit run.
The build fails on the link with a couple of errors, a typical one being:
G:\Borland\RAD Studio 7\Embarcadero\RAD Studio\7.0\Bin\CodeGear.Cpp.Targets(2175,3): error : Error: Unresolved external '__InitVCL' referenced from G:\BORLAND\RAD STUDIO 7\EMBARCADERO\RAD STUDIO\7.0\LIB\CP32MT.LIB|crtlvcl
I suspec that this is because the VCL is cropping up somewhere but since this is a console application the VCL is not wanted.
Naturally, if I build the project via the IDE it compiles file, and if I build from a DOS command line using:
bds -pCBuilder -b project.cbproj
that also works fine. Is FB making an assumption it shouldn't when it uses the bcc32 comand line?