Page 1 of 1
Link failure with a project group
Posted: Tue Aug 17, 2010 9:30 am
by jgp
Hi,
I'm trying out TwineCompile - fantastic speed up. But when building a project group or a single project within a group it often fails at the link stage, if I then do a make it links fine.
This is the error:
[C++ Error] TCTargets10.targets(605, 3): MSB6006 "bcc32" exited with code 1.
The editor then shows this line highlighted in a file TCTargets10.targets:
<Target Name="TCPerformLink" DependsOnTargets="_ResolveOutput;_CheckLinkDependencies">
I did try to attach the complete .targets file but failed.
Any ideas?
Thanks,
Jon Payne
Re: Link failure with a project group
Posted: Tue Aug 17, 2010 9:33 am
by jomitech
Can you post the last 100 lines or so of the console output from TwineCompile (it's the Console Output tab in the compile progress window)?
Re: Link failure with a project group
Posted: Tue Aug 17, 2010 10:11 am
by jgp
Wow, that was quick!
Preparing...
Building...
Build started 17/08/2010 16:06:57.
__________________________________________________
Project "C:\Projects\ProductTree\RemoteDB2010\RemoteDB.cbproj" (Build target(s)):
Target CleanLinkerStateFiles:
Deleting file ".\RemoteDB.ilc".
Deleting file ".\RemoteDB.ild".
Deleting file ".\RemoteDB.ilf".
Deleting file ".\RemoteDB.ils".
Compiling C++ files...
Target MakeObjs:
Target TCCompile:
C:\Program Files (x86)\JomiTech\TwineCompile\mtbcc32.exe -ide2010 -alias"C:\Projects\ProductTree\RemoteDB2010\RemoteDB.cpp"="C:\Users\JONPAY~1\AppData\Local\Temp\TwineCompile\RemoteDB.cpp*1022785754"; -priority0 -D_DEBUG;V2_8;V2_9;LONG_FILE_NAME;VCL_IOSTREAM;HGL_USE_LOG_EXCEPTION -nDebug -IDBBenchmark;"..\RemoteDB 2006";"C:\Program Files (x86)\Embarcadero\RAD Studio\7.0\include\boost_1_39\boost\tr1\tr1";"c:\program files (x86)\embarcadero\rad studio\7.0\include";"c:\program files (x86)\embarcadero\rad studio\7.0\include\dinkumware";"c:\program files (x86)\embarcadero\rad studio\7.0\include\vcl";"C:\Program Files (x86)\Embarcadero\RAD Studio\7.0\include\boost_1_39";c:\projects\producttree\include;c:\projects\producttree\EventClasses;c:\projects\producttree\IPCClasses;c:\projects\producttree\NetworkClasses;c:\Projects\Utilities\SecurityLibrary;c:\projects\producttree\Tools;"c:\projects\producttree\include\include 2005";"c:\Projects\Utilities\File Transfer\File Transfer 2006";c:\Projects\Common\VCLUtils\LogException;"c:\program files (x86)\embarcadero\rad studio\7.0\ObjRepos\Cpp";"c:\program files (x86)\embarcadero\rad studio\7.0\include\Indy10";"c:\program files (x86)\embarcadero\rad studio\7.0\RaveReports\Lib";"C:\Program Files (x86)\Steema Software\TeeChart 8.06 for Delphi 2010\Delphi14\Include";"C:\Users\Jon Payne\Documents\tmssoftware\TMS Component Pack";"C:\Users\Jon Payne\Documents\tmssoftware\TMS Component Pack\Builder2010";"C:\Users\Jon Payne\Documents\tmssoftware\TMS Component Pack\xlsAdapter";"c:\projects\thirdparty\borlandcomponents\cb2010\TMS Instrumentation Workshop";"C:\Projects\ThirdParty\BorlandComponents\CB2010\TMS Instrumentation Workshop";"C:\Users\Jon Payne\Documents\tmssoftware\TMS Component Pack";"C:\Users\Jon Payne\Documents\tmssoftware\TMS Component Pack\Builder2010";"C:\Users\Jon Payne\Documents\tmssoftware\TMS Component Pack\xlsAdapter" -y -Q -k -5 -r- -c -xp -tWM -tW -Hs- -C8 -w! -wdef -w-par -wuse -Od -v -vi- RemoteDB.cpp clsRemoteDBBroadcasterThreadU.cpp clsRemoteDBMaintenanceU.cpp DBBenchmark\clsMediaThreadU.cpp clsRemoteDBDatabaseU.cpp clsRemoteDBMaintenanceSchedulerU.cpp clsRemoteDBProtectedStorageU.cpp clsRemoteDBSvrProxyU.cpp dmMasterU.cpp "..\RemoteDB 2006\clsFileTypeHelperU.cpp" clsRemoteDBProfilerThreadU.cpp dmMediaU.cpp frRemoteDBU.cpp "..\RemoteDB 2006\clsPathConfigU.cpp" "..\RemoteDB 2006\clsHercDbProxyU.cpp" clsHercDbProxy_36U.cpp clsPathConfigManager.cpp clsFTClientManager.cpp clsDBTransactionU.cpp
JomiTech TwineCompile 3.1 - Copyright JomiTech 2009. All Rights Reserved.
-- 30-Day Trial Version --
Compiling 19 files...
Starting executors...
C:\Projects\ProductTree\RemoteDB2010\RemoteDB.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
Embarcadero C++ 6.21 for Win32 Copyright (c) 1993-2009 Embarcadero Technologies, Inc.
RemoteDB.cpp: (0) 0 of 0
RemoteDB.cpp: (0) 1981 of 1981
RemoteDB.cpp: (0) 23719 of 23719
RemoteDB.cpp: (0) 109329 of 109329
RemoteDB.cpp: (0) 130695 of 130695
RemoteDB.cpp: (0) 138792 of 138792
RemoteDB.cpp: (0) 144866 of 144866
RemoteDB.cpp: (0) 165026 of 165026
RemoteDB.cpp: (0) 224508 of 224508
RemoteDB.cpp: (0) 265853 of 265853
RemoteDB.cpp: (0) 465661 of 465661
RemoteDB.cpp: (0) 494582 of 494582
RemoteDB.cpp: (0) 615021 of 615021
RemoteDB.cpp: (0) 808340 of 808340
C:\Projects\ProductTree\RemoteDB2010\clsRemoteDBDatabaseU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Projects\ProductTree\RemoteDB2010\clsRemoteDBMaintenanceU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Projects\ProductTree\RemoteDB2010\clsRemoteDBBroadcasterThreadU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Projects\ProductTree\RemoteDB2010\DBBenchmark\clsMediaThreadU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Projects\ProductTree\RemoteDB2010\clsRemoteDBMaintenanceSchedulerU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
clsRemoteDBProtectedStorageU.cpp: (0) 0 of 808340
C:\Projects\ProductTree\RemoteDB2010\dmMasterU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Projects\ProductTree\RemoteDB 2006\clsFileTypeHelperU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
Embarcadero C++ 6.21 for Win32 Copyright (c) 1993-2009 Embarcadero Technologies, Inc.
dmMasterU.cpp: (6) 0 of 0
Embarcadero C++ 6.21 for Win32 Copyright (c) 1993-2009 Embarcadero Technologies, Inc.
clsMediaThreadU.cpp: (3) 0 of 0
Embarcadero C++ 6.21 for Win32 Copyright (c) 1993-2009 Embarcadero Technologies, Inc.
clsRemoteDBMaintenanceU.cpp: (2) 0 of 0
Embarcadero C++ 6.21 for Win32 Copyright (c) 1993-2009 Embarcadero Technologies, Inc.
clsRemoteDBBroadcasterThreadU.cpp: (1) 0 of 0
Embarcadero C++ 6.21 for Win32 Copyright (c) 1993-2009 Embarcadero Technologies, Inc.
clsFileTypeHelperU.cpp: (7) 0 of 0
Embarcadero C++ 6.21 for Win32 Copyright (c) 1993-2009 Embarcadero Technologies, Inc.
clsRemoteDBDatabaseU.cpp: (4) 0 of 0
Embarcadero C++ 6.21 for Win32 Copyright (c) 1993-2009 Embarcadero Technologies, Inc.
clsRemoteDBMaintenanceSchedulerU.cpp: (5) 0 of 0
dmMasterU.cpp: (6) 464575 of 464575
clsRemoteDBMaintenanceU.cpp: (2) 482082 of 482082
clsMediaThreadU.cpp: (3) 470969 of 470969
clsRemoteDBBroadcasterThreadU.cpp: (1) 342959 of 342959
clsRemoteDBMaintenanceSchedulerU.cpp: (5) 475620 of 475620
clsRemoteDBDatabaseU.cpp: (4) 480271 of 480271
...stuff removed here...
clsRemoteDBSvrProxyU.cpp: (0) 1013928 of 2844404
clsRemoteDBSvrProxyU.cpp: (0) 1049124 of 2879600
clsDBTransactionU.cpp: (0) 0 of 2879600
clsDBTransactionU.cpp: (0) 973421 of 3853021
Compiled 19 files in 37.00 secs.
Errors during compile.
C:\Program Files (x86)\JomiTech\TwineCompile\TCTargets10.targets(605,3): error MSB6006: "bcc32" exited with code 1.
Done building target "TCCompile" in project "RemoteDB.cbproj" -- FAILED.
Done building target "MakeObjs" in project "RemoteDB.cbproj" -- FAILED.
Done building project "RemoteDB.cbproj" -- FAILED.
Build FAILED.
C:\Projects\ProductTree\RemoteDB2010\RemoteDB.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Projects\ProductTree\RemoteDB2010\clsRemoteDBDatabaseU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Projects\ProductTree\RemoteDB2010\clsRemoteDBMaintenanceU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Projects\ProductTree\RemoteDB2010\clsRemoteDBBroadcasterThreadU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Projects\ProductTree\RemoteDB2010\DBBenchmark\clsMediaThreadU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Projects\ProductTree\RemoteDB2010\clsRemoteDBMaintenanceSchedulerU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Projects\ProductTree\RemoteDB2010\dmMasterU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Projects\ProductTree\RemoteDB 2006\clsFileTypeHelperU.cpp(1,1): C++ warning TC001: TwineCompile 30-day Trial. 12 day(s) left.
C:\Program Files (x86)\JomiTech\TwineCompile\TCTargets10.targets(605,3): error MSB6006: "bcc32" exited with code 1.
8 Warning(s)
1 Error(s)
Time Elapsed 00:00:41.14
Finished Build.
Re: Link failure with a project group
Posted: Thu Aug 19, 2010 3:58 am
by jgp
Anything else I can do to help? Not pestering, honest
Cheers,
Jon
Re: Link failure with a project group
Posted: Thu Aug 19, 2010 7:08 am
by jomitech
Sorry for the delay in replying. For some reason, mtbcc32.exe is returning a failure code. Can you do the following:
1. Create a DWORD value called Logging, set to 1, in HKEY_CURRENT_USER\Software\JomiTech\TwineCompiler
2. Reproduce the failure
3. Zip and send the log files the following folder to support at jomitech dot com:
Vista/7:
C:\Users\<User Name>\AppData\Local\TwineCompile
XP:
C:\Documents and Settings\<User Name>\Local Settings\Application Data\TwineCompile
Re: Link failure with a project group
Posted: Fri Aug 20, 2010 2:38 am
by jgp
Hi Jon. Thanks. Logs just emailed.
Re: Link failure with a project group
Posted: Tue Aug 24, 2010 9:42 am
by jomitech
The problem is that your project has "Treat Warnings As Errors" set to true, so the trial warnings are regarded as errors.
Re: Link failure with a project group
Posted: Wed Aug 25, 2010 5:03 am
by jgp
Doh! I feel a little stupid
Thanks very much Jon.
Ok, now that's sorted I'll let the devs here know about TwineCompile.
Cheers,
Jon
Re: Link failure with a project group
Posted: Wed Aug 25, 2010 10:37 am
by jomitech
Thanks - sorry for the delay in getting that answer to you.