Ryzom Server: First Compilation: Linking Errors

Added by adaptive about 8 years ago

Some newbie errors, I'm sure. Could you take a quick look and point out the obvious fixes? :)

Thanks!!!

Ryzom Server: First Compilation: Linking Errors

Build Log Build started: Project: mirror_service, Configuration: Release|Win32
Command Lines Creating temporary file "C:\Users\Gary\Documents\hg\ext\ryzom\code\ryzom\server\obj\Release\mirror_service\RSP000013943611788.rsp" with contents
[
/Ox /Ob2 /Oi /Ot /Oy /GT /I "../../../common/src" /I "." /I ".." /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /GF /FD /EHa /MD /GS- /Fo"C:\Users\Gary\Documents\hg\ext\ryzom\code\ryzom\server\obj\Release\mirror_service\\" /Fd"C:\Users\Gary\Documents\hg\ext\ryzom\code\ryzom\server\obj\Release\mirror_service\vc90.pdb" /W3 /c /Zi /TP .\tick_proxy.cpp

.\ms_automaton.cpp

.\mirror_service.cpp

.\data_set_ms.cpp
]
Creating command line "cl.exe @C:\Users\Gary\Documents\hg\ext\ryzom\code\ryzom\server\obj\Release\mirror_service\RSP000013943611788.rsp /nologo /errorReport:prompt"
Creating temporary file "C:\Users\Gary\Documents\hg\ext\ryzom\code\ryzom\server\obj\Release\mirror_service\RSP000016943611788.rsp" with contents
[
/OUT:"C:\Users\Gary\Documents\hg\ext\ryzom\code\ryzom\server\Release\mirror_service.exe" /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:"C:\Users\Gary\Documents\hg\ext\ryzom\code\ryzom\server\obj\Release\mirror_service\mirror_service.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /NODEFAULTLIB:"libcmt.lib" /DEBUG /PDB:"C:\Users\Gary\Documents\hg\ext\ryzom\code\ryzom\server\Release\mirror_service.pdb" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /DYNAMICBASE /NXCOMPAT /MACHINE:X86 libxml2.lib zlib.lib mysqlclient.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "..\..\release\admin_modules.lib" "..\..\..\..\nel\lib\nlnet_r.lib" "..\..\..\..\nel\lib\nlgeorges_r.lib" "..\..\..\lib\game_share_r.lib" "..\..\..\..\nel\lib\nlmisc_r.lib"

"..\..\obj\Release\mirror_service\data_set_ms.obj"

"..\..\obj\Release\mirror_service\mirror_service.obj"

"..\..\obj\Release\mirror_service\ms_automaton.obj"

"..\..\obj\Release\mirror_service\tick_proxy.obj"
]
Creating command line "link.exe @C:\Users\Gary\Documents\hg\ext\ryzom\code\ryzom\server\obj\Release\mirror_service\RSP000016943611788.rsp /NOLOGO /ERRORREPORT:PROMPT"
Output Window Compiling...
tick_proxy.cpp
ms_automaton.cpp
mirror_service.cpp
data_set_ms.cpp
Generating Code...
Linking...

mirror_service.obj : error LNK2019: unresolved external symbol "protected: void __thiscall CDataSetBase::setPropertyPointer(class stlpx_std::basic_string,class stlpx_std::allocator > &,short,void *,bool,unsigned int,bool,bool,class stlpx_std::vector > *,unsigned int,unsigned int)" (?setPropertyPointer@CDataSetBase@IAEXAAV?$basic_string@DV?$char_traits@D@stlpx_std@V?$allocator@D@2@stlpx_std@FPAX_NI22PAV?$vector@EV?$allocator@E@stlpx_std@@3@II@Z) referenced in function "public: void __thiscall CMirrorService::allocateProperty(class NLNET::CMessage &,class NLNET::TServiceId)" (?allocateProperty@CMirrorService@QAEXAAVCMessage@NLNET@VTServiceId@3@Z)

admin_modules.lib(aes_client_module.obj) : error LNK2019: unresolved external symbol "public: __thiscall NLNET::IModuleFactory::IModuleFactory(class std::basic_string,class std::allocator > const &)" (??0IModuleFactory@NLNET@QAE@ABV?$basic_string@DU?$char_traits@D@std@V?$allocator@D@2@std@Z) referenced in function "public: __thiscall NLNET::CModuleFactory::CModuleFactory(class std::basic_string,class std::allocator > const &)" (??0?$CModuleFactory@VCAdminExecutorServiceClient@ADMIN@NLNET@QAE@ABV?$basic_string@DU?$char_traits@D@std@V?$allocator@D@2@std@@@Z)

...

// Seems something is wrong linking std::basic_string (and in other compilation units, stl)?

admin_modules.lib(aes_client_module.obj) : error LNK2001: unresolved external symbol "public: virtual class std::basic_string,class std::allocator > const & __thiscall NLNET::IModuleFactory::getModuleClassName(void)const " (?getModuleClassName@IModuleFactory@NLNET@UBEABV?$basic_string@DU?$char_traits@D@std@V?$allocator@D@2@std@XZ)

...

game_share_r.lib(data_set_base.obj) : error LNK2019: unresolved external symbol "public: class std::basic_string,class std::allocator > __thiscall NLMISC::CSheetId::toString(bool)const " (?toString@CSheetId@NLMISC@QBE?AV?$basic_string@DU?$char_traits@D@std@V?$allocator@D@2@std@_N@Z) referenced in function "public: void __thiscall TDataSetSheet::readGeorges(class NLMISC::CSmartPtr const &,class NLMISC::CSheetId const &)" (?readGeorges@TDataSetSheet@QAEXABV?$CSmartPtr@VUForm@NLGEORGES@NLMISC@ABVCSheetId@3@@Z)

C:\Users\Gary\Documents\hg\ext\ryzom\code\ryzom\server\Release\mirror_service.exe : fatal error LNK1120: 46 unresolved externals

Results      Build log was saved at

"file://C:\Users\Gary\Documents\hg\ext\ryzom\code\ryzom\server\obj\Release\mirror_service\BuildLog.htm"
mirror_service - 97 error(s), 0 warning(s)


Replies (1)

RE: Ryzom Server: First Compilation: Linking Errors - Added by adaptive about 8 years ago

Problem was I compiled some of the project before adding stlport to the include files.

Problem Resolved.

(1-1/1)