Couple problems I am having compiling the tools
Added by Demi about 8 years ago
First I am using MSVC pro and the issue is not that.
there are seven projects that are not compiling in \ryzom\code\ryzom\tools
I have the external package in \ryzom\external and the path is setup. Secondly I can compile \ryzom\code\nel\tools except the lua stuff. I pointed the project directly at additional lib to c:\ryzom\external\lib and it still won't use luabind.lib or lua.lib
Why is the linker wanting 'gdi32.lilibxml_debug.lib' if I am compiling a release version?
several directories are non-existant or the include is pointing to the wrong directory.
I am a bit stumped here. Any ideas?
following is the output:
1>------ Build started: Project: variable_parser, Configuration: Release Win32 ------
2>------ Build started: Project: icon_search, Configuration: Release Win32 ------
2>Linking...
2>LINK : fatal error LNK1181: cannot open input file 'jpeg.lib'
2>Build log was saved at "file://c:\ryzom\code\ryzom\tools\leveldesign\icon_search\Release\BuildLog.htm"
2>icon_search - 1 error(s), 0 warning(s)
3>------ Build started: Project: alias_synchronizer, Configuration: Release Win32 ------
1>Linking...
3>Linking...
3>LINK : fatal error LNK1181: cannot open input file 'gdi32.lilibxml_debug.lib'
3>Build log was saved at "file://c:\ryzom\code\ryzom\tools\leveldesign\alias_synchronizer\Release\BuildLog.htm"
3>alias_synchronizer - 1 error(s), 0 warning(s)
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_gettop referenced in function "public: int __thiscall CLuaState::getTop(void)" (?getTop@CLuaState@QAEHXZ)
@QAEXH@Z)
1>variable_parserDlg.obj : error LNK2001: unresolved external symbol _lua_gettop
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_settop referenced in function "public: void __thiscall CLuaState::pop(int)" (?pop@CLuaState
1>variable_parserDlg.obj : error LNK2001: unresolved external symbol _lua_settop
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_typename referenced in function "public: char const * __thiscall CLuaState::getTypename(int)" (?getTypename@CLuaState@QAEPBDH@Z)
@QAEXPBD@Z)
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_pushstring referenced in function "public: void __thiscall CLuaState::push(char const *)" (?push@CLuaState
1>variable_parserDlg.obj : error LNK2001: unresolved external symbol _lua_pushstring
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_checkstack referenced in function "public: void __thiscall CLuaState::push(char const *)" (?push@CLuaState@QAEXPBD@Z)
@QAEXPAX@Z)
1>variable_parserDlg.obj : error LNK2001: unresolved external symbol _lua_checkstack
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_pushlightuserdata referenced in function "public: void __thiscall CLuaState::pushLightUserData(void *)" (?pushLightUserData@CLuaState
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_pcall referenced in function "public: int __thiscall CLuaState::pcall(int,int,int)" (?pcall@CLuaState@QAEHHHH@Z)
@SAPAV1@PAUlua_State@
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_touserdata referenced in function "public: static class CLuaState * __cdecl CLuaState::fromStatePointer(struct lua_State *)" (?fromStatePointer@CLuaState@Z)
@SAPAV1@PAUlua_State@
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_type referenced in function "public: static class CLuaState * __cdecl CLuaState::fromStatePointer(struct lua_State *)" (?fromStatePointer@CLuaState@Z)
@SAPAV1@PAUlua_State@
1>variable_parserDlg.obj : error LNK2001: unresolved external symbol _lua_type
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_gettable referenced in function "public: static class CLuaState * __cdecl CLuaState::fromStatePointer(struct lua_State *)" (?fromStatePointer@CLuaState@Z)
@QAEXPBDP6AHPAUlua_State@
1>variable_parserDlg.obj : error LNK2001: unresolved external symbol _lua_gettable
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_settable referenced in function "public: void __thiscall CLuaState::registerFunc(char const *,int (__cdecl*)(struct lua_State *))" (?registerFunc@CLuaState@Z@Z)
@QAEXPBDP6AHPAUlua_State@
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_pushcclosure referenced in function "public: void __thiscall CLuaState::registerFunc(char const *,int (__cdecl*)(struct lua_State *))" (?registerFunc@CLuaState@Z@Z)
@QAEXXZ)
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_newtable referenced in function "public: void __thiscall CLuaState::newTable(void)" (?newTable@CLuaState
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_getgccount referenced in function "public: int __thiscall CLuaState::getGCCount(void)" (?getGCCount@CLuaState@QAEHXZ)
@QAEHXZ)
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_getgcthreshold referenced in function "public: int __thiscall CLuaState::getGCThreshold(void)" (?getGCThreshold@CLuaState
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_setgcthreshold referenced in function "public: void __thiscall CLuaState::setGCThreshold(int)" (?setGCThreshold@CLuaState@QAEXH@Z)
@QAEXH@Z)
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_pushvalue referenced in function "public: void __thiscall CLuaState::pushValue(int)" (?pushValue@CLuaState
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_remove referenced in function "public: void __thiscall CLuaState::remove(int)" (?remove@CLuaState@QAEXH@Z)
@QAEXH@Z)
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_insert referenced in function "public: void __thiscall CLuaState::insert(int)" (?insert@CLuaState
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_isuserdata referenced in function "public: bool __thiscall CLuaState::isUserData(int)" (?isUserData@CLuaState@QAE_NH@Z)
@QAE_NH@Z)
1>variable_parserDlg.obj : error LNK2001: unresolved external symbol _lua_isuserdata
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_toboolean referenced in function "public: bool __thiscall CLuaState::toBoolean(int)" (?toBoolean@CLuaState
1>variable_parserDlg.obj : error LNK2001: unresolved external symbol _lua_toboolean
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_tonumber referenced in function "public: double __thiscall CLuaState::toNumber(int)" (?toNumber@CLuaState@QAENH@Z)
@QAEPBDH@Z)
1>variable_parserDlg.obj : error LNK2001: unresolved external symbol _lua_tonumber
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_tostring referenced in function "public: char const * __thiscall CLuaState::toString(int)" (?toString@CLuaState
1>variable_parserDlg.obj : error LNK2001: unresolved external symbol _lua_tostring
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_rawseti referenced in function "public: void __thiscall CLuaState::rawSetI(int,int)" (?rawSetI@CLuaState@QAEXHH@Z)
@QAEXHH@Z)
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_rawgeti referenced in function "public: void __thiscall CLuaState::rawGetI(int,int)" (?rawGetI@CLuaState
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_error referenced in function __catch$?callFunc@CForwarder@?1??push@CLuaState@QAEXP6AHAAV3
@Z@Z@SAHPAUlua_State@@Z$0
@QAEXABV?$basic_string@DV?$char_traits@D@stlpx_std@
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_load referenced in function "public: void __thiscall CLuaState::loadScript(class stlpx_std::basic_string<char,class stlpx_std::char_traits<char>,class stlpx_std::allocator<char> > const &,class stlpx_std::basic_string<char,class stlpx_std::char_traits<char>,class stlpx_std::allocator<char> > const &)" (?loadScript@CLuaStateV?$allocator@D@2
@stlpx_std@0@Z)
@QAEXAAV?$basic_string@DV?$char_traits@D@stlpx_std@
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_getinfo referenced in function "public: void __thiscall CLuaState::getStackContext(class stlpx_std::basic_string<char,class stlpx_std::char_traits<char>,class stlpx_std::allocator<char> > &,unsigned int)" (?getStackContext@CLuaStateV?$allocator@D@2
@stlpx_std@I@Z)
@QAEXAAV?$basic_string@DV?$char_traits@D@stlpx_std@
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_getstack referenced in function "public: void __thiscall CLuaState::getStackContext(class stlpx_std::basic_string<char,class stlpx_std::char_traits<char>,class stlpx_std::allocator<char> > &,unsigned int)" (?getStackContext@CLuaStateV?$allocator@D@2
@stlpx_std@I@Z)
@QAE@XZ)
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_close referenced in function "public: __thiscall CLuaState::~CLuaState(void)" (??1CLuaState
1>lua_helper.obj : error LNK2019: unresolved external symbol "void __cdecl luabind::open(struct lua_State *)" (?open@luabind@YAXPAUlua_State
@Z) referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState
@QAE@XZ)
1>lua_helper.obj : error LNK2019: unresolved external symbol _luaopen_debug referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState@QAE@XZ)
@QAE@XZ)
1>lua_helper.obj : error LNK2019: unresolved external symbol _luaopen_math referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState
1>lua_helper.obj : error LNK2019: unresolved external symbol _luaopen_string referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState@QAE@XZ)
@QAE@XZ)
1>lua_helper.obj : error LNK2019: unresolved external symbol _luaopen_io referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState
1>lua_helper.obj : error LNK2019: unresolved external symbol _luaopen_table referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState@QAE@XZ)
@QAE@XZ)
1>lua_helper.obj : error LNK2019: unresolved external symbol _luaopen_base referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState
1>lua_helper.obj : error LNK2019: unresolved external symbol _lua_open referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState@QAE@XZ)
@UAE@XZ) referenced in function "protected: void __thiscall CTestLocalDialog::OnSave(void)" (?OnSave@CTestLocalDialog@
1>variable_parser_r.exe : fatal error LNK1120: 38 unresolved externals
1>Build log was saved at "file://c:\ryzom\code\ryzom\tools\leveldesign\variable_parser\Release\BuildLog.htm"
1>variable_parser - 49 error(s), 0 warning(s)
4>------ Build started: Project: master, Configuration: Release Win32 ------
4>Compiling...
4>MasterTree.cpp
5>------ Build started: Project: georges_plugin_test, Configuration: Release Win32 ------
5>Linking...
5>.\georges_plugin_test.def(4) : warning LNK4017: DESCRIPTION statement not supported for the target platform; ignored
5> Creating library .\Release/georges_plugin_test.lib and object .\Release/georges_plugin_test.exp
5>test_local_dialog.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall NLMISC::COFile::~COFile(void)" (??1COFile@NLMISCIAEXXZ)
@QAE@ABV?$basic_string@DV?$char_traits@D@stlpx_std@
5>test_local_dialog.obj : error LNK2019: unresolved external symbol "public: __thiscall NLMISC::COFile::COFile(class stlpx_std::basic_string<char,class stlpx_std::char_traits<char>,class stlpx_std::allocator<char> > const &,bool,bool,bool)" (??0COFile@NLMISCV?$allocator@D@2
@stlpx_std@_N11@Z) referenced in function "protected: void __thiscall CTestLocalDialog::OnSave(void)" (?OnSave@CTestLocalDialog
@IAEXXZ)
5>.\Release/georges_plugin_test.dll : fatal error LNK1120: 2 unresolved externals
5>Build log was saved at "file://c:\ryzom\code\ryzom\tools\leveldesign\georges_plugin_test\Release\BuildLog.htm"
5>georges_plugin_test - 3 error(s), 1 warning(s)
4>c:\ryzom\code\ryzom\tools\leveldesign\master\../export/export.h(130) : warning C4237: 'export' keyword is not yet supported, but reserved for future use
4>c:\ryzom\code\ryzom\tools\leveldesign\master\Mainfrm.h(37) : fatal error C1083: Cannot open include file: '../../3d/ligo/worldeditor/worldeditor_interface.h': No such file or directory
4>master.cpp
6>------ Build started: Project: georges_convert, Configuration: Release Win32 ------
6>Compiling...
6>georges_convert.cpp
6>.\georges_convert.cpp(23) : fatal error C1083: Cannot open include file: 'nel/georges/type.h': No such file or directory
6>Build log was saved at "file://c:\ryzom\code\ryzom\tools\leveldesign\georges_convert\Release\BuildLog.htm"
6>georges_convert - 1 error(s), 0 warning(s)
7>------ Build started: Project: export, Configuration: Release Win32 ------
7>Compiling...
4>c:\ryzom\code\ryzom\tools\leveldesign\master\../export/export.h(130) : warning C4237: 'export' keyword is not yet supported, but reserved for future use
4>c:\ryzom\code\ryzom\tools\leveldesign\master\MainFrm.h(37) : fatal error C1083: Cannot open include file: '../../3d/ligo/worldeditor/worldeditor_interface.h': No such file or directory
4>MainFrm.cpp
7>export.cpp
4>c:\ryzom\code\ryzom\tools\leveldesign\master\../export/export.h(130) : warning C4237: 'export' keyword is not yet supported, but reserved for future use
4>c:\ryzom\code\ryzom\tools\leveldesign\master\MainFrm.h(37) : fatal error C1083: Cannot open include file: '../../3d/ligo/worldeditor/worldeditor_interface.h': No such file or directory
4>Generating Code...
4>Build log was saved at "file://c:\ryzom\code\ryzom\tools\leveldesign\master\Release\BuildLog.htm"
4>master - 3 error(s), 3 warning(s)
7>c:\ryzom\code\ryzom\tools\leveldesign\export\export.h(130) : warning C4237: 'export' keyword is not yet supported, but reserved for future use
7>.\export.cpp(26) : fatal error C1083: Cannot open include file: 'nel/ligo/zone_region.h': No such file or directory
7>Build log was saved at "file://c:\ryzom\code\ryzom\tools\leveldesign\export\Release\BuildLog.htm"
7>export - 1 error(s), 1 warning(s)
========== Build: 0 succeeded, 7 failed, 35 up-to-date, 0 skipped ==========
Replies (6)
RE: Couple problems I am having compiling the tools - Added by kervala about 8 years ago
You can ignore these projects, they are not needed (and broken for the moment).
RE: Couple problems I am having compiling the tools - Added by Demi about 8 years ago
Oh and since it is broken I guess I will fix it. :)
RE: Couple problems I am having compiling the tools - Added by Phormagos about 8 years ago
Ah yes, definitely good to know that those 7 are known broken.
RE: Couple problems I am having compiling the tools - Added by Demi about 8 years ago
fixes to the problem.
icon_search - changed additional dependencies from jpeg.lib to libjpeg.lib
variable_parser - added additional dependencies lua.lib and luabind.lib
alias_synchronizer - additional dependencies got messed up! nlmisc_r.lib and nlligo_r.lib needed to replace (gdi32.lilibxml_debug.lib b) this
is messed up here gui32.lib will be auto linked. According to CMakelist these are the correct ones.
georges_plugin_test requires nlmisc_r.lib as a additonial dependency.
georges_convert - As far as I am concerned this really should be erased from the projec. Conversion should have happpened already and it is really irrelvant. After paching it up I still had a few errors but looking at the code it is just re-structuring the dfn anyway. If there are old files that need converted the Dev team should just do it in the background. - just my 2 copper on this.
export - change #include "nel/ligo/zone_region.h" to #include "ligo/zone_region.h" at line 26 in export.cpp
master - OK this is not complete so Let the team build it.
At least there are 5 fixes if you all want to hand edit them. :)
RE: Couple problems I am having compiling the tools - Added by Phormagos about 8 years ago
Five fixes plugged in here. Thanks a bunch Demi!
(1-6/6)