From: John L. <jla...@gm...> - 2005-11-26 18:02:53
|
On 11/26/05, klaas.holwerda <kho...@xs...> wrote: > >Compiles using MSVC6 project files and linux out of the box! > > > Your box that is ;-) > My box refuses to do the same (MSW), not with nmake and not with project > files. Grrr... why does it have to be so hard. :( > After i compiled contrib/stc for wxwidgets, i get all the mod_XXX > compiled, using project file. > For the moment using batch build, and only debug. (do all flavours > compile in your case? ) I've only used debug. Is your wxWidgets lib also in debug? > app_lua is a problem ( just debug with project files), the nmake seems > to have the same problem. > > Any idea what can be it, i think i did not see these errors before. Nor have I. I see you use 2.6.2, I use wxWidgets CVS HEAD and copy by hand all the libs wxbase27_XXX.lib to wxbase26_XXX.lib and wxmsw27_XXX.lib to wxmsw26_XXX.lib so they'll work with the VC6 project files. You've done a completely new checkout? Just delete the old and checkout aga= in. > Next parts what i see in VC6: > > --------------------Configuration: app_wxlua - Win32 > Debug-------------------- > Linking... > Searching Libraries > Searching ..\..\..\lib\vc_lib\wxluadebug.lib: > Searching ..\..\..\lib\vc_lib\wxluasocket.lib: I have to remove this "Searching" stuff, this was a test to see what libs were being loaded and it looks ok to me. > Done Searching Libraries > LINK : warning LNK4049: locally defined symbol ""public: __thiscall > wxString::~wxString(void)" (??1wxString@@QAE@XZ)" imported ... > LINK : warning LNK4049: locally defined symbol ""protected: static class > wxLuaHandler * wxLuaHandler::sm_luahandler" > (?sm_luahandler@wxLuaHandler@@1PAV1@A)" imported I'm off for today, but what does the help in MSVC6 say about LNK4049, press F1 on the error in the GUI. I don't think I've seen this before and don't understand what it could mean. But you get them for both wxWidgets classes and wxLua classes so something is strange. > wxluasocket.lib(wxldtarg.obj) : error LNK2001: unresolved external > symbol "__declspec(dllimport) public: __thiscall > wxLuaBufferArray::~wxLuaBufferArray(void)" > (__imp_??1wxLuaBufferArray@@QAE@XZ) > wxluasocket.lib(wxldtarg.obj) : error LNK2001: unresolved external > symbol "__declspec(dllimport) public: __thiscall > wxSortedArrayString::~wxSortedArrayString(void)" > (__imp_??1wxSortedArrayString@@QAE@XZ) > wxluasocket.lib(wxldtarg.obj) : error LNK2001: unresolved external > symbol "__declspec(dllimport) public: class wxString __thiscall > wxLuaBuffer::GetBuffer(void)const " > (__imp_?GetBuffer@wxLuaBuffer@@QBE?AVwxString@@XZ) > wxluasocket.lib(wxldtarg.obj) : error LNK2001: unresolved external > symbol "__declspec(dllimport) public: class wxString __thiscall There's no earlier compile warnings or errors? It looks like you're not even linking to wxWidgets, never mind wxLua. As I said please just start completely over. You have the WXWIN=3DD:\notebook\wxwin\wxWidgets-2.6.2 environment variable set too? I'm sorry that I can't help. I don't know why things could be so messed up for you. *** You are opening wxLua/build/msw/wxLua.dsw right? not anything else! Regards, John Labenski |