TCompile fails on command line Win7/64 bit
Posted: Tue Jun 07, 2011 8:25 am
Hi!
I have just migrated from WinXP32 to Win7/64 bit. Everything works fine - except twinecompile on on command line!
Twinecompile works great within the IDE, everything compiles very fast. But when trying to do the same on command line, an error occurs as shown by the log snippet below.
My System:
System: Intel i5-2400, 8GB RAM and a lot of space...
Windows 7 64 bit, German
Codegear RAD Studio 2009 Professional
The Log shows that no compiler executable is called. Look for the "-ide2009" option, there should be an executable in front of... When compiling inside the IDE there will be called the mtbcc32.exe correctly, but not at the command line. I was not able to figure out in which way the command line for the target is created or called.
I think there is an environment variable not correctly set. I also installed twinecompile to "C:\TwineCompile" to make shure that the spaces in "C:\programm files (x86)" are not causing the problem.
Thanks for your help
Greetings from germany,
Marco
PS: The log snippet:
-----------------------------------------------------
------------------
I have just migrated from WinXP32 to Win7/64 bit. Everything works fine - except twinecompile on on command line!
Twinecompile works great within the IDE, everything compiles very fast. But when trying to do the same on command line, an error occurs as shown by the log snippet below.
My System:
System: Intel i5-2400, 8GB RAM and a lot of space...
Windows 7 64 bit, German
Codegear RAD Studio 2009 Professional
The Log shows that no compiler executable is called. Look for the "-ide2009" option, there should be an executable in front of... When compiling inside the IDE there will be called the mtbcc32.exe correctly, but not at the command line. I was not able to figure out in which way the command line for the target is created or called.
I think there is an environment variable not correctly set. I also installed twinecompile to "C:\TwineCompile" to make shure that the spaces in "C:\programm files (x86)" are not causing the problem.
Thanks for your help
Greetings from germany,
Marco
PS: The log snippet:
-----------------------------------------------------
Code: Select all
Ziel "TCCompile" in Datei "C:\TwineCompile\TCTargets09.targets":
Die TCCompile-Aufgabe aus der C:\Program Files (x86)\CodeGear\RAD Studio\6.0\bin\JTBuildInterface09.dll-Assembly wird verwendet.
TCCompile-Aufgabe
Befehl:
-ide2009 -pch="DHDInfoFormatpch.h" -dep -D_DEBUG;STRICT;;INFORM_DIRECT -nDebug_Build -I"C:\Program Files (x86)\CodeGear\RAD Studio\6.0\include";"C:\Program Files (x86)\CodeGear\RAD Studio\6.0\include\vcl";"C:\Program Files (x86)\CodeGear\RAD Studio\6.0\include\dinkumware";..\DHDUtil;"C:\Program Files (x86)\CodeGear\RAD Studio\6.0\ObjRepos\Cpp";"C:\Program Files (x86)\CodeGear\RAD Studio\6.0\include\Indy10" -y -Q -b -k -6 -r- -c -xp -tWM -tU -tW -Vx -Ve -He- -HiDHDInfoFormatpch.h -Hc -Hh=DHDInfoFormatpch.h -w-par -Od -v -vi- -H=Debug_Build\DHDInfoForm.pch -H DHDInfoMsgForm.cpp DHDInfoFormat.cpp DHDInfoDefinitions.cpp DHDInfoStackCount.cpp DHDInfoWatchDog.cpp DHDInfoIcons.cpp DHDProgressMonitor.cpp
Die TCCompile-Aufgabe verwendet "bcc32" von "".
C:\TwineCompile\TCTargets09.targets(98,5): error MSB4018: Unerwarteter Fehler bei der TCCompile-Aufgabe.
C:\TwineCompile\TCTargets09.targets(98,5): error MSB4018: System.InvalidOperationException: Der Prozess kann nicht gestartet werden, da ein Dateiname nicht angegeben wurde.
C:\TwineCompile\TCTargets09.targets(98,5): error MSB4018: bei System.Diagnostics.Process.Start()
C:\TwineCompile\TCTargets09.targets(98,5): error MSB4018: bei Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String
commandLineCommands)
C:\TwineCompile\TCTargets09.targets(98,5): error MSB4018: bei Microsoft.Build.Utilities.ToolTask.Execute()
C:\TwineCompile\TCTargets09.targets(98,5): error MSB4018: bei Borland.Build.Tasks.Common.BaseTask.Execute()
C:\TwineCompile\TCTargets09.targets(98,5): error MSB4018: bei Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
Ausführen der TCCompile-Aufgabe beendet - Fehler bei der Ausführung.