From: k. h. <kla...@nl...> - 2006-01-06 09:44:12
|
Hi All, I tried to compile on Linux. ( wxWidgets 2.6.2 with contrib installed=20 and static libs last installed ). So wx-config gives static libs when asking for --libs.) But i have several problems. How does one configure to become static or dynamic libs? First i get warnings like this. .././bk-deps g++ -c -o wxlua_lib_wxlstate.o -I./../modules=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=3D1=20 -DNO_GCC_PRAGMA -g -O0 -Wall -Wundef -Wno-ctor-dtor-privacy=20 ./wxlua/src/wxlstate.cpp ./wxlua/src/wxlstate.cpp:314:5: warning: "WXWIN_COMPATIBILITY_24" is not=20 defined .././bk-deps g++ -c -o wxbind_lib_appframe.o -I./../modules=20 -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.6=20 -I/usr/local/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__=20 -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=3D1=20 -DNO_GCC_PRAGMA -g -O0 -Wall -Wundef -Wno-ctor-dtor-privacy=20 ./wxbind/src/appframe.cpp In file included from ./wxbind/src/appframe.cpp:23: ./../modules/wxbind/include/wxbind.h:127:6: warning: "wxUSE_WAVE" is not=20 defined ./../modules/wxbind/include/wxbind.h:328:5: warning:=20 "wxLUA_USE_wxCriticalSection" is not defined ./../modules/wxbind/include/wxbind.h:506:5: warning:=20 "wxLUA_USE_wxCriticalSectionLocker" is not defined ./../modules/wxbind/include/wxbind.h:919:5: warning:=20 "wxLUA_USE_wxCriticalSectionLocker" is not defined ./../modules/wxbind/include/wxbind.h:1038:6: warning: "wxUSE_WAVE" is=20 not defined ./../modules/wxbind/include/wxbind.h:1310:5: warning:=20 "wxLUA_USE_wxCriticalSection" is not defined ./../modules/wxbind/include/wxbind.h:1909:5: warning:=20 "wxLUA_USE_wxCriticalSectionLocker" is not defined ./../modules/wxbind/include/wxbind.h:2067:6: warning: "wxUSE_WAVE" is=20 not defined ./../modules/wxbind/include/wxbind.h:2455:5: warning:=20 "wxLUA_USE_wxCriticalSection" is not defined ./../modules/wxbind/include/wxbind.h:2736:5: warning:=20 "wxLUA_USE_wxCriticalSectionLocker" is not defined ./../modules/wxbind/include/wxbind.h:2758:5: warning:=20 "wxLUA_USE_wxCriticalSection" is not defined Eventually it compiles, but when i call make install, the result is this. I have no idea what is going on here. [db348@s159749 wxLua]$ make install (cd ./modules/ && make ) make[1]: Entering directory `/home/db348/wxLua/modules' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/db348/wxLua/modules' (cd ./util/ && make install) make[1]: Entering directory `/home/db348/wxLua/util' .././bk-deps gcc -c -o autoconf/util_bin2c_bin2c.o -g -O0 -Wall -Wundef=20 ./bin2c/bin2c.c ./bin2c/bin2c.c: In function =E2=80=98dump=E2=80=99: ./bin2c/bin2c.c:30: warning: statement with no effect ./bin2c/bin2c.c:53: warning: too many arguments for format ./bin2c/bin2c.c:54: warning: too many arguments for format ./bin2c/bin2c.c:90:12: warning: "/*" within comment ./bin2c/bin2c.c: At top level: ./bin2c/bin2c.c:113: fatal error: opening dependency file=20 autoconf/util_bin2c_bin2c.d: No such file or directory compilation terminated. make[1]: *** [autoconf/util_bin2c_bin2c.o] Error 1 make[1]: Leaving directory `/home/db348/wxLua/util' make: *** [install] Error 2 When this would have all worked, i might have bin able to also compile=20 the wxLua application, but at this moment, without the install it does not. I tried configure --enable-wxlua-app,=20 this does not do anything it looks. Assuming i do something wrong and all this should work. How does one find the wxLua settings? Is there a wxlua-config ---libs --include etc. ? I need to detect wxLua, i am trying to this from Cmake currently by=20 setting a WXLUA var. But if there will be wxlua-config , that would be the solution. Regards, Klaas --=20 Unclassified |