TChart 8.03 Install changes Cproj to .Net type
Posted: Mon Sep 08, 2008 12:37 pm
Hi Narcís:
I moved the issue to the forum now for easier tracking. When upgrading from a well working TChart 8.02 to TChart 8.03 for some reason the C++ based projects with TChart stopped compiling and the projects are treated by the RAD 2007 IDE as .Net projects instead of being C++ projects. The only thing I did was install 8.03 and adjusted the PATH and LIBs to point to the correct places. The environment variable are correct too. After reinstalling 8.02 everything works as it should.
Below the output after installing 8.03 and below that the same project with 8.02:
x x x8.03 x x x
Build started 9/8/2008 11:09:00 AM.
__________________________________________________
Project "J:\TeeChartBug\teechartbug.cbproj" (Make target(s)):
Target MakeObjs:
Target BccCompile:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Borland.Cpp.Targets(883,3): error MSB6001: Invalid command line switch for "bcc32". Illegal quote passed to the command line switch named "-I". The value was ["C:\Program Files\Steema Software\TeeChart 8.03 for Delphi 2007\Delphi11\Lib\..\Include"].
Done building target "BccCompile" in project "teechartbug.cbproj" -- FAILED.
Done building target "MakeObjs" in project "teechartbug.cbproj" -- FAILED.
Done building project "teechartbug.cbproj" -- FAILED.
Build FAILED.
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Borland.Cpp.Targets(883,3): error MSB6001: Invalid command line switch for "bcc32". Illegal quote passed to the command line switch named "-I". The value was ["C:\Program Files\Steema Software\TeeChart 8.03 for Delphi 2007\Delphi11\Lib\..\Include"].
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.06
x x x 8.02 x x x
Build started 9/8/2008 12:34:28 PM.
__________________________________________________
Project "J:\TeeChartBug\teechartbug.cbproj" (Make target(s)):
Target MakeObjs:
Target BccCompile:
c:\program files\codegear\rad studio\5.0\bin\bcc32.exe -D_DEBUG;NO_STRICT -I"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\obj";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib ";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\obj ";"c:\program files\codegear\rad studio\5.0\include";"c:\program files\codegear\rad studio\5.0\include\dinkumware";"c:\program files\codegear\rad studio\5.0\include\vcl";J:\TeeChartBug;"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include";"c:\program files\codegear\rad studio\5.0\include\Indy10";"c:\program files\codegear\rad studio\5.0\RaveReports\Lib";"C:\Program Files\CodeGear\RAD Studio\5.0\\Include\wxWidgets";"c:\program files\codegear\rad studio\5.0\Include\Vcl";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include" -y -v -vi- -k -r- -c -tWM -tW -H=Debug\teechartbug.pch -oDebug\Unit1.obj -w-par -Od -vi- -v Unit1.cpp
Target BccCompile:
c:\program files\codegear\rad studio\5.0\bin\bcc32.exe -D_DEBUG;NO_STRICT -I"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\obj";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib ";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\obj ";"c:\program files\codegear\rad studio\5.0\include";"c:\program files\codegear\rad studio\5.0\include\dinkumware";"c:\program files\codegear\rad studio\5.0\include\vcl";J:\TeeChartBug;"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include";"c:\program files\codegear\rad studio\5.0\include\Indy10";"c:\program files\codegear\rad studio\5.0\RaveReports\Lib";"C:\Program Files\CodeGear\RAD Studio\5.0\\Include\wxWidgets";"c:\program files\codegear\rad studio\5.0\Include\Vcl";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include" -y -v -vi- -k -r- -c -tWM -tW -H=Debug\teechartbug.pch -oDebug\teechartbug.obj -w-par -Od -vi- -v teechartbug.cpp
Target _PerformLink:
c:\program files\codegear\rad studio\5.0\bin\ilink32.exe -L"c:\program files\codegear\rad studio\5.0\lib\debug";"c:\program files\codegear\rad studio\5.0\lib";"c:\program files\codegear\rad studio\5.0\lib\obj";"c:\program files\codegear\rad studio\5.0\lib\psdk";J:\TeeChartBug;"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\Obj";"c:\program files\codegear\rad studio\5.0\lib";"c:\program files\codegear\rad studio\5.0\lib\Indy10";"c:\program files\codegear\rad studio\5.0\RaveReports\Lib";"C:\Program Files\CodeGear\RAD Studio\5.0\\Lib\wxWidgets";"J:\DEVELO~1\COMPON~1\VCL\RAD200X\JVCL320\jcl\lib\d11";J:\Development\Components\VCL\RAD200X\JVCL320\jvcl\lib\D11;"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\Obj";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\Obj";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib";"C:\Documents and Settings\All Users\Documents\RAD Studio\5.0\DCP";Debug -j"c:\program files\codegear\rad studio\5.0\lib\debug";"c:\program files\codegear\rad studio\5.0\lib";"c:\program files\codegear\rad studio\5.0\lib\obj";"c:\program files\codegear\rad studio\5.0\lib\psdk";J:\TeeChartBug;"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\Obj";"c:\program files\codegear\rad studio\5.0\lib";"c:\program files\codegear\rad studio\5.0\lib\Indy10";"c:\program files\codegear\rad studio\5.0\RaveReports\Lib";"C:\Program Files\CodeGear\RAD Studio\5.0\\Lib\wxWidgets";"J:\DEVELO~1\COMPON~1\VCL\RAD200X\JVCL320\jcl\lib\d11";J:\Development\Components\VCL\RAD200X\JVCL320\jvcl\lib\D11;"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\Obj";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\Obj";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib";"C:\Documents and Settings\All Users\Documents\RAD Studio\5.0\DCP";Debug -lDebug -v -Gn -GA"J:\TeeChartBug\vfs845.tmp"="J:\TeeChartBug\teechartbug.res" -GA"J:\TeeChartBug\vfs846.tmp"="J:\TeeChartBug\Unit1.dfm" -aa c0w32.obj memmgr.lib sysinit.obj Debug\teechartbug.obj Debug\Unit1.obj , Debug\teechartbug.exe , Debug\teechartbug.map , rtl.lib vcl.lib TeePro811.lib TeeUI811.lib Tee811.lib vclx.lib import32.lib cp32mt.lib , , J:\TeeChartBug\vfs845.tmp
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:06.50
I moved the issue to the forum now for easier tracking. When upgrading from a well working TChart 8.02 to TChart 8.03 for some reason the C++ based projects with TChart stopped compiling and the projects are treated by the RAD 2007 IDE as .Net projects instead of being C++ projects. The only thing I did was install 8.03 and adjusted the PATH and LIBs to point to the correct places. The environment variable are correct too. After reinstalling 8.02 everything works as it should.
Below the output after installing 8.03 and below that the same project with 8.02:
x x x8.03 x x x
Build started 9/8/2008 11:09:00 AM.
__________________________________________________
Project "J:\TeeChartBug\teechartbug.cbproj" (Make target(s)):
Target MakeObjs:
Target BccCompile:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Borland.Cpp.Targets(883,3): error MSB6001: Invalid command line switch for "bcc32". Illegal quote passed to the command line switch named "-I". The value was ["C:\Program Files\Steema Software\TeeChart 8.03 for Delphi 2007\Delphi11\Lib\..\Include"].
Done building target "BccCompile" in project "teechartbug.cbproj" -- FAILED.
Done building target "MakeObjs" in project "teechartbug.cbproj" -- FAILED.
Done building project "teechartbug.cbproj" -- FAILED.
Build FAILED.
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Borland.Cpp.Targets(883,3): error MSB6001: Invalid command line switch for "bcc32". Illegal quote passed to the command line switch named "-I". The value was ["C:\Program Files\Steema Software\TeeChart 8.03 for Delphi 2007\Delphi11\Lib\..\Include"].
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.06
x x x 8.02 x x x
Build started 9/8/2008 12:34:28 PM.
__________________________________________________
Project "J:\TeeChartBug\teechartbug.cbproj" (Make target(s)):
Target MakeObjs:
Target BccCompile:
c:\program files\codegear\rad studio\5.0\bin\bcc32.exe -D_DEBUG;NO_STRICT -I"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\obj";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib ";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\obj ";"c:\program files\codegear\rad studio\5.0\include";"c:\program files\codegear\rad studio\5.0\include\dinkumware";"c:\program files\codegear\rad studio\5.0\include\vcl";J:\TeeChartBug;"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include";"c:\program files\codegear\rad studio\5.0\include\Indy10";"c:\program files\codegear\rad studio\5.0\RaveReports\Lib";"C:\Program Files\CodeGear\RAD Studio\5.0\\Include\wxWidgets";"c:\program files\codegear\rad studio\5.0\Include\Vcl";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include" -y -v -vi- -k -r- -c -tWM -tW -H=Debug\teechartbug.pch -oDebug\Unit1.obj -w-par -Od -vi- -v Unit1.cpp
Target BccCompile:
c:\program files\codegear\rad studio\5.0\bin\bcc32.exe -D_DEBUG;NO_STRICT -I"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\obj";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib ";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\obj ";"c:\program files\codegear\rad studio\5.0\include";"c:\program files\codegear\rad studio\5.0\include\dinkumware";"c:\program files\codegear\rad studio\5.0\include\vcl";J:\TeeChartBug;"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include";"c:\program files\codegear\rad studio\5.0\include\Indy10";"c:\program files\codegear\rad studio\5.0\RaveReports\Lib";"C:\Program Files\CodeGear\RAD Studio\5.0\\Include\wxWidgets";"c:\program files\codegear\rad studio\5.0\Include\Vcl";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Include" -y -v -vi- -k -r- -c -tWM -tW -H=Debug\teechartbug.pch -oDebug\teechartbug.obj -w-par -Od -vi- -v teechartbug.cpp
Target _PerformLink:
c:\program files\codegear\rad studio\5.0\bin\ilink32.exe -L"c:\program files\codegear\rad studio\5.0\lib\debug";"c:\program files\codegear\rad studio\5.0\lib";"c:\program files\codegear\rad studio\5.0\lib\obj";"c:\program files\codegear\rad studio\5.0\lib\psdk";J:\TeeChartBug;"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\Obj";"c:\program files\codegear\rad studio\5.0\lib";"c:\program files\codegear\rad studio\5.0\lib\Indy10";"c:\program files\codegear\rad studio\5.0\RaveReports\Lib";"C:\Program Files\CodeGear\RAD Studio\5.0\\Lib\wxWidgets";"J:\DEVELO~1\COMPON~1\VCL\RAD200X\JVCL320\jcl\lib\d11";J:\Development\Components\VCL\RAD200X\JVCL320\jvcl\lib\D11;"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\Obj";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\Obj";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib";"C:\Documents and Settings\All Users\Documents\RAD Studio\5.0\DCP";Debug -j"c:\program files\codegear\rad studio\5.0\lib\debug";"c:\program files\codegear\rad studio\5.0\lib";"c:\program files\codegear\rad studio\5.0\lib\obj";"c:\program files\codegear\rad studio\5.0\lib\psdk";J:\TeeChartBug;"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\Obj";"c:\program files\codegear\rad studio\5.0\lib";"c:\program files\codegear\rad studio\5.0\lib\Indy10";"c:\program files\codegear\rad studio\5.0\RaveReports\Lib";"C:\Program Files\CodeGear\RAD Studio\5.0\\Lib\wxWidgets";"J:\DEVELO~1\COMPON~1\VCL\RAD200X\JVCL320\jcl\lib\d11";J:\Development\Components\VCL\RAD200X\JVCL320\jvcl\lib\D11;"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\Obj";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib\Obj";"C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 2007\Delphi11\Lib";"C:\Documents and Settings\All Users\Documents\RAD Studio\5.0\DCP";Debug -lDebug -v -Gn -GA"J:\TeeChartBug\vfs845.tmp"="J:\TeeChartBug\teechartbug.res" -GA"J:\TeeChartBug\vfs846.tmp"="J:\TeeChartBug\Unit1.dfm" -aa c0w32.obj memmgr.lib sysinit.obj Debug\teechartbug.obj Debug\Unit1.obj , Debug\teechartbug.exe , Debug\teechartbug.map , rtl.lib vcl.lib TeePro811.lib TeeUI811.lib Tee811.lib vclx.lib import32.lib cp32mt.lib , , J:\TeeChartBug\vfs845.tmp
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:06.50