Board index » cppbuilder » bds2006 ==> cb2007 trial proj upgrade issues 3

bds2006 ==> cb2007 trial proj upgrade issues 3


2007-07-24 04:48:13 AM
cppbuilder58
Linking of a small .dll project appears to not be finding VCL, RTL routines,
even though packages selection in project options shows that both VCL and
RTL are specified - build with runtime packages option is checked.
Suggestions please. Thanks.
[ILINK32 Error] Error: Unresolved external '__fastcall
Classes::TThread::~TThread()' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
System::TObject::~TObject()' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
Classes::TThread::Terminate()' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
Classes::TThread::Resume()' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
Classes::TThread::WaitFor()' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__tpdsc__ Classes::TThread'
referenced from C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external 'Classes::TThread::' referenced
from C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
System::TObject::SafeCallException(System::TObject *, void *)' referenced
from C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
Classes::TThread::AfterConstruction()' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
System::TObject::BeforeDestruction()' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
System::TObject::Dispatch(void *)' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
System::TObject::DefaultHandler(void *)' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
System::TObject::NewInstance(System::TMetaClass *)' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
System::TObject::FreeInstance()' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
Classes::TThread::DoTerminate()' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
Classes::TThread::Synchronize(void __fastcall __closure(*)())' referenced
from C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
[ILINK32 Error] Error: Unresolved external '__fastcall
Classes::TThread::TThread(bool)' referenced from
C:\ESTSVN\CB2007\EST\COMNLIB\DEBUG_BUILD\THREADPOOL.OBJ
 
 

Re:bds2006 ==> cb2007 trial proj upgrade issues 3

In article < XXXX@XXXXX.COM >,
"dhoke" < XXXX@XXXXX.COM >wrote:
Quote
Linking of a small .dll project appears to not be finding VCL, RTL routines,
even though packages selection in project options shows that both VCL and
RTL are specified - build with runtime packages option is checked.

Suggestions please. Thanks.
This is a project importation error. Is this dll supposed to use the
VCL? if not, there should be a line in the project file like this:
<NoVCL>true</NoVCL>
If it is supposed to use the VCL, I would check the library paths and
the linker command line to make sure that the right files and paths are
being used.
--
-David Dean
CodeGear C++ QA Engineer
<blogs.codegear.com/ddean/>
 

Re:bds2006 ==> cb2007 trial proj upgrade issues 3

1)Yes it is supposed to use VCL, but only (currently) because it is
dependent on TThread, but it does not have any forms in it. It is a utility
.dll, currently with no visual items in it.
2)The (converted) project does contain the line
<NoVCL>true</NoVCL>
3)The project does build properly under bds2006.
4)I deleted that line with an external editor from the .cbproj file, closed
bds, re-opened BDS with the modified .cbproj file, and it compiled and
linked without error.
Thanks.
"David Dean [CodeGear]" < XXXX@XXXXX.COM >wrote in message
Quote
In article < XXXX@XXXXX.COM >,
"dhoke" < XXXX@XXXXX.COM >wrote:

>Linking of a small .dll project appears to not be finding VCL, RTL
>routines,
>even though packages selection in project options shows that both VCL and
>RTL are specified - build with runtime packages option is checked.
>
>Suggestions please. Thanks.

This is a project importation error. Is this dll supposed to use the
VCL? if not, there should be a line in the project file like this:
<NoVCL>true</NoVCL>
If it is supposed to use the VCL, I would check the library paths and
the linker command line to make sure that the right files and paths are
being used.

--
-David Dean
CodeGear C++ QA Engineer
<blogs.codegear.com/ddean/>
 

{smallsort}

Re:bds2006 ==> cb2007 trial proj upgrade issues 3

In article <46a53476$ XXXX@XXXXX.COM >,
"dhoke" < XXXX@XXXXX.COM >wrote:
Quote
4)I deleted that line with an external editor from the .cbproj file, closed
bds, re-opened BDS with the modified .cbproj file, and it compiled and
linked without error.
Glad to hear that it worked out. I'll be sure to mention your case to
the guy that works on the project importer.
--
-David Dean
CodeGear C++ QA Engineer
<blogs.codegear.com/ddean/>