Visual Studio 2008 Compile Prob
Added by Zer033 over 8 years ago
Here's the errors I get when trying to compile server.sln:
I set up everything like the tutorials said to.
Is it a prob with the external files? What is the one I should be downloading for 32bit, I'm pretty sure I got correct, but I think that might be the prob.
Linking...
Creating library ..\..\bin\client_ryzom_r.lib and object ..\..\bin\client_ryzom_r.exp
lua_helper.obj : error LNK2019: unresolved external symbol _luaopen_debug referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState@QAE@XZ)
@QAE@XZ)
com_lua_module.obj : error LNK2001: unresolved external symbol _luaopen_debug
lua_helper.obj : error LNK2019: unresolved external symbol _luaopen_math referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState
com_lua_module.obj : error LNK2001: unresolved external symbol _luaopen_math
lua_helper.obj : error LNK2019: unresolved external symbol _luaopen_string referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState@QAE@XZ)
@QAE@XZ)
com_lua_module.obj : error LNK2001: unresolved external symbol _luaopen_string
lua_helper.obj : error LNK2019: unresolved external symbol _luaopen_io referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState
com_lua_module.obj : error LNK2001: unresolved external symbol _luaopen_io
lua_helper.obj : error LNK2019: unresolved external symbol _luaopen_table referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState@QAE@XZ)
@QAE@XZ)
com_lua_module.obj : error LNK2001: unresolved external symbol _luaopen_table
lua_helper.obj : error LNK2019: unresolved external symbol _luaopen_base referenced in function "public: __thiscall CLuaState::CLuaState(void)" (??0CLuaState
com_lua_module.obj : error LNK2001: unresolved external symbol _luaopen_base
com_lua_module.obj : error LNK2019: unresolved external symbol _luaL_checktype referenced in function "public: static int __cdecl R2::CComLuaModule::luaGetSheetIdName(struct lua_State *)" (?luaGetSheetIdName@CComLuaModule@R2@SAHPAUlua_State
@Z)
@SAHPAUlua_State@
com_lua_module.obj : error LNK2019: unresolved external symbol _luaL_checkany referenced in function "public: static int __cdecl R2::CComLuaModule::luaRequestMoveNode(struct lua_State *)" (?luaRequestMoveNode@CComLuaModule@R2@Z)
@SAHPAUlua_State@
com_lua_module.obj : error LNK2019: unresolved external symbol _luaL_checknumber referenced in function "public: static int __cdecl R2::CComLuaModule::luaRequestEraseNode(struct lua_State *)" (?luaRequestEraseNode@CComLuaModule@R2@Z)
@QAEPAVCObject@2@ABV?$basic_string@DV?$char_traits@D@stlpx_std@
com_lua_module.obj : error LNK2019: unresolved external symbol _lua_dofile referenced in function "public: class R2::CObject * __thiscall R2::CComLuaModule::loadLocal(class stlpx_std::basic_string<char,class stlpx_std::char_traits<char>,class stlpx_std::allocator<char> > const &,class stlpx_std::vector<struct stlpx_std::pair<class stlpx_std::basic_string<char,class stlpx_std::char_traits<char>,class stlpx_std::allocator<char> >,class stlpx_std::basic_string<char,class stlpx_std::char_traits<char>,class stlpx_std::allocator<char> > >,class stlpx_std::allocator<struct stlpx_std::pair<class stlpx_std::basic_string<char,class stlpx_std::char_traits<char>,class stlpx_std::allocator<char> >,class stlpx_std::basic_string<char,class stlpx_std::char_traits<char>,class stlpx_std::allocator<char> > > > > const &)" (?loadLocal@CComLuaModule@R2V?$allocator@D@2
@stlpx_std@ABV?$vector@U?$pair@V?$basic_string@DV?$char_traits@D@stlpx_std
@V?$allocator@D@2@stlpx_std
@V12@stlpx_std
@V?$allocator@U?$pair@V?$basic_string@DV?$char_traits@D@stlpx_std@V?$allocator@D@2
@stlpx_std@V12
@stlpx_std@@2
@5@Z)
@QAE_NABV?$basic_string@DV?$char_traits@D@stlpx_std@
com_lua_module.obj : error LNK2019: unresolved external symbol _luaL_loadbuffer referenced in function "public: bool __thiscall R2::CComLuaModule::runLuaScript(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> > &)" (?runLuaScript@CComLuaModule@R2V?$allocator@D@2
@stlpx_std@AAV34
@Z)
com_lua_module.obj : error LNK2019: unresolved external symbol _luaL_openlib referenced in function "private: void __thiscall R2::CComLuaModule::initLuaLib(void)" (?initLuaLib@CComLuaModule@R2@@AAEXXZ)
..\..\bin\client_ryzom_r.exe : fatal error LNK1120: 12 unresolved externals
Replies (4)
RE: Visual Studio 2008 Compile Prob - Added by kervala over 8 years ago
You should use : http://dev.ryzom.com/attachments/download/593/external_stlport_lua51.7z
And don't forget to pull/update with TortoiseHg since a lot of things changed :)
RE: Visual Studio 2008 Compile Prob - Added by Zer033 over 8 years ago
I am about to retry building the server.sln.
I just wanted to ask about the snowballs2.sln. I compiled nel, nelns, and snowballs solutions, but when I went to run client I got a NeL Exception that said: "Path not found for n019003l.pfb". What's this mean? Not a big deal if no one can answer since I think snowballs is just an example program, but I wanted to see it still.
RE: Visual Studio 2008 Compile Prob - Added by patodeborracha over 8 years ago
Did you use the last externals ?
http://dev.ryzom.com/attachments/download/593/external_stlport_lua51.7z
RE: Visual Studio 2008 Compile Prob - Added by Zer033 over 8 years ago
I tried compiling it all again. Started with Nel, went to Nelns, then ryzom/server/server.sln, and finally ryzom/tools/all.sln.
IT ALL WORKED NO ERRORS! So the problem was
1) Not the latest externals.
2) I didn't have it in c:/nevrax (not sure if that's required, but I thought it couldn't hurt).
I'm still kind of amazed; things don't usually work for me when trying to recompile other people's stuff.
So now that it's all compiled what would be a ryzom/nel noob thing to try to get a feel for it all? Where are all the important compiled items located so I could package them up neatly somewhere?
(1-4/4)