Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1963

Unresolved external errors while using TList in C++

$
0
0

I'm trying to compile a project in RAD Studio 10.2.2 and having link errors.  The project compiles without these errors under Rad Studio 2007.  The problem is that the linker cannot resolve the references to the VCL class TList.  I could find no information about the "proper" way to do this in 10.2.2.  In filespace.cpp, I have the following lines:

#include
#include

What else do I need to add to my source or project to resolve this?

Here are the errors from the attempted build:

 

[ilink32 Error] Error: Unresolved external '__fastcall System::Classes::TList::Get(int)' referenced from K:\SOURCE\CPPLIBS\WIN32\DEBUG\FILESPACE.OBJ

[ilink32 Error] Error: Unresolved external '__fastcall System::Classes::TList::Delete(int)' referenced from K:\SOURCE\CPPLIBS\WIN32\DEBUG\FILESPACE.OBJ

[ilink32 Error] Error: Unresolved external 'System::Classes::TList::' referenced from K:\SOURCE\CPPLIBS\WIN32\DEBUG\FILESPACE.OBJ

[ilink32 Error] Error: Unresolved external '__fastcall System::Classes::TList::~TList()' referenced from K:\SOURCE\CPPLIBS\WIN32\DEBUG\FILESPACE.OBJ

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::~TObject()' referenced from K:\SOURCE\CPPLIBS\WIN32\DEBUG\FILESPACE.OBJ

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrAsg(System::AnsiStringT<0>&, System::AnsiStringT<0>)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrCat(System::AnsiStringT<0>&, System::AnsiStringT<0>)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrCat3(System::AnsiStringT<0>&, System::AnsiStringT<0>, System::AnsiStringT<0>)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrClr(void *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrCmp()' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrDelete(System::AnsiStringT<0>&, int, int)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrFromArray(System::AnsiStringT<0>&, char *, int, unsigned short)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrFromPChar(System::AnsiStringT<0>&, char *, unsigned short)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrFromUStr(System::AnsiStringT<0>&, System::UnicodeString, unsigned short)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrFromWChar(System::AnsiStringT<0>&, wchar_t, unsigned short)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrFromWStr(System::AnsiStringT<0>&, System::WideString, unsigned short)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrInsert(System::AnsiStringT<0>, System::AnsiStringT<0>&, int)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrSetLength(System::AnsiStringT<0>&, int, unsigned short)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall LStrFromPWCharLen(System::AnsiStringT<0>&, wchar_t *, int, unsigned short)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall CheckAutoResult(long)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall DynArrayRelease(void *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall DynArrayAddRef(void *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::InstanceSize()' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::InitInstance(void *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::ClassName()' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::ClassParent()' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::ClassInfo()' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::InheritsFrom(System::TMetaClass *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::MethodName(void *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::QualifiedClassName()' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::UnitName()' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::UnitScope()' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::MethodAddress(System::SmallString<255>&)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::GetInterfaceEntry(_GUID&)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::GetInterfaceTable()' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::ClassNameIs(System::UnicodeString)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::MethodAddress(System::UnicodeString)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::__linkproc__ __fastcall FindDynaInst(System::TObject * const, short)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\19.0\LIB\WIN32\DEBUG\VCLE.LIB|System_t_win32

[ilink32 Error] Error: Unresolved external 'System::FreeMemory(void *)' referenced from K:\BIBLESOFT\JOSHUA\SOURCE\CPPLIBS\WIN32\DEBUG\FILESPACE.OBJ

[ilink32 Error] Error: Unresolved external '__fastcall System::TObject::TObject()' referenced from K:\BIBLESOFT\JOSHUA\SOURCE\CPPLIBS\WIN32\DEBUG\FILESPACE.OBJ

[ilink32 Error] Error: Unresolved external '__fastcall System::Classes::TList::IndexOf(void *)' referenced from K:\BIBLESOFT\JOSHUA\SOURCE\CPPLIBS\WIN32\DEBUG\FILESPACE.OBJ

[ilink32 Error] Error: Unresolved external '__fastcall System::Classes::TList::Add(void *)' referenced from K:\BIBLESOFT\JOSHUA\SOURCE\CPPLIBS\WIN32\DEBUG\FILESPACE.OBJ

[ilink32 Error] Error: Unable to perform link


Viewing all articles
Browse latest Browse all 1963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>