|
From: Francesco M. <f18...@ya...> - 2006-12-17 11:35:32
|
Hakki Dogusan ha scritto: > Hi, > > Hakki Dogusan wrote: >> Hi, >> >> John Labenski wrote: >>> Everything else seems great, I'm using VC 2003 and nmake.exe and both >>> release and debug work even with the wxStEditor lib! >>> >>> But, for SHARED=1 the paths for the dlls are >>> ..\..\lib\wxmsw_msw26_wxlua.dll >>> but should be >>> ..\..\..\lib\[vc_dll]\wxmsw_msw26_wxlua.dll >>> >> [snip] >> >> FYI, >> >> (cvs 2006-12-17, wx2.8, winxp) >> >> I tried with mingw: >> mingw32-make -fmakefile.gcc WX_VERSION=28 WX_MONOLITHIC=1 SHARED=1 >> >> It gives: >> F:\mingw\BIN\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: >> cannot open output file ..\..\lib\wxlua_msw28d_lua.dll: No such file or >> directory collect2: ld returned 1 exit status >> mingw32-make[1]: *** [..\..\lib\wxlua_msw28d_lua.dll] Error 1 >> mingw32-make[1]: Leaving directory `F:/a_C/wxLua/modules/build/msw' >> mingw32-make: *** [modules] Error 2 >> >> >> Since, I had similar results with modified (as your's but with gcc_dll) >> makefile.gcc with a recent cvs, I didn't try it again. >> >> There is no problem in SHARED=0 configuration. >> >> > > Funny... > > I did a cvs update, then continue to compile.. > Then send the above message. > > Meanwhile, Francesco were committing his changes :) right ;) > Now building ends with: > > (mingw32-make -fmakefile.gcc WX_VERSION=28 WX_MONOLITHIC=1 SHARED=1 > WX_SHARED=1 BUILD=release) > > > g++ -c -o gccdll\wxbind_dll_config.o > -I..\..\..\modules\wxbind\setup > -DHAVE_W32API_H > -D__WXMSW__ > -IF:\WX\lib\gcc_dll\msw > -IF:\WX\include -DWXUSINGDLL > -O2 -I..\..\..\modules > -I.\..\..\.. > -IF:\WX\contrib\include > -DWXMAKINGDLL_WXBIND > -MT > gccdll\wxbind_dll_config.o > -MFgccdll\wxbind_dll_config.o.d > -MD > .../../wxbind/src/config.cpp > In file included from F:/WX/include/wx/wx.h:55, > from ../../wxbind/src/config.cpp:15: > F:/WX/include/wx/menu.h: In member function `#`qual_union_type' not > supported by dump_decl#<declaration error>': > F:/WX/include/wx/menu.h:36: internal compiler error: in > aggregate_value_p, at function.c:4264 > Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://www.mingw.org/bugs.shtml> for instructions. > mingw32-make[1]: *** [gccdll\wxbind_dll_config.o] Error 1 > mingw32-make[1]: Leaving directory `F:/a_C/wxLua/modules/build/msw' > mingw32-make: *** [modules] Error 2 hmmm, I'm going to test mingw ASAP; in the meanwhile I suggest you to: 1) verify that you can compile&link a wx sample using that config 2) do a make clean in wxLua and then retry. Francesco |