You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(60) |
Jul
(35) |
Aug
(32) |
Sep
(5) |
Oct
(5) |
Nov
(58) |
Dec
(34) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(114) |
Feb
(184) |
Mar
(153) |
Apr
(90) |
May
(153) |
Jun
(59) |
Jul
(24) |
Aug
(43) |
Sep
(17) |
Oct
(34) |
Nov
(11) |
Dec
(204) |
2007 |
Jan
(84) |
Feb
(119) |
Mar
(38) |
Apr
(28) |
May
(52) |
Jun
(105) |
Jul
(64) |
Aug
(67) |
Sep
(14) |
Oct
(3) |
Nov
(28) |
Dec
(55) |
2008 |
Jan
(228) |
Feb
(55) |
Mar
(30) |
Apr
(30) |
May
(15) |
Jun
(20) |
Jul
(12) |
Aug
(3) |
Sep
(13) |
Oct
(54) |
Nov
(35) |
Dec
(35) |
2009 |
Jan
(19) |
Feb
(20) |
Mar
(34) |
Apr
(4) |
May
(60) |
Jun
(25) |
Jul
(16) |
Aug
(51) |
Sep
(19) |
Oct
(62) |
Nov
(21) |
Dec
(12) |
2010 |
Jan
(1) |
Feb
|
Mar
(4) |
Apr
(12) |
May
(23) |
Jun
(13) |
Jul
(1) |
Aug
(40) |
Sep
(18) |
Oct
(21) |
Nov
(26) |
Dec
(34) |
2011 |
Jan
(17) |
Feb
(23) |
Mar
(1) |
Apr
(10) |
May
(1) |
Jun
(5) |
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(43) |
2012 |
Jan
(5) |
Feb
(19) |
Mar
(6) |
Apr
(24) |
May
(39) |
Jun
(83) |
Jul
(29) |
Aug
(36) |
Sep
(64) |
Oct
(55) |
Nov
(12) |
Dec
(7) |
2013 |
Jan
(17) |
Feb
(10) |
Mar
(37) |
Apr
(27) |
May
(13) |
Jun
(9) |
Jul
(7) |
Aug
(61) |
Sep
(23) |
Oct
(23) |
Nov
(30) |
Dec
(16) |
2014 |
Jan
(23) |
Feb
(13) |
Mar
(9) |
Apr
(17) |
May
(2) |
Jun
(11) |
Jul
(2) |
Aug
|
Sep
(9) |
Oct
(24) |
Nov
(2) |
Dec
(14) |
2015 |
Jan
(6) |
Feb
(4) |
Mar
(17) |
Apr
|
May
(7) |
Jun
(3) |
Jul
|
Aug
|
Sep
(2) |
Oct
(21) |
Nov
(6) |
Dec
(2) |
2016 |
Jan
(4) |
Feb
(2) |
Mar
(7) |
Apr
(3) |
May
(11) |
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(4) |
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: klaas.holwerda <ng...@kl...> - 2012-04-15 13:53:54
|
On 15-4-2012 5:26, John Labenski wrote: > On Sat, Apr 14, 2012 at 6:20 AM, klaas.holwerda<ng...@kl...> wrote: > >> The problem came back, both vars are empty: >> >> if ((CMAKE_SIZEOF_VOID_P MATCHES 4) OR (CMAKE_CL_64 MATCHES 0)) >> set(IS_32_BIT TRUE) >> set(IS_64_BIT FALSE) >> elseif((CMAKE_SIZEOF_VOID_P MATCHES 8) OR (CMAKE_CL_64 MATCHES 1)) >> set(IS_32_BIT FALSE) >> set(IS_64_BIT TRUE) >> else() >> MESSAGE(WARNING "Oops, unable to determine if using 32 or 64 bit compilation.") >> MESSAGE(WARNING "CMAKE_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P} CMAKE_CL_64 ${CMAKE_CL_64}" ) >> endif() > Sounds like you may have the problem with CMake discussed here. > > http://www.cmake.org/pipermail/cmake/2011-January/042058.html > > Not sure how to handle that, maybe I should simply cache IS_XX_BIT so > it stays the same between CMake runs. That might be best. I in general remove the whole build dir contents, to test cmake stuff, and clear the cache inside cmake-gui. If i do that, it passed that part without problems somehow. > >> [ 19%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_gdi.cpp.o >> /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int >> wxLua_wxIconBundle_AddIcon(lua_State*)’: >> /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7356:29: warning: ‘void >> wxIconBundle::AddIcon(const wxString&, long int)’ is deprecated (declared at >> /usr/local/include/wx-2.9/wx/iconbndl.h:91) [-Wdeprecated-declarations] >> /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int >> wxLua_wxIconBundle_GetIcon1(lua_State*)’: >> /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7374:63: error: taking address >> of temporary [-fpermissive] > This line? > const wxIcon* returns = (const wxIcon*)&self->GetIcon(size); > > I'm not sure how to convince GCC that this is a not a temporary > variable since it isn't. Why not?? A wxIcon is returned from GetIcon(size), and that is a temporary i think. But i am not good at such thinks. > > Could you try this: > const wxIcon* returns = reinterpret_cast<const wxIcon*>(&self->GetIcon(size)); Did not help. But the next does ( it stores/copies the return wxIcon first ): static wxIcon icon = self->GetIcon(size); const wxIcon* returns = (const wxIcon*) &icon; or: wxIcon icon = self->GetIcon(size); const wxIcon* returns = (const wxIcon*) &icon; > >> No id added this again ( -Wdeprecated-declarations does not seem to help, but i do get an enormous >> amount of warning about it): > That's fine, wxWidgets declares a lot of functions deprecated, but > wxLua supports multiple versions. It's unfortunately something we have > to live with, unless I ignore them all with -Wno-deprecated to silence > them, which I probably will. > >> if (IS_64_BIT) >> add_definitions( -fPIC ) >> add_definitions(-Wdeprecated-declarations ) >> add_definitions(-fpermissive) >> #set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -fPIC) >> endif() >> >> I am now here: >> >> Linking CXX shared library libwx.so >> /usr/bin/ld: /usr/local/lib/libwx_gtk2u_stc-2.9.a(stclib_stc.o): relocation R_X86_64_32 against >> `wxStyledTextCtrl::sm_eventTable' can not be used when making a shared object; recompile with -fPIC >> /usr/local/lib/libwx_gtk2u_stc-2.9.a: could not read symbols: Bad value >> collect2: ld returned 1 exit status >> make[2]: *** [modules/luamodule/libwx.so] Error 1 >> make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2 >> make: *** [all] Error 2 >> >> No idea what this is all about. I believe -fPIC was used. > -fPIC is definitely used for wxLua in 64-bit for everything, is it for > wxWidgets when building staticly? You can probably check by calling > wx-config --cxxflags > > This is what's going on. You build wxWidgets statically, and I bet > they don't use -fPIC when building it. wxLua tries to create a shared > libwx.so and links to the static wx libs and you get the -fPIC errors. > > Maybe rebuild wxWidgets with > > make CXXFLAGS=-fPIC CFLAGS=-fPIC (or do this through configure) Done that, seems to help. > >> And libwx.so is that a wxLua lib? > Yes, it is the Lua module that from Lua you call require("wx") to > load, but I have not finished testing it. oke. > >> Now i found BUILD_SHARED_LIBS as one of the Cmake options. >> >> >> >> Still see -shared in there :-( > Yes, this is intentional. The library libwx.so must always be shared > so it can be dynamically loaded from Lua. I see. > > Can you compile the wxWidgets media control sample without error? If you mean the MediaPlayer example, yes, and it works. I do not see another example, so i think that is the only one. With all the advice, i now get until here (see end this mail). The library -lgstinterfaces-0.10 is missing to link too? If i add it by hand as -lgstinterfaces-0.10 down here, on the commandline, it links. In aps/CMakeLists change this, also works: LINK_LIBRARIES #wxLuaBindLib ${wxLuaBind_ALL_LIBS} wxLuaSocketLib wxLuaDebugLib wxLuaLib LuaLib gstinterfaces-0.10 ${wxWidgets_LIBRARIES} With that i can compile completely! :-) But -Wno-deprecated did not make much a difference for all the warnings?? Linking CXX executable wxLua cd /home/klaas/soft/buildwxluadeb29/apps/wxlua && /usr/bin/cmake -E cmake_link_script CMakeFiles/wxLua_app.dir/link.txt --verbose=1 /usr/bin/c++ -pthread -g CMakeFiles/wxLua_app.dir/src/lconsole.cpp.o CMakeFiles/wxLua_app.dir/src/wxlua.cpp.o -o wxLua -rdynamic -L/usr/local/lib ../../modules/wxbind/libwxLuaBindLib.so ../../modules/wxluasocket/libwxLuaSocketLib.so ../../modules/wxluadebug/libwxLuaDebugLib.so ../../modules/wxlua/libwxLuaLib.so ../../modules/lua/libLuaLib.so -L/usr/local/lib -pthread /usr/local/lib/libwx_gtk2u_stc-2.9.a /usr/local/lib/libwx_gtk2u_xrc-2.9.a /usr/local/lib/libwx_baseu_net-2.9.a /usr/local/lib/libwx_gtk2u_media-2.9.a /usr/local/lib/libwx_gtk2u_propgrid-2.9.a /usr/local/lib/libwx_gtk2u_richtext-2.9.a /usr/local/lib/libwx_gtk2u_aui-2.9.a /usr/local/lib/libwx_gtk2u_html-2.9.a /usr/local/lib/libwx_gtk2u_adv-2.9.a /usr/local/lib/libwx_gtk2u_core-2.9.a /usr/local/lib/libwx_baseu_xml-2.9.a /usr/local/lib/libwx_baseu-2.9.a -lwxscintilla-2.9 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lX11 -lSM -lpng -ljpeg -lexpat -lwxregexu-2.9 -lwxtiff-2.9 -lz -ldl -lm ../../modules/wxbind/libwxLuaBindLib.so ../../modules/wxlua/libwxLuaLib.so ../../modules/lua/libLuaLib.so -L/usr/local/lib -pthread /usr/local/lib/libwx_gtk2u_stc-2.9.a /usr/local/lib/libwx_gtk2u_xrc-2.9.a /usr/local/lib/libwx_baseu_net-2.9.a /usr/local/lib/libwx_gtk2u_media-2.9.a /usr/local/lib/libwx_gtk2u_propgrid-2.9.a /usr/local/lib/libwx_gtk2u_richtext-2.9.a /usr/local/lib/libwx_gtk2u_aui-2.9.a /usr/local/lib/libwx_gtk2u_html-2.9.a /usr/local/lib/libwx_gtk2u_adv-2.9.a /usr/local/lib/libwx_gtk2u_core-2.9.a /usr/local/lib/libwx_baseu_xml-2.9.a /usr/local/lib/libwx_baseu-2.9.a -lwxscintilla-2.9 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lX11 -lSM -lpng -ljpeg -lexpat -lwxregexu-2.9 -lwxtiff-2.9 -lz -ldl -lm -Wl,-rpath,/usr/local/lib:/home/klaas/soft/buildwxluadeb29/modules/wxbind:/home/klaas/soft/buildwxluadeb29/modules/wxluasocket:/home/klaas/soft/buildwxluadeb29/modules/wxluadebug:/home/klaas/soft/buildwxluadeb29/modules/wxlua:/home/klaas/soft/buildwxluadeb29/modules/lua: ../../modules/wxbind/libwxLuaBindLib.so: undefined reference to `gst_implements_interface_check' ../../modules/wxbind/libwxLuaBindLib.so: undefined reference to `gst_bus_set_sync_handler' ../../modules/wxbind/libwxLuaBindLib.so: undefined reference to `gst_element_query_position' etc. |
From: John L. <jla...@gm...> - 2012-04-15 03:26:07
|
On Sat, Apr 14, 2012 at 6:20 AM, klaas.holwerda <ng...@kl...> wrote: > The problem came back, both vars are empty: > > if ((CMAKE_SIZEOF_VOID_P MATCHES 4) OR (CMAKE_CL_64 MATCHES 0)) > set(IS_32_BIT TRUE) > set(IS_64_BIT FALSE) > elseif((CMAKE_SIZEOF_VOID_P MATCHES 8) OR (CMAKE_CL_64 MATCHES 1)) > set(IS_32_BIT FALSE) > set(IS_64_BIT TRUE) > else() > MESSAGE(WARNING "Oops, unable to determine if using 32 or 64 bit compilation.") > MESSAGE(WARNING "CMAKE_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P} CMAKE_CL_64 ${CMAKE_CL_64}" ) > endif() Sounds like you may have the problem with CMake discussed here. http://www.cmake.org/pipermail/cmake/2011-January/042058.html Not sure how to handle that, maybe I should simply cache IS_XX_BIT so it stays the same between CMake runs. > [ 19%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_gdi.cpp.o > /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int > wxLua_wxIconBundle_AddIcon(lua_State*)’: > /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7356:29: warning: ‘void > wxIconBundle::AddIcon(const wxString&, long int)’ is deprecated (declared at > /usr/local/include/wx-2.9/wx/iconbndl.h:91) [-Wdeprecated-declarations] > /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int > wxLua_wxIconBundle_GetIcon1(lua_State*)’: > /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7374:63: error: taking address > of temporary [-fpermissive] This line? const wxIcon* returns = (const wxIcon*)&self->GetIcon(size); I'm not sure how to convince GCC that this is a not a temporary variable since it isn't. Could you try this: const wxIcon* returns = reinterpret_cast<const wxIcon*>(&self->GetIcon(size)); > No id added this again ( -Wdeprecated-declarations does not seem to help, but i do get an enormous > amount of warning about it): That's fine, wxWidgets declares a lot of functions deprecated, but wxLua supports multiple versions. It's unfortunately something we have to live with, unless I ignore them all with -Wno-deprecated to silence them, which I probably will. > if (IS_64_BIT) > add_definitions( -fPIC ) > add_definitions(-Wdeprecated-declarations ) > add_definitions(-fpermissive) > #set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -fPIC) > endif() > > I am now here: > > Linking CXX shared library libwx.so > /usr/bin/ld: /usr/local/lib/libwx_gtk2u_stc-2.9.a(stclib_stc.o): relocation R_X86_64_32 against > `wxStyledTextCtrl::sm_eventTable' can not be used when making a shared object; recompile with -fPIC > /usr/local/lib/libwx_gtk2u_stc-2.9.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > make[2]: *** [modules/luamodule/libwx.so] Error 1 > make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2 > make: *** [all] Error 2 > > No idea what this is all about. I believe -fPIC was used. -fPIC is definitely used for wxLua in 64-bit for everything, is it for wxWidgets when building staticly? You can probably check by calling wx-config --cxxflags This is what's going on. You build wxWidgets statically, and I bet they don't use -fPIC when building it. wxLua tries to create a shared libwx.so and links to the static wx libs and you get the -fPIC errors. Maybe rebuild wxWidgets with make CXXFLAGS=-fPIC CFLAGS=-fPIC (or do this through configure) > And libwx.so is that a wxLua lib? Yes, it is the Lua module that from Lua you call require("wx") to load, but I have not finished testing it. > Now i found BUILD_SHARED_LIBS as one of the Cmake options. > > Linking CXX shared library libwx.so > cd /home/klaas/soft/buildwxluadeb29/modules/luamodule && /usr/bin/cmake -E cmake_link_script > CMakeFiles/wxLuaModule.dir/link.txt --verbose=1 > /usr/bin/c++ -fPIC -pthread -g -shared -Wl,-soname,libwx.so -o libwx.so > CMakeFiles/wxLuaModule.dir/src/luamodule.cpp.o ... > CMakeFiles/wxLuaModule.dir/__/wxlua/src/wxlstate.cpp.o > CMakeFiles/wxLuaModule.dir/__/wxlua/src/wxlua_bind.cpp.o -L/usr/local/lib ../lua/libLuaLibShared.so > -L/usr/local/lib -pthread /usr/local/lib/libwx_gtk2u_stc-2.9.a /usr/local/lib/libwx_gtk2u_xrc-2.9.a > /usr/local/lib/libwx_baseu_net-2.9.a /usr/local/lib/libwx_gtk2u_media-2.9.a > /usr/local/lib/libwx_gtk2u_propgrid-2.9.a /usr/local/lib/libwx_gtk2u_richtext-2.9.a > /usr/local/lib/libwx_gtk2u_aui-2.9.a /usr/local/lib/libwx_gtk2u_html-2.9.a > /usr/local/lib/libwx_gtk2u_adv-2.9.a /usr/local/lib/libwx_gtk2u_core-2.9.a > /usr/local/lib/libwx_baseu_xml-2.9.a /usr/local/lib/libwx_baseu-2.9.a -lwxscintilla-2.9 -pthread > -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 > -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt > -lglib-2.0 -lX11 -lSM -lpng -ljpeg -lexpat -lwxregexu-2.9 -lwxtiff-2.9 -lz -ldl -lm > -Wl,-rpath,/usr/local/lib:/home/klaas/soft/buildwxluadeb29/modules/lua: > /usr/bin/ld: /usr/local/lib/libwx_gtk2u_stc-2.9.a(stclib_stc.o): relocation R_X86_64_32 against > `wxStyledTextCtrl::sm_eventTable' can not be used when making a shared object; recompile with -fPIC > /usr/local/lib/libwx_gtk2u_stc-2.9.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > make[2]: *** [modules/luamodule/libwx.so] Error 1 > make[2]: Leaving directory `/home/klaas/soft/buildwxluadeb29' > make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2 > make[1]: Leaving directory `/home/klaas/soft/buildwxluadeb29' > make: *** [all] Error 2 > > Still see -shared in there :-( Yes, this is intentional. The library libwx.so must always be shared so it can be dynamically loaded from Lua. > /usr/local/lib/libwx_gtk2u_media-2.9.a(medialib_unix_mediactrl.o): In function `gst_message_unref': > /usr/include/gstreamer-0.10/gst/gstmessage.h:347: undefined reference to `gst_mini_object_unref' > /usr/local/lib/libwx_gtk2u_media-2.9.a(medialib_unix_mediactrl.o): In function > `gtk_window_expose_callback': > /home/klaas/soft/buildwx29statdeb/../wxWidgets-2.9.3/src/unix/mediactrl.cpp:280: undefined reference > to `gst_x_overlay_expose' > /usr/local/lib/libwx_gtk2u_media-2.9.a(medialib_unix_mediactrl.o): In function > `gtk_window_realize_callback': Can you compile the wxWidgets media control sample without error? Regards, John |
From: klaas.holwerda <ng...@kl...> - 2012-04-14 10:20:45
|
Hi John, Some progress, or maybe not, i am not sure ? The problem came back, both vars are empty: if ((CMAKE_SIZEOF_VOID_P MATCHES 4) OR (CMAKE_CL_64 MATCHES 0)) set(IS_32_BIT TRUE) set(IS_64_BIT FALSE) elseif((CMAKE_SIZEOF_VOID_P MATCHES 8) OR (CMAKE_CL_64 MATCHES 1)) set(IS_32_BIT FALSE) set(IS_64_BIT TRUE) else() MESSAGE(WARNING "Oops, unable to determine if using 32 or 64 bit compilation.") MESSAGE(WARNING "CMAKE_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P} CMAKE_CL_64 ${CMAKE_CL_64}" ) endif() The next is still needed: if (IS_64_BIT) add_definitions( -fPIC ) #set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -fPIC) endif() >> if (IS_64_BIT) >> add_definitions( -fPIC ) >> add_definitions( -fpermissive ) > Shouldn't need this anymore. > > But i have Gstreamer stuff installed it looks, don't know what is missing yet. I installed libgstreamer0.10-dev and enabled it in wxWidgets. [ 19%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_gdi.cpp.o /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int wxLua_wxIconBundle_AddIcon(lua_State*)’: /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7356:29: warning: ‘void wxIconBundle::AddIcon(const wxString&, long int)’ is deprecated (declared at /usr/local/include/wx-2.9/wx/iconbndl.h:91) [-Wdeprecated-declarations] /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int wxLua_wxIconBundle_GetIcon1(lua_State*)’: /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7374:63: error: taking address of temporary [-fpermissive] /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int wxLua_wxIconBundle_GetIcon(lua_State*)’: /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7394:64: error: taking address of temporary [-fpermissive] No id added this again ( -Wdeprecated-declarations does not seem to help, but i do get an enormous amount of warning about it): if (IS_64_BIT) add_definitions( -fPIC ) add_definitions(-Wdeprecated-declarations ) add_definitions(-fpermissive) #set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -fPIC) endif() I am now here: Linking CXX shared library libwx.so /usr/bin/ld: /usr/local/lib/libwx_gtk2u_stc-2.9.a(stclib_stc.o): relocation R_X86_64_32 against `wxStyledTextCtrl::sm_eventTable' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libwx_gtk2u_stc-2.9.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [modules/luamodule/libwx.so] Error 1 make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2 make: *** [all] Error 2 No idea what this is all about. I believe -fPIC was used. And libwx.so is that a wxLua lib? Now i found BUILD_SHARED_LIBS as one of the Cmake options. Linking CXX shared library libwx.so cd /home/klaas/soft/buildwxluadeb29/modules/luamodule && /usr/bin/cmake -E cmake_link_script CMakeFiles/wxLuaModule.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -pthread -g -shared -Wl,-soname,libwx.so -o libwx.so CMakeFiles/wxLuaModule.dir/src/luamodule.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxstc_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxxrc_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxrichtext_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxhtml_wxlhtml.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxhtml_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxmedia_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxaui_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxadv_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxadv_wxladv.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_dialogs.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_help.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_gdi.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_sizer.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_image.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_windows.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_print.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_geometry.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_picker.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_clipdrag.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_core.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_appframe.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_menutool.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_mdi.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_wxlcore.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_controls.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_event.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_defsutils.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxxml_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxnet_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_datetime.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_data.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_config.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_file.cpp.o CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_base.cpp.o CMakeFiles/wxLuaModule.dir/__/wxluasocket/src/dummy.cpp.o CMakeFiles/wxLuaModule.dir/__/wxluasocket/src/wxldserv.cpp.o CMakeFiles/wxLuaModule.dir/__/wxluasocket/src/wxldtarg.cpp.o CMakeFiles/wxLuaModule.dir/__/wxluasocket/src/wxlsock.cpp.o CMakeFiles/wxLuaModule.dir/__/wxluasocket/src/wxluasocket_bind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxluadebug/src/dummy.cpp.o CMakeFiles/wxLuaModule.dir/__/wxluadebug/src/wxldebug.cpp.o CMakeFiles/wxLuaModule.dir/__/wxluadebug/src/wxlstack.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/src/dummy.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/src/wxlbind.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/src/wxlcallb.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/src/wxlstate.cpp.o CMakeFiles/wxLuaModule.dir/__/wxlua/src/wxlua_bind.cpp.o -L/usr/local/lib ../lua/libLuaLibShared.so -L/usr/local/lib -pthread /usr/local/lib/libwx_gtk2u_stc-2.9.a /usr/local/lib/libwx_gtk2u_xrc-2.9.a /usr/local/lib/libwx_baseu_net-2.9.a /usr/local/lib/libwx_gtk2u_media-2.9.a /usr/local/lib/libwx_gtk2u_propgrid-2.9.a /usr/local/lib/libwx_gtk2u_richtext-2.9.a /usr/local/lib/libwx_gtk2u_aui-2.9.a /usr/local/lib/libwx_gtk2u_html-2.9.a /usr/local/lib/libwx_gtk2u_adv-2.9.a /usr/local/lib/libwx_gtk2u_core-2.9.a /usr/local/lib/libwx_baseu_xml-2.9.a /usr/local/lib/libwx_baseu-2.9.a -lwxscintilla-2.9 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lX11 -lSM -lpng -ljpeg -lexpat -lwxregexu-2.9 -lwxtiff-2.9 -lz -ldl -lm -Wl,-rpath,/usr/local/lib:/home/klaas/soft/buildwxluadeb29/modules/lua: /usr/bin/ld: /usr/local/lib/libwx_gtk2u_stc-2.9.a(stclib_stc.o): relocation R_X86_64_32 against `wxStyledTextCtrl::sm_eventTable' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libwx_gtk2u_stc-2.9.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [modules/luamodule/libwx.so] Error 1 make[2]: Leaving directory `/home/klaas/soft/buildwxluadeb29' make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2 make[1]: Leaving directory `/home/klaas/soft/buildwxluadeb29' make: *** [all] Error 2 Still see -shared in there :-( Copy paste the line and removing -shared, does not give the same errors. Looks like mediactrl is giving me problems now. But wxWidgets compiled ok. And the saple mediaplayer also, so i think that is not a ubuntu issue. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 10 /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' /usr/local/lib/libwx_gtk2u_media-2.9.a(medialib_unix_mediactrl.o): In function `gst_message_unref': /usr/include/gstreamer-0.10/gst/gstmessage.h:347: undefined reference to `gst_mini_object_unref' /usr/local/lib/libwx_gtk2u_media-2.9.a(medialib_unix_mediactrl.o): In function `gtk_window_expose_callback': /home/klaas/soft/buildwx29statdeb/../wxWidgets-2.9.3/src/unix/mediactrl.cpp:280: undefined reference to `gst_x_overlay_expose' /usr/local/lib/libwx_gtk2u_media-2.9.a(medialib_unix_mediactrl.o): In function `gtk_window_realize_callback': |
From: John L. <jla...@gm...> - 2012-04-14 02:56:44
|
On Fri, Apr 13, 2012 at 5:53 PM, klaas.holwerda <ng...@kl...> wrote: > [ 33%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_gdi.cpp.o > /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int > wxLua_wxIconBundle_AddIcon(lua_State*)’: > /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7356:29: warning: ‘void > wxIconBundle::AddIcon(const wxString&, long int)’ is deprecated (declared at > /usr/local/include/wx-2.9/wx/iconbndl.h:91) [-Wdeprecated-declarations] > /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int > wxLua_wxIconBundle_GetIcon1(lua_State*)’: > /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7374:48: error: taking address > of temporary [-fpermissive] > /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int > wxLua_wxIconBundle_GetIcon(lua_State*)’: > /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7394:49: error: taking address > of temporary [-fpermissive] > /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int > wxLua_wxDC_SetClippingRegion1(lua_State*)’: > /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:10677:36: warning: ‘void > wxDC::SetClippingRegion(const wxRegion&)’ is deprecated (declared at > /usr/local/include/wx-2.9/wx/dc.h:981) [-Wdeprecated-declarations] Hopefully fixed. I believe that this is an issue with your newer GCC being a little too aggressive about warning/erroring about getting a pointer to a returned reference to a member variable. On line 7374/7394 we call const wxIcon& wxIconBundle::GetIcon(...) const which returns a wxIcon from an array member of the wxIconBundle, so it's no more temporary then the wxIconBundle itself. > if (IS_64_BIT) > add_definitions( -fPIC ) > add_definitions( -fpermissive ) Shouldn't need this anymore. > All in all i now get to this: ... > Indeed i do not have libwx_gtk2u_media-2.9.a. > But if i add --enable-mediactrl to wxWidgets compile, i get > > checking for GST... configure: WARNING: GStreamer 0.10 not available, falling back to 0.8 > checking for GST... configure: WARNING: GStreamer 0.8/0.10 not available. > configure: error: GStreamer not available > > But i have Gstreamer stuff installed it looks, don't know what is missing yet. If you look at wxWidget's config.log you can find out what else is missing. If I remember correctly, it's a little cryptic. > So i think you best make it optional or detect it?? It will hopefully be detected now, but I don't have time to test it now. Adjust the CMake variable wxLuaBind_COMPONENTS to match wxWidgets_COMPONENTS. Regards, John |
From: John L. <jla...@gm...> - 2012-04-14 01:41:12
|
On Fri, Apr 13, 2012 at 5:16 PM, jimmy coyne <jim...@ya...> wrote: > Hi, > I just started to learn Lua and searching for a GUI library, wxLua looks > like a popular and well respected choice. My first concern (well only one at > this stage :-) ) was the date of the last build on windows, which looks like > it was 2009. Is that really the date of the last release or am I missing > something? I have been very bad about making releases. There are a few new features in the development version (subversion), but you have to compile it yourself. Most of the changes in wxWidgets 2.8 have been bug fixes for things that probably wouldn't affect wxLua users unless they wrote very complicated programs. As a normal user you would not find much, if any, difference, however I do plan to make a release soonish. As soon as I get the new build files working more smoothly. Regards, John |
From: Milind G. <mil...@gm...> - 2012-04-13 23:08:26
|
Hi Jimmy, I think the reason for that old build is that the wxwidgets library update happened just recently. Anyway the way I look at it is that this is a binding to wxWidgets which I think is a good choice to begin with. Also the community is quite active and you get help quickly from John and others on the mailing list. Milind On Fri, Apr 13, 2012 at 2:16 PM, jimmy coyne <jim...@ya...> wrote: > Hi, > I just started to learn Lua and searching for a GUI library, wxLua looks > like a popular and well respected choice. My first concern (well only one > at this stage :-) ) was the date of the last build on windows, which looks > like it was 2009. Is that really the date of the last release or am I > missing something? > Thanks, > Jimmy > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > > |
From: John L. <jla...@gm...> - 2012-04-13 22:06:10
|
ps. Do a SVN update. I had the signature wrong on wxLuaDataObjectSimple::SetData() so it would never be called by wxWidgets. Regards, John |
From: John L. <jla...@gm...> - 2012-04-13 22:02:16
|
On Thu, Apr 12, 2012 at 5:27 PM, strawman <str...@la...> wrote: > On 12/04/2012 05:23, John Labenski wrote: > > Is that what you're doing or are you trying to get HTML data from > copying from some other program? > > I'm trying to get HTML clipboard data from Firefox/Chrome; they register > a format called "HTML Format" at runtime, which has a different internal > ID to CF_HTML/wxDF_HTML, and the ID changes every time Windows is restarted. > > fmt = wx.wxDataFormat("HTML Format") > print(fmt:GetType(), wx.wxClipboard.Get():IsSupported(fmt)) > -- 49358 true > fmt = wx.wxDataFormat(wx.wxDF_HTML) > print(fmt:GetType(), wx.wxClipboard.Get():IsSupported(fmt)) > -- 30 false Weird, I don't know anything about wxDF_HTML, but the wxWidgets docs say that it's only supported with Visual Studio and non unicode builds, so there's something special about it. > I've checked this against a clipboard inspection tool and it matches the > actual contents of the clipboard, so registering the DataFormat seems to > be working. > > > If all you want is HTML from the some other program in the clipboard, > > use wxDF_HTML and don't bother with the wxLuaDataObjectSimple, see : > > http://wxlua.sourceforge.net/docs/wxluaref.html#wxDataFormatId > > Is this possible without using a DataObjectSimple? From looking at the > manual, DataFormatId is only used by DataFormat, which is only used by > DataObjectSimple. I guess not, try this after copying from Firefox or Internet Explorer. I get text from wxDF_TEXT and "HTML Format" and the HTML from the derived wxLuaDataObjectSimple, but with some sort of header on it. ----------------- htmlDataObject = wx.wxLuaDataObjectSimple(wx.wxDataFormat("HTML Format")) htmlDataObject.data = "x" -- store the data somewhere print(htmlDataObject:SetData("aaa"), htmlDataObject.data, htmlDataObject:GetDataSize(), htmlDataObject:GetDataHere()) htmlDataObject.GetDataSize = function(htmlDataObject) return string.len(htmlDataObject.data) end htmlDataObject.GetDataHere = function(htmlDataObject) return true, htmlDataObject.data end -- len must equal htmlDataObject.SetData = function(htmlDataObject,s) htmlDataObject.data = s; return true end print(htmlDataObject:SetData("aaa"), htmlDataObject.data, htmlDataObject:GetDataSize(), htmlDataObject:GetDataHere()) function GetFromClipboard(dataformat, fmt_str) local clipboard = wx.wxClipboard.Get() -- Read some text if clipboard:Open() then if clipboard:IsSupported( dataformat ) then local data = wx.wxTextDataObject() clipboard:GetData( data ) --wx.wxMessageBox( data:GetText() ) print(dataformat:GetType(), fmt_str, data:GetText()) if (fmt_str == "HTML Format") then clipboard:GetData( htmlDataObject ) print(dataformat:GetType(), fmt_str, htmlDataObject.data) end else print(dataformat:GetType(), fmt_str, "NO AVAILABLE DATA IN THIS FORMAT!") end clipboard:Close() end end GetFromClipboard(wx.wxDataFormat(wx.wxDF_TEXT), "Text") GetFromClipboard(wx.wxDataFormat(wx.wxDF_HTML), "wxDF_HTML") GetFromClipboard(wx.wxDataFormat("HTML Format"), "HTML Format") ----------- I copied the word "Include" colored red from the wxWidgets documentation in Firefox, then ran the above. false x 0 false true aaa 3 true aaa 1 Text Include 30 wxDF_HTML NO AVAILABLE DATA IN THIS FORMAT! 49379 HTML Format Include 49379 HTML Format Version:0.9 StartHTML:00000172 EndHTML:00000286 StartFragment:00000206 EndFragment:00000250 SourceURL:http://docs.wxwidgets.org/2.8/wx_wxdataobject.html#wxdataobject <html><body> <!--StartFragment--><b><font color="#FF0000">Include </font></b><!--EndFragment--> </body> </html> -------------- Regards, John |
From: klaas.holwerda <ng...@kl...> - 2012-04-13 21:53:36
|
On 12-4-2012 6:16, John Labenski wrote: > MESSAGE(WARNING "Oops, unable to determine if using 32 or 64 bit > compilation.") > endif() > > What are the values of these variables so I can fix it for systems like yours? I did get the Oops, but somehow it works now. Did an svn update, maybe it was that?? > >> And do: >> >> if (IS_64_BIT)v >> add_definitions( -fPIC ) >> #set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -fPIC) >> endif() >> >> If not i get an error that -fPIC file is not found. > I think this is right, but why do you get an error and I don't? I'm > guessing you have a newer compiler? > I use Fedora 13 : gcc version 4.4.5 20101112 (Red Hat 4.4.5-2) (GCC) Right. gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1 > >> Next comes wxLua. >> Setting: export wxStEdit_ROOT_DIR=/home/klaas/soft/buildwxsteditdeb >> did not help, so it put it straight into cmake-gui, and it can generate the make files using stedit. > Yes, this is the way to do it. Either that or run : > $cmake -DwxStEdit_ROOT_DIR=/home/klaas/soft/buildwxsteditdeb > >> Now i got stuck here, and i am lost. >> >> [ 15%] Building C object modules/lua/CMakeFiles/LuaLibShared.dir/src/lapi.c.o >> cd /home/klaas/soft/buildwxluadeb29/modules/lua&& /usr/bin/gcc -DLUA_BUILD_AS_DLL >> -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -DwxLUA_USEBINDING_WXGL=0 -DwxLUA_USEBINDING_WXSTC=1 >> -DwxLUA_USEBINDING_WXXRC=1 -DwxLUA_USEBINDING_WXRICHTEXT=1 -DwxLUA_USEBINDING_WXHTML=1 >> -DwxLUA_USEBINDING_WXMEDIA=1 -DwxLUA_USEBINDING_WXAUI=1 -DwxLUA_USEBINDING_WXADV=1 >> -DwxLUA_USEBINDING_WXCORE=1 -DwxLUA_USEBINDING_WXXML=1 -DwxLUA_USEBINDING_WXNET=1 >> -DwxLUA_USEBINDING_WXBASE=1 -DLUA_USE_LINUX -g -fPIC -isystem >> /usr/local/lib/wx/include/gtk2-unicode-static-2.9 -isystem /usr/local/include/wx-2.9 >> -I/home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/setup >> -I/home/klaas/soft/wxlua/trunk/wxLua/modules/.. >> -I/home/klaas/soft/wxlua/trunk/wxLua/modules/../modules >> -I/home/klaas/soft/wxlua/trunk/wxLua/modules/../modules/lua/src -Wall -fPIC -o >> CMakeFiles/LuaLibShared.dir/src/lapi.c.o -c /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lapi.c >> In file included from /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lapi.c:16:0: >> /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lua.h:110:1: warning: return type defaults to >> 'int' [-Wreturn-type] >> /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lua.h: In function '__declspec': >> /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lua.h:111:1: error: expected declaration >> specifiers before '__declspec' >> etc. etc. > This is really strange, I think I found the problem though. I think you did. > I had set > the compiler define LUA_BUILD_AS_DLL by accident. This doesn't explain > why I didn't get any errors/warnings in Fedora though. > > Please try again, hopefully this time it'll work better. Yes and no :-) [ 33%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_gdi.cpp.o /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int wxLua_wxIconBundle_AddIcon(lua_State*)’: /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7356:29: warning: ‘void wxIconBundle::AddIcon(const wxString&, long int)’ is deprecated (declared at /usr/local/include/wx-2.9/wx/iconbndl.h:91) [-Wdeprecated-declarations] /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int wxLua_wxIconBundle_GetIcon1(lua_State*)’: /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7374:48: error: taking address of temporary [-fpermissive] /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int wxLua_wxIconBundle_GetIcon(lua_State*)’: /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:7394:49: error: taking address of temporary [-fpermissive] /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp: In function ‘int wxLua_wxDC_SetClippingRegion1(lua_State*)’: /home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/src/wxcore_gdi.cpp:10677:36: warning: ‘void wxDC::SetClippingRegion(const wxRegion&)’ is deprecated (declared at /usr/local/include/wx-2.9/wx/dc.h:981) [-Wdeprecated-declarations] if (IS_64_BIT) add_definitions( -fPIC ) add_definitions( -fpermissive ) #set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -fPIC) endif() About the -fPIC is not out commented. i get: gcc: error: ;-fPIC: No such file or directory make[2]: *** [modules/lua/lua] Error 1 make[1]: *** [modules/lua/CMakeFiles/lua.dir/all] Error 2 make: *** [all] Error 2 All in all i now get to this: [ 59%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/src/wxlua_bind.cpp.o make[2]: *** No rule to make target `/usr/local/lib/libwx_gtk2u_media-2.9.a', needed by `modules/luamodule/libwx.so'. Stop. make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2 make: *** [all] Error 2 Indeed i do not have libwx_gtk2u_media-2.9.a. But if i add --enable-mediactrl to wxWidgets compile, i get checking for GST... configure: WARNING: GStreamer 0.10 not available, falling back to 0.8 checking for GST... configure: WARNING: GStreamer 0.8/0.10 not available. configure: error: GStreamer not available But i have Gstreamer stuff installed it looks, don't know what is missing yet. So i think you best make it optional or detect it?? Thanks, Klaas |
From: jimmy c. <jim...@ya...> - 2012-04-13 21:16:16
|
Hi, I just started to learn Lua and searching for a GUI library, wxLua looks like a popular and well respected choice. My first concern (well only one at this stage :-) ) was the date of the last build on windows, which looks like it was 2009. Is that really the date of the last release or am I missing something? Thanks, Jimmy |
From: strawman <str...@la...> - 2012-04-12 21:27:15
|
On 12/04/2012 05:23, John Labenski wrote: > Is that what you're doing or are you trying to get HTML data from copying from some other program? I'm trying to get HTML clipboard data from Firefox/Chrome; they register a format called "HTML Format" at runtime, which has a different internal ID to CF_HTML/wxDF_HTML, and the ID changes every time Windows is restarted. fmt = wx.wxDataFormat("HTML Format") print(fmt:GetType(), wx.wxClipboard.Get():IsSupported(fmt)) -- 49358 true fmt = wx.wxDataFormat(wx.wxDF_HTML) print(fmt:GetType(), wx.wxClipboard.Get():IsSupported(fmt)) -- 30 false I've checked this against a clipboard inspection tool and it matches the actual contents of the clipboard, so registering the DataFormat seems to be working. > If all you want is HTML from the some other program in the clipboard, > use wxDF_HTML and don't bother with the wxLuaDataObjectSimple, see : > http://wxlua.sourceforge.net/docs/wxluaref.html#wxDataFormatId Is this possible without using a DataObjectSimple? From looking at the manual, DataFormatId is only used by DataFormat, which is only used by DataObjectSimple. |
From: John L. <jla...@gm...> - 2012-04-12 04:24:06
|
On Wed, Apr 11, 2012 at 5:38 PM, strawman <str...@la...> wrote: > > Thanks for the update; the example above works as shown, however it > doesn't seem to play nicely with the clipboard: > > fmt = wx.wxDataFormat("HTML Format") > obj = wx.wxLuaDataObjectSimple(fmt) > obj.data = "test" > function obj:GetDataHere() return true, self.data end > function obj:GetDataSize() return self.data:len() end > function obj:SetData(d) self.data = d return true end > > clip = wx.wxClipboard.Get() > print(clip:IsSupported(fmt), clip:GetData(obj)) > --> true false > print(obj.data) > --> "test" > > I've doublechecked the contents of the clipboard and there is definitely > data available. I've also tried passing 1 and 13 (CF_TEXT and > CF_UNICODETEXT) to wxDataFormat, with the same result. I think for custom formats you have to set the data to the clipboard yourself. Is that what you're doing or are you trying to get HTML data from copying from some other program? Try pasting a different wx.wxLuaDataObjectSimple to the clipboard, but with the same wxDataFormat and see if you can retrieve that. If all you want is HTML from the some other program in the clipboard, use wxDF_HTML and don't bother with the wxLuaDataObjectSimple, see : http://wxlua.sourceforge.net/docs/wxluaref.html#wxDataFormatId Regards, John |
From: John L. <jla...@gm...> - 2012-04-12 04:16:32
|
On Wed, Apr 11, 2012 at 4:02 PM, klaas.holwerda <ng...@kl...> wrote: > Hi, > > I am trying to compile wxLua and wxCode its stedit for wxWidgets2.9.3, on Ubuntu 64 bit. > stedit i finally managed. > By forcing it to use (else could not be detected): > set(IS_32_BIT FALSE) > set(IS_64_BIT TRUE) Why can it not be detected? In CMakewxAppLib.txt there is: if ((CMAKE_SIZEOF_VOID_P MATCHES 4) OR (CMAKE_CL_64 MATCHES 0)) set(IS_32_BIT TRUE) set(IS_64_BIT FALSE) elseif((CMAKE_SIZEOF_VOID_P MATCHES 8) OR (CMAKE_CL_64 MATCHES 1)) set(IS_32_BIT FALSE) set(IS_64_BIT TRUE) else() MESSAGE(WARNING "Oops, unable to determine if using 32 or 64 bit compilation.") endif() What are the values of these variables so I can fix it for systems like yours? > And do: > > if (IS_64_BIT)v > add_definitions( -fPIC ) > #set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -fPIC) > endif() > > If not i get an error that -fPIC file is not found. I think this is right, but why do you get an error and I don't? I'm guessing you have a newer compiler? I use Fedora 13 : gcc version 4.4.5 20101112 (Red Hat 4.4.5-2) (GCC) > Next comes wxLua. > Setting: export wxStEdit_ROOT_DIR=/home/klaas/soft/buildwxsteditdeb > did not help, so it put it straight into cmake-gui, and it can generate the make files using stedit. Yes, this is the way to do it. Either that or run : $cmake -DwxStEdit_ROOT_DIR=/home/klaas/soft/buildwxsteditdeb > Now i got stuck here, and i am lost. > > [ 15%] Building C object modules/lua/CMakeFiles/LuaLibShared.dir/src/lapi.c.o > cd /home/klaas/soft/buildwxluadeb29/modules/lua && /usr/bin/gcc -DLUA_BUILD_AS_DLL > -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -DwxLUA_USEBINDING_WXGL=0 -DwxLUA_USEBINDING_WXSTC=1 > -DwxLUA_USEBINDING_WXXRC=1 -DwxLUA_USEBINDING_WXRICHTEXT=1 -DwxLUA_USEBINDING_WXHTML=1 > -DwxLUA_USEBINDING_WXMEDIA=1 -DwxLUA_USEBINDING_WXAUI=1 -DwxLUA_USEBINDING_WXADV=1 > -DwxLUA_USEBINDING_WXCORE=1 -DwxLUA_USEBINDING_WXXML=1 -DwxLUA_USEBINDING_WXNET=1 > -DwxLUA_USEBINDING_WXBASE=1 -DLUA_USE_LINUX -g -fPIC -isystem > /usr/local/lib/wx/include/gtk2-unicode-static-2.9 -isystem /usr/local/include/wx-2.9 > -I/home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/setup > -I/home/klaas/soft/wxlua/trunk/wxLua/modules/.. > -I/home/klaas/soft/wxlua/trunk/wxLua/modules/../modules > -I/home/klaas/soft/wxlua/trunk/wxLua/modules/../modules/lua/src -Wall -fPIC -o > CMakeFiles/LuaLibShared.dir/src/lapi.c.o -c /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lapi.c > In file included from /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lapi.c:16:0: > /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lua.h:110:1: warning: return type defaults to > 'int' [-Wreturn-type] > /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lua.h: In function '__declspec': > /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lua.h:111:1: error: expected declaration > specifiers before '__declspec' > etc. etc. This is really strange, I think I found the problem though. I had set the compiler define LUA_BUILD_AS_DLL by accident. This doesn't explain why I didn't get any errors/warnings in Fedora though. Please try again, hopefully this time it'll work better. Regards, John |
From: strawman <str...@la...> - 2012-04-11 21:39:11
|
On 09/04/2012 04:57, John Labenski wrote: > Usage is as follows: > > ------------------------ > d = wx.wxLuaDataObjectSimple(wx.wxDataFormat("asd")) > > d.data = "x" -- store the data somewhere > > print(d:SetData("aaa"), d.data, d:GetDataSize(), d:GetDataHere()) > > d.GetDataSize = function(d) return string.len(d.data) end > d.GetDataHere = function(d) return true, d.data end -- len must equal > GetDataSize() > d.SetData = function(d,s) d.data = s; return true end > > print(d:SetData("aaa"), d.data, d:GetDataSize(), d:GetDataHere()) > ----------------------------- > output will be: > > false x 0 false > true aaa 3 true aaa > > > I have not had time to test it further, but it should work with the > clipboard, please let me know if it doesn't. Thanks for the update; the example above works as shown, however it doesn't seem to play nicely with the clipboard: fmt = wx.wxDataFormat("HTML Format") obj = wx.wxLuaDataObjectSimple(fmt) obj.data = "test" function obj:GetDataHere() return true, self.data end function obj:GetDataSize() return self.data:len() end function obj:SetData(d) self.data = d return true end clip = wx.wxClipboard.Get() print(clip:IsSupported(fmt), clip:GetData(obj)) --> true false print(obj.data) --> "test" I've doublechecked the contents of the clipboard and there is definitely data available. I've also tried passing 1 and 13 (CF_TEXT and CF_UNICODETEXT) to wxDataFormat, with the same result. |
From: klaas.holwerda <ng...@kl...> - 2012-04-11 20:28:32
|
Hi, I am trying to compile wxLua and wxCode its stedit for wxWidgets2.9.3, on Ubuntu 64 bit. stedit i finally managed. By forcing it to use (else could not be detected): set(IS_32_BIT FALSE) set(IS_64_BIT TRUE) And do: if (IS_64_BIT) add_definitions( -fPIC ) #set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -fPIC) endif() If not i get an error that -fPIC file is not found. Next comes wxLua. Setting: export wxStEdit_ROOT_DIR=/home/klaas/soft/buildwxsteditdeb did not help, so it put it straight into cmake-gui, and it can generate the make files using stedit. Now i got stuck here, and i am lost. Any ideas? Klaas [ 15%] Building C object modules/lua/CMakeFiles/LuaLibShared.dir/src/lapi.c.o cd /home/klaas/soft/buildwxluadeb29/modules/lua && /usr/bin/gcc -DLUA_BUILD_AS_DLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -DwxLUA_USEBINDING_WXGL=0 -DwxLUA_USEBINDING_WXSTC=1 -DwxLUA_USEBINDING_WXXRC=1 -DwxLUA_USEBINDING_WXRICHTEXT=1 -DwxLUA_USEBINDING_WXHTML=1 -DwxLUA_USEBINDING_WXMEDIA=1 -DwxLUA_USEBINDING_WXAUI=1 -DwxLUA_USEBINDING_WXADV=1 -DwxLUA_USEBINDING_WXCORE=1 -DwxLUA_USEBINDING_WXXML=1 -DwxLUA_USEBINDING_WXNET=1 -DwxLUA_USEBINDING_WXBASE=1 -DLUA_USE_LINUX -g -fPIC -isystem /usr/local/lib/wx/include/gtk2-unicode-static-2.9 -isystem /usr/local/include/wx-2.9 -I/home/klaas/soft/wxlua/trunk/wxLua/modules/wxbind/setup -I/home/klaas/soft/wxlua/trunk/wxLua/modules/.. -I/home/klaas/soft/wxlua/trunk/wxLua/modules/../modules -I/home/klaas/soft/wxlua/trunk/wxLua/modules/../modules/lua/src -Wall -fPIC -o CMakeFiles/LuaLibShared.dir/src/lapi.c.o -c /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lapi.c In file included from /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lapi.c:16:0: /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lua.h:110:1: warning: return type defaults to 'int' [-Wreturn-type] /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lua.h: In function '__declspec': /home/klaas/soft/wxlua/trunk/wxLua/modules/lua/src/lua.h:111:1: error: expected declaration specifiers before '__declspec' etc. etc. |
From: John L. <jla...@gm...> - 2012-04-09 03:57:31
|
On Sat, Apr 7, 2012 at 7:40 PM, strawman <str...@la...> wrote: > From the wx docs for wxDataObjectSimple: > > "Notice that this is still an abstract base class and cannot be used but > should be derived from. > The objects supporting rendering the data must override GetDataSize and > GetDataHere while the objects which may be set must override SetData." > > Is it possible to use this class from Lua? I'm trying to register a > custom clipboard format and can't see any other way of passing a custom > wxDataFormat. I just added it, you can of course simply use a seriallized string for exchanging any kind of data and in some cases that might be simplest. However to use a wxDataObjectSimple, get the newest version of wxLua from subversion. Usage is as follows: ------------------------ d = wx.wxLuaDataObjectSimple(wx.wxDataFormat("asd")) d.data = "x" -- store the data somewhere print(d:SetData("aaa"), d.data, d:GetDataSize(), d:GetDataHere()) d.GetDataSize = function(d) return string.len(d.data) end d.GetDataHere = function(d) return true, d.data end -- len must equal GetDataSize() d.SetData = function(d,s) d.data = s; return true end print(d:SetData("aaa"), d.data, d:GetDataSize(), d:GetDataHere()) ----------------------------- output will be: false x 0 false true aaa 3 true aaa I have not had time to test it further, but it should work with the clipboard, please let me know if it doesn't. Regards, John |
From: strawman <str...@la...> - 2012-04-07 23:40:50
|
From the wx docs for wxDataObjectSimple: "Notice that this is still an abstract base class and cannot be used but should be derived from. The objects supporting rendering the data must override GetDataSize and GetDataHere while the objects which may be set must override SetData." Is it possible to use this class from Lua? I'm trying to register a custom clipboard format and can't see any other way of passing a custom wxDataFormat. |
From: SourceForge.net <no...@so...> - 2012-03-29 21:41:17
|
Bugs item #3512981, was opened at 2012-03-29 14:41 Message generated for change (Tracker Item Submitted) made by furq You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745324&aid=3512981&group_id=140042 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: furq (furq) Assigned to: Nobody/Anonymous (nobody) Summary: wxDir.GetAllFiles ignores third parameter Initial Comment: From the manual: wxDir::GetAllFiles(const wxString& dirname, const wxString& filespec = "", int flags = wxDIR_DEFAULT) The 'flags' parameter is silently ignored unless a fourth parameter is set. wx.wxDir.GetAllFiles("/path/to/dir", "", wx.wxDIR_FILES) -- passes wxDIR_DEFAULT wx.wxDir.GetAllFiles("/path/to/dir", "", wx.wxDIR_FILES, 0) -- passes wxDIR_FILES wxLua SVN, wx 2.8.12, Lua 5.1.4. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745324&aid=3512981&group_id=140042 |
From: John L. <jla...@gm...> - 2012-03-28 04:28:08
|
On Tue, Mar 27, 2012 at 12:37 AM, John Labenski <jla...@gm...> wrote: > > I just got a OSX machine I can use and will try some things tomorrow. Back to your original, problem with OSX. wxLua now build in 2.8 and 2.9 using the CMake build files. The bundles are not very good, but it builds and the apps run. Regards, John |
From: John L. <jla...@gm...> - 2012-03-27 04:37:14
|
On Thu, Mar 22, 2012 at 5:27 AM, Konstantin <lal...@gm...> wrote: > Hello John! > > First, i need static build of wxLua on wxWidgets 2.9.3, and that's why i > didn't use CMake: The CMake build is brand new and does not work in OSX, though your errors above are for GTK. What exactly are you building on? > Compilation just fail in the built-in lua (See log). > > Second, i need my system lua (5.1 in static), and I can do it via > ./configure. > That's why i use wxLua, configured with ./configure tool. Does that work? You show errors for CMake, but configure should still work. > Third, I just need gl-binds for wxWidgets 2.9.3, but in the wxLua-trunk > gl-binds for wxWidgets 2.8, I think. To quickly "fix" problems like these, just rem out the offending gl binding function parts. You will not be able to use them in Lua, but if you don't care, it's just as well until I get some more time to better update to 2.9. Note that 2.9 does work in GTK2 and MSW. --------------- You have some strange errors, I don't know how or why '__declspec' would or could get defined for a GTK build. I just got a OSX machine I can use and will try some things tomorrow. Regards, John |
From: Konstantin <lal...@gm...> - 2012-03-22 09:27:34
|
Hello John! First, i need static build of wxLua on wxWidgets 2.9.3, and that's why i didn't use CMake: Compilation just fail in the built-in lua (See log). Second, i need my system lua (5.1 in static), and I can do it via ./configure. That's why i use wxLua, configured with ./configure tool. Third, I just need gl-binds for wxWidgets 2.9.3, but in the wxLua-trunk gl-binds for wxWidgets 2.8, I think. Best wishez, KOS) BIG LOG below: bash-4.1# svn up At revision 44. bash-4.1# cd b bin/ bindings/ build/ build-CMAKE/ build-RELEASE/ bash-4.1# cd build-CMAKE/ bash-4.1# cmake ../ -DCMAKE_BUILD_TYPE=Release -DwxWidgets_CONFIG_EXECUTABLE=/root/MyProject/bin/wx-config -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./INSTALL -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /root/bin/gcc -- Check for working C compiler: /root/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /root/bin/c++ -- Check for working CXX compiler: /root/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- * --------------------------------------------------------------------------- -- * CMake command line options and tips specific to this project -- * -- * In the CMake GUI you can set values and press configure a few times since -- * sometimes once is not enough, after a few configurations, press generate. -- * -- * Usage: cmake -D[OPTION_NAME]=[OPTION_VALUE] /path/to/CMakeLists.txt/ -- * --------------------------------------------------------------------------- -- * -DHELP=1 -- * Show this help message and exit, no files will be generated. -- * -DCMAKE_BUILD_TYPE=[Debug, Release, RelWithDebInfo, MinSizeRel] : (Default Debug) -- * Makefiles : Set the build type to Debug, Release... -- * MSVC GUI : No need to set this since you choose it in the GUI. -- * -DBUILD_SHARED_LIBS=[TRUE, FALSE] : (Default static in MSW, shared in Linux) -- * Build shared (DLL) or static libraries. -- * Currently ONLY an all shared (DLL) or all static build is supported. -- * I.E. If you choose shared you must link to shared wxWidgets libs. -- * -- * Finding wxWidgets for MSW and MSVC -- * -DwxWidgets_ROOT_DIR=[path] : (e.g. /path/to/wxWidgets/) -- * Path to the root of the wxWidgets build, must at least set this. -- * -DwxWidgets_LIB_DIR=[path] : (e.g. /path/to/wxWidgets/lib/vc_lib/) -- * Path to the wxWidgets lib dir also set this if libs can't be found. -- * -DwxWidgets_CONFIGURATION=[configuration] : -- * Set wxWidgets configuration; e.g. msw, mswd, mswud, mswunivud... -- * Where 'u' = unicode and 'd' = debug. -- * MSVC GUI : You need only choose msw, mswu, mswuniv, mswunivu since -- * release or debug mode is chosen in the GUI. -- * -DwxWidgets_COMPONENTS=[...stc;html;adv;core;base or mono] : -- * For non-monolithic builds choose the wxWidgets libs to link to. -- * xrc;xml;gl;net;media;propgrid;richtext;aui;stc;html;adv;core;base -- * For monolithic builds choose mono and the contribs libs. -- * stc;mono -- * The extra decorations, e.g. wxmsw28ud_adv.lib, will be searched for. -- * Libs that cannot be found will be printed below, please fix/remove -- * them to be able to build this project. -- * You will get strange compilation/linker errors if wxWidgets is not found. -- * -- * Finding wxWidgets for GCC and Unix type systems -- * -DwxWidgets_CONFIG_EXECUTABLE=[path/to/wx-config] : -- * Specify path to wx-config script for GCC and Unix type builds -- * --------------------------------------------------------------------------- -- -- -- ***************************************************************************** -- * BUILD TYPE: Release -- * BUILD_SHARED_LIBS: OFF -- ***************************************************************************** -- * System is 32-bit FALSE, is 64-bit TRUE -- ***************************************************************************** -- * CMAKE_SOURCE_DIR = /root/build/wxlua/trunk/wxLua -- * CMAKE_BINARY_DIR = /root/build/wxlua/trunk/wxLua/build-CMAKE -- ***************************************************************************** -- -- * Using these wxWidgets components: stc;xrc;xml;net;media;propgrid;richtext;aui;html;adv;core;base -- Found wxWidgets: TRUE -- * -- * Found wxWidgets : -- * - wxWidgets_VERSION = 2.9.3 = 2.9.3 -- * - wxWidgets_COMPONENTS = stc;xrc;xml;net;media;propgrid;richtext;aui;html;adv;core;base -- * - wxWidgets_INCLUDE_DIRS = /root/MyProject/lib/wx/include/gtk2-unicode-static-2.9;/root/MyProject/include/wx-2.9 -- * - wxWidgets_LIBRARY_DIRS = /root/MyProject/lib;/root/MyProject/lib -- * - wxWidgets_LIBRARIES = -L/root/MyProject/lib;-pthread;;;/root/MyProject/lib/libwx_gtk2u_stc-2.9.a;/root/MyProject/lib/libwx_gtk2u_xrc-2.9.a;/root/MyProject/lib/libwx_baseu_net-2.9.a;/root/MyProject/lib/libwx_gtk2u_media-2.9.a;/root/MyProject/lib/libwx_gtk2u_propgrid-2.9.a;/root/MyProject/lib/libwx_gtk2u_richtext-2.9.a;/root/MyProject/lib/libwx_gtk2u_aui-2.9.a;/root/MyProject/lib/libwx_gtk2u_html-2.9.a;/root/MyProject/lib/libwx_gtk2u_adv-2.9.a;/root/MyProject/lib/libwx_gtk2u_core-2.9.a;/root/MyProject/lib/libwx_baseu_xml-2.9.a;/root/MyProject/lib/libwx_baseu-2.9.a;-lwxscintilla-2.9;-pthread;-L/root/MyProject/lib;-lgtk-x11-2.0;-lgdk-x11-2.0;-latk-1.0;-lgio-2.0;-lpangoft2-1.0;-lpangocairo-1.0;-lgdk_pixbuf-2.0;-lcairo;-lpango-1.0;-lfreetype;-lfontconfig;-lgobject-2.0;-lgmodule-2.0;-lgthread-2.0;-lrt;-lglib-2.0;-lX11;-lXxf86vm;-lSM;-lpng;-ljpeg;-ltiff;-lexpat;-lwxregexu-2.9;-lz;-ldl;-lm -- * - wxWidgets_CXX_FLAGS = -pthread -- * - wxWidgets_DEFINITIONS = _FILE_OFFSET_BITS=64;__WXGTK__ -- * - wxWidgets_DEFINITIONS_DEBUG = -- * - wxWidgets_PORTNAME = gtk2 -- * - wxWidgets_UNIVNAME = -- * - wxWidgets_UNICODEFLAG = u -- * - wxWidgets_DEBUGFLAG = -- * -- * WARNING: Specified wxLuaBinding lib 'gl' in variable wxLuaBind_COMPONENTS is missing from wxWidgets_COMPONENTS so it will not be compiled. -- * WARNING: cppcheck NOT found, NOT generating ADD_CPPCHECK_TEST() tests -- Found Doxygen: /usr/bin/doxygen -- * Doxygen found, run $make wxLua_doxygen to generate documentation in folder -- * WARNING: wxLuaEdit application will not be built since wxStEdit was not found. -- * WARNING: wxStEdit_ROOT_DIR directory does not exist: '' -- Configuring done -- Generating done -- Build files have been written to: /root/build/wxlua/trunk/wxLua/build-CMAKE bash-4.1# make Scanning dependencies of target LuaLib [ 0%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lapi.c.o [ 1%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lcode.c.o [ 2%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/ldebug.c.o [ 3%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/ldo.c.o [ 4%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/ldump.c.o [ 5%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lfunc.c.o [ 5%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lgc.c.o [ 6%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/llex.c.o [ 7%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lmem.c.o [ 8%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lobject.c.o [ 9%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lopcodes.c.o [ 10%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lparser.c.o [ 10%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lstate.c.o [ 11%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lstring.c.o [ 12%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/ltable.c.o [ 13%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/ltm.c.o [ 14%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lundump.c.o [ 15%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lvm.c.o [ 15%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lzio.c.o [ 16%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lauxlib.c.o [ 17%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lbaselib.c.o [ 18%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/ldblib.c.o [ 19%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/liolib.c.o [ 20%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lmathlib.c.o [ 20%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/loslib.c.o [ 21%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/ltablib.c.o [ 22%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/lstrlib.c.o [ 23%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/loadlib.c.o [ 24%] Building C object modules/lua/CMakeFiles/LuaLib.dir/src/linit.c.o Linking C static library libLuaLib.a [ 24%] Built target LuaLib Scanning dependencies of target LuaLibShared [ 25%] Building C object modules/lua/CMakeFiles/LuaLibShared.dir/src/lapi.c.o In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:16:0: /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:110:1: warning: return type defaults to `int' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h: In function `__declspec': /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:111:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:112:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:114:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:120:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:121:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:122:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:123:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:124:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:125:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:126:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:128:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:135:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:136:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:137:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:138:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:139:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:140:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:142:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:143:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:144:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:146:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:147:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:148:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:149:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:150:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:151:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:152:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:153:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:154:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:160:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:161:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:162:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:163:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:164:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:165:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:167:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:168:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:169:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:170:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:171:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:177:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:178:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:179:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:180:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:181:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:182:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:183:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:184:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:190:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:191:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:192:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:193:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:194:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:195:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:201:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:202:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:203:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:204:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:207:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:213:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:214:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:215:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:230:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:237:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:239:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:241:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:243:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:244:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:298:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:326:26: error: storage class specified for parameter `lua_Debug' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:330:41: error: expected declaration specifiers or `...' before `lua_Debug' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:330:16: error: storage class specified for parameter `lua_Hook' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:333:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:334:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:335:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:336:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:337:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:338:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:340:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:341:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:342:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:343:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:346:1: warning: empty declaration In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:15:0, from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.h:11, from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:18: /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:18:21: error: storage class specified for parameter `lu_int32' /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:20:19: error: storage class specified for parameter `lu_mem' /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:22:18: error: storage class specified for parameter `l_mem' /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:27:23: error: storage class specified for parameter `lu_byte' /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:47:31: error: storage class specified for parameter `L_Umaxalign' /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:51:24: error: storage class specified for parameter `l_uacNumber' /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:88:18: error: expected `=', `,', `;', `asm' or `__attribute__' before `Instruction' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.h:11:0, from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:18: /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:36:24: error: storage class specified for parameter `GCObject' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:50:3: error: expected specifier-qualifier-list before `GCObject' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:51:3: error: storage class specified for parameter `GCheader' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:60:3: error: expected specifier-qualifier-list before `GCObject' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:64:3: error: storage class specified for parameter `Value' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:74:3: error: expected specifier-qualifier-list before `Value' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:75:3: error: storage class specified for parameter `TValue' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:193:16: error: expected `=', `,', `;', `asm' or `__attribute__' before `*' token /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:200:3: error: expected specifier-qualifier-list before `L_Umaxalign' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:207:3: error: storage class specified for parameter `TString' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:216:3: error: expected specifier-qualifier-list before `L_Umaxalign' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:223:3: error: storage class specified for parameter `Udata' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:232:3: error: expected specifier-qualifier-list before `GCObject' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:253:3: error: storage class specified for parameter `Proto' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:263:3: error: expected specifier-qualifier-list before `TString' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:266:3: error: storage class specified for parameter `LocVar' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:275:3: error: expected specifier-qualifier-list before `GCObject' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:284:3: error: storage class specified for parameter `UpVal' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:296:3: error: expected specifier-qualifier-list before `GCObject' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:299:3: error: storage class specified for parameter `CClosure' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:303:3: error: expected specifier-qualifier-list before `GCObject' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:306:3: error: storage class specified for parameter `LClosure' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:310:3: error: expected specifier-qualifier-list before `CClosure' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:312:3: error: storage class specified for parameter `Closure' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:325:5: error: expected specifier-qualifier-list before `Value' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:328:3: error: expected specifier-qualifier-list before `TValue' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:329:3: error: storage class specified for parameter `TKey' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:333:3: error: expected specifier-qualifier-list before `TValue' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:335:3: error: storage class specified for parameter `Node' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:339:3: error: expected specifier-qualifier-list before `GCObject' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:348:3: error: storage class specified for parameter `Table' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:365:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:369:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:370:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:371:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:372:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:373:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:374:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:376:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:377:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:18:0: /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.h:14:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:13:0, from /root/build/wxlua/trunk/wxLua/modules/lua/src/ldebug.h:11, from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:19: /root/build/wxlua/trunk/wxLua/modules/lua/src/ltm.h:37:3: error: storage class specified for parameter `TMS' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltm.h:46:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltm.h:49:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltm.h:50:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltm.h:52:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lzio.h:13:0, from /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:14, from /root/build/wxlua/trunk/wxLua/modules/lua/src/ldebug.h:11, from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:19: /root/build/wxlua/trunk/wxLua/modules/lua/src/lmem.h:41:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lmem.h:43:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lmem.h:44:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:14:0, from /root/build/wxlua/trunk/wxLua/modules/lua/src/ldebug.h:11, from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:19: /root/build/wxlua/trunk/wxLua/modules/lua/src/lzio.h:18:20: error: storage class specified for parameter `ZIO' /root/build/wxlua/trunk/wxLua/modules/lua/src/lzio.h:28:3: error: storage class specified for parameter `Mbuffer' /root/build/wxlua/trunk/wxLua/modules/lua/src/lzio.h:46:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lzio.h:47:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lzio.h:49:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lzio.h:50:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lzio.h:56:1: warning: empty declaration /root/build/wxlua/trunk/wxLua/modules/lua/src/lzio.h:65:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/ldebug.h:11:0, from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:19: /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:18:1: warning: empty declaration /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:39:3: error: expected specifier-qualifier-list before `GCObject' /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:42:3: error: storage class specified for parameter `stringtable' /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:49:3: error: expected specifier-qualifier-list before `StkId' /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:55:3: error: storage class specified for parameter `CallInfo' /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:69:3: error: expected specifier-qualifier-list before `stringtable' /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:94:3: error: storage class specified for parameter `global_State' /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:101:3: error: expected specifier-qualifier-list before `GCObject' /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:100:1: warning: empty declaration /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:137:3: error: expected specifier-qualifier-list before `GCheader' /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:136:1: warning: empty declaration /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:165:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:166:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:19:0: /root/build/wxlua/trunk/wxLua/modules/lua/src/ldebug.h:21:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldebug.h:23:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldebug.h:24:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldebug.h:26:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldebug.h:28:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldebug.h:29:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldebug.h:30:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldebug.h:31:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:20:0: /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:38:16: error: storage class specified for parameter `Pfunc' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:40:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:41:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:42:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:43:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:44:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:46:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:47:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:48:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:49:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:51:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:52:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:54:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:21:0: /root/build/wxlua/trunk/wxLua/modules/lua/src/lfunc.h:21:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lfunc.h:22:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lfunc.h:23:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lfunc.h:24:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lfunc.h:25:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lfunc.h:26:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lfunc.h:27:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lfunc.h:28:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lfunc.h:29:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lfunc.h:30:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:22:0: /root/build/wxlua/trunk/wxLua/modules/lua/src/lgc.h:99:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lgc.h:100:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lgc.h:101:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lgc.h:102:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lgc.h:103:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lgc.h:104:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lgc.h:105:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lgc.h:106:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lgc.h:107:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:26:0: /root/build/wxlua/trunk/wxLua/modules/lua/src/lstring.h:26:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lstring.h:27:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lstring.h:28:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:27:0: /root/build/wxlua/trunk/wxLua/modules/lua/src/ltable.h:21:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltable.h:22:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltable.h:23:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltable.h:24:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltable.h:25:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltable.h:26:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltable.h:27:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltable.h:28:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltable.h:29:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltable.h:30:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/ltable.h:31:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:29:0: /root/build/wxlua/trunk/wxLua/modules/lua/src/lundump.h:14:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lundump.h:17:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lundump.h:20:1: error: expected declaration specifiers before `__attribute__' In file included from /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:30:0: /root/build/wxlua/trunk/wxLua/modules/lua/src/lvm.h:25:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lvm.h:26:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lvm.h:27:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lvm.h:28:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lvm.h:29:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lvm.h:31:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lvm.h:33:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lvm.h:34:1: error: expected declaration specifiers before `__attribute__' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:34:1: error: parameter `lua_ident' is initialized /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:49:15: error: expected `=', `,', `;', `asm' or `__attribute__' before `*' token /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:79:14: error: expected `=', `,', `;', `asm' or `__attribute__' before `*' token /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:89:43: warning: type defaults to `int' in declaration of `TValue' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:89:50: error: expected `;', `,' or `)' before `*' token /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:95:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:110:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:125:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:130:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:140:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:159:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:164:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:180:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:191:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:203:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:228:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:242:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:248:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:254:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:260:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:267:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:273:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:279:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:287:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:299:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:313:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:323:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:337:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:343:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:361:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:379:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:385:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:395:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:401:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:421:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:429:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:437:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:445:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:454:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:462:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:473:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:486:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:503:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:511:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:519:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:534:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:544:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:557:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:567:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:578:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:587:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:616:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:645:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:657:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:671:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:684:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:697:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:734:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:776:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:793:3: error: expected specifier-qualifier-list before `StkId' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:792:1: warning: empty declaration /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:798:45: error: expected `=', `,', `;', `asm' or `__attribute__' before `{' token /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:805:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:831:1: warning: empty declaration /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:837:46: error: expected `=', `,', `;', `asm' or `__attribute__' before `{' token /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:850:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:862:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:875:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:890:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:899:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:964:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:973:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:990:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:1007:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:1017:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:1025:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:1039:39: error: expected `)' before `fi' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:1057:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:1071:1: error: expected declaration specifiers before `__declspec' /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:34:12: error: declaration for parameter `lua_ident' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/ldo.h:38:16: error: declaration for parameter `Pfunc' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:94:3: error: declaration for parameter `global_State' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:55:3: error: declaration for parameter `CallInfo' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lstate.h:42:3: error: declaration for parameter `stringtable' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lzio.h:28:3: error: declaration for parameter `Mbuffer' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lzio.h:18:20: error: declaration for parameter `ZIO' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/ltm.h:37:3: error: declaration for parameter `TMS' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:348:3: error: declaration for parameter `Table' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:335:3: error: declaration for parameter `Node' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:329:3: error: declaration for parameter `TKey' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:312:3: error: declaration for parameter `Closure' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:306:3: error: declaration for parameter `LClosure' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:299:3: error: declaration for parameter `CClosure' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:284:3: error: declaration for parameter `UpVal' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:266:3: error: declaration for parameter `LocVar' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:253:3: error: declaration for parameter `Proto' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:223:3: error: declaration for parameter `Udata' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:207:3: error: declaration for parameter `TString' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:75:3: error: declaration for parameter `TValue' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:64:3: error: declaration for parameter `Value' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:51:3: error: declaration for parameter `GCheader' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lobject.h:36:24: error: declaration for parameter `GCObject' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:51:24: error: declaration for parameter `l_uacNumber' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:47:31: error: declaration for parameter `L_Umaxalign' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:27:23: error: declaration for parameter `lu_byte' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:22:18: error: declaration for parameter `l_mem' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:20:19: error: declaration for parameter `lu_mem' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/llimits.h:18:21: error: declaration for parameter `lu_int32' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:330:16: error: declaration for parameter `lua_Hook' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:326:26: error: declaration for parameter `lua_Debug' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lua.h:110:21: error: declaration for parameter `lua_newstate' but no such parameter /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:1086:1: error: expected `{' at end of input /root/build/wxlua/trunk/wxLua/modules/lua/src/lapi.c:1086:1: warning: control reaches end of non-void function make[2]: *** [modules/lua/CMakeFiles/LuaLibShared.dir/src/lapi.c.o] Error 1 make[1]: *** [modules/lua/CMakeFiles/LuaLibShared.dir/all] Error 2 make: *** [all] Error 2 bash-4.1# 16 марта 2012 г. 6:41 пользователь John Labenski <jla...@gm...>написал: > Please do an update and try again. I have adjusted the way the gl lib > is handled recently. > > If that doesn't fix it, does the output of CMake say anything about gl > being missing? There is a whole section about what is found, could you > post that. > > Regards, > John > > > On Thu, Mar 15, 2012 at 4:04 AM, Konstantin <lal...@gm...> wrote: > > Hello! > > > > Build in static: > > > > /Users/KOS/tmp/wxlua/trunk/wxLua-build/bk-deps g++ -c -o > > wxbindgl_lib_wxgl_bind.o -I./.pch/wxprec_wxbindgl_lib > > -I../modules/wxbind/setup -I../modules -I./.. > > -I/Users/KOS/tmp/wxlua/trunk/wxLua-build/./modules/lua/include > > -I/Users/KOS/BUILD/lib/wx/include/osx_cocoa-unicode-static-2.9 > > -I/Users/KOS/BUILD/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -D__WXMAC__ > > -D__WXOSX__ -D__WXOSX_COCOA__ -O2 -fno-common > ./wxbind/src/wxgl_bind.cpp > > ./wxbind/src/wxgl_bind.cpp: In function ‘int > > wxLua_wxGLCanvas_GetContext(lua_State*)’: > > ./wxbind/src/wxgl_bind.cpp:40: warning: ‘GetContext’ is deprecated > (declared > > at /Users/KOS/BUILD/include/wx-2.9/wx/glcanvas.h:137) > > ./wxbind/src/wxgl_bind.cpp: In function ‘int > > wxLua_wxGLCanvas_SetCurrent(lua_State*)’: > > ./wxbind/src/wxgl_bind.cpp:93: warning: ‘SetCurrent’ is deprecated > (declared > > at /Users/KOS/BUILD/include/wx-2.9/wx/glcanvas.h:139) > > ./wxbind/src/wxgl_bind.cpp: In function ‘int > > wxLua_wxGLCanvas_constructor2(lua_State*)’: > > ./wxbind/src/wxgl_bind.cpp:180: warning: ‘__comp_ctor ’ is deprecated > > (declared at /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:120) > > ./wxbind/src/wxgl_bind.cpp: In function ‘int > > wxLua_wxGLCanvas_constructor1(lua_State*)’: > > ./wxbind/src/wxgl_bind.cpp:216: warning: ‘__comp_ctor ’ is deprecated > > (declared at /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:108) > > ./wxbind/src/wxgl_bind.cpp: In function ‘int > > wxLua_wxGLCanvas_constructor(lua_State*)’: > > ./wxbind/src/wxgl_bind.cpp:250: warning: ‘__comp_ctor ’ is deprecated > > (declared at /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:97) > > ./wxbind/src/wxgl_bind.cpp: In function ‘int > > wxLua_wxGLContext_SetCurrent1(lua_State*)’: > > ./wxbind/src/wxgl_bind.cpp:401: error: no matching function for call to > > ‘wxGLContext::SetCurrent()’ > > /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:42: note: candidates > are: > > virtual bool wxGLContext::SetCurrent(const wxGLCanvas&) const > > make[1]: *** [wxbindgl_lib_wxgl_bind.o] Error 1 > > make: *** [modules] Error 2 > > > > KOS > > > > > > > ------------------------------------------------------------------------------ > > This SF email is sponsosred by: > > Try Windows Azure free for 90 days Click Here > > http://p.sf.net/sfu/sfd2d-msazure > > _______________________________________________ > > wxlua-users mailing list > > wxl...@li... > > https://lists.sourceforge.net/lists/listinfo/wxlua-users > > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |
From: John L. <jla...@gm...> - 2012-03-16 02:41:41
|
Please do an update and try again. I have adjusted the way the gl lib is handled recently. If that doesn't fix it, does the output of CMake say anything about gl being missing? There is a whole section about what is found, could you post that. Regards, John On Thu, Mar 15, 2012 at 4:04 AM, Konstantin <lal...@gm...> wrote: > Hello! > > Build in static: > > /Users/KOS/tmp/wxlua/trunk/wxLua-build/bk-deps g++ -c -o > wxbindgl_lib_wxgl_bind.o -I./.pch/wxprec_wxbindgl_lib > -I../modules/wxbind/setup -I../modules -I./.. > -I/Users/KOS/tmp/wxlua/trunk/wxLua-build/./modules/lua/include > -I/Users/KOS/BUILD/lib/wx/include/osx_cocoa-unicode-static-2.9 > -I/Users/KOS/BUILD/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -D__WXMAC__ > -D__WXOSX__ -D__WXOSX_COCOA__ -O2 -fno-common ./wxbind/src/wxgl_bind.cpp > ./wxbind/src/wxgl_bind.cpp: In function ‘int > wxLua_wxGLCanvas_GetContext(lua_State*)’: > ./wxbind/src/wxgl_bind.cpp:40: warning: ‘GetContext’ is deprecated (declared > at /Users/KOS/BUILD/include/wx-2.9/wx/glcanvas.h:137) > ./wxbind/src/wxgl_bind.cpp: In function ‘int > wxLua_wxGLCanvas_SetCurrent(lua_State*)’: > ./wxbind/src/wxgl_bind.cpp:93: warning: ‘SetCurrent’ is deprecated (declared > at /Users/KOS/BUILD/include/wx-2.9/wx/glcanvas.h:139) > ./wxbind/src/wxgl_bind.cpp: In function ‘int > wxLua_wxGLCanvas_constructor2(lua_State*)’: > ./wxbind/src/wxgl_bind.cpp:180: warning: ‘__comp_ctor ’ is deprecated > (declared at /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:120) > ./wxbind/src/wxgl_bind.cpp: In function ‘int > wxLua_wxGLCanvas_constructor1(lua_State*)’: > ./wxbind/src/wxgl_bind.cpp:216: warning: ‘__comp_ctor ’ is deprecated > (declared at /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:108) > ./wxbind/src/wxgl_bind.cpp: In function ‘int > wxLua_wxGLCanvas_constructor(lua_State*)’: > ./wxbind/src/wxgl_bind.cpp:250: warning: ‘__comp_ctor ’ is deprecated > (declared at /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:97) > ./wxbind/src/wxgl_bind.cpp: In function ‘int > wxLua_wxGLContext_SetCurrent1(lua_State*)’: > ./wxbind/src/wxgl_bind.cpp:401: error: no matching function for call to > ‘wxGLContext::SetCurrent()’ > /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:42: note: candidates are: > virtual bool wxGLContext::SetCurrent(const wxGLCanvas&) const > make[1]: *** [wxbindgl_lib_wxgl_bind.o] Error 1 > make: *** [modules] Error 2 > > KOS > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |
From: Konstantin <lal...@gm...> - 2012-03-15 08:04:53
|
Hello! Build in static: /Users/KOS/tmp/wxlua/trunk/wxLua-build/bk-deps g++ -c -o wxbindgl_lib_wxgl_bind.o -I./.pch/wxprec_wxbindgl_lib -I../modules/wxbind/setup -I../modules -I./.. -I/Users/KOS/tmp/wxlua/trunk/wxLua-build/./modules/lua/include -I/Users/KOS/BUILD/lib/wx/include/osx_cocoa-unicode-static-2.9 -I/Users/KOS/BUILD/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -O2 -fno-common ./wxbind/src/wxgl_bind.cpp ./wxbind/src/wxgl_bind.cpp: In function ‘int wxLua_wxGLCanvas_GetContext(lua_State*)’: ./wxbind/src/wxgl_bind.cpp:40: warning: ‘GetContext’ is deprecated (declared at /Users/KOS/BUILD/include/wx-2.9/wx/glcanvas.h:137) ./wxbind/src/wxgl_bind.cpp: In function ‘int wxLua_wxGLCanvas_SetCurrent(lua_State*)’: ./wxbind/src/wxgl_bind.cpp:93: warning: ‘SetCurrent’ is deprecated (declared at /Users/KOS/BUILD/include/wx-2.9/wx/glcanvas.h:139) ./wxbind/src/wxgl_bind.cpp: In function ‘int wxLua_wxGLCanvas_constructor2(lua_State*)’: ./wxbind/src/wxgl_bind.cpp:180: warning: ‘__comp_ctor ’ is deprecated (declared at /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:120) ./wxbind/src/wxgl_bind.cpp: In function ‘int wxLua_wxGLCanvas_constructor1(lua_State*)’: ./wxbind/src/wxgl_bind.cpp:216: warning: ‘__comp_ctor ’ is deprecated (declared at /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:108) ./wxbind/src/wxgl_bind.cpp: In function ‘int wxLua_wxGLCanvas_constructor(lua_State*)’: ./wxbind/src/wxgl_bind.cpp:250: warning: ‘__comp_ctor ’ is deprecated (declared at /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:97) ./wxbind/src/wxgl_bind.cpp: In function ‘int wxLua_wxGLContext_SetCurrent1(lua_State*)’: ./wxbind/src/wxgl_bind.cpp:401: error: no matching function for call to ‘wxGLContext::SetCurrent()’ /Users/KOS/BUILD/include/wx-2.9/wx/osx/glcanvas.h:42: note: candidates are: virtual bool wxGLContext::SetCurrent(const wxGLCanvas&) const make[1]: *** [wxbindgl_lib_wxgl_bind.o] Error 1 make: *** [modules] Error 2 KOS |
From: SourceForge.net <no...@so...> - 2012-02-25 10:29:18
|
Bugs item #3493936, was opened at 2012-02-25 02:29 Message generated for change (Tracker Item Submitted) made by jerryjacobs You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745324&aid=3493936&group_id=140042 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jerry Jacobs (jerryjacobs) Assigned to: Nobody/Anonymous (nobody) Summary: Mac OS X CMake build fails on -fPIC Initial Comment: Scanning dependencies of target lua [ 33%] Building C object modules/lua/CMakeFiles/lua.dir/src/lua.c.o Linking C executable lua i686-apple-darwin11-llvm-gcc-4.2: ;-fPIC: No such file or directory make[2]: *** [modules/lua/lua] Error 1 make[1]: *** [modules/lua/CMakeFiles/lua.dir/all] Error 2 make: *** [all] Error 2 I tried to remove all -fPIC junk from the source tree but could find a way to make it link ! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745324&aid=3493936&group_id=140042 |
From: Milind G. <mil...@gm...> - 2012-02-22 01:06:41
|
Finally it came down to how I was adding the column to the list control: This worked: listCtrl:InsertColumn(0, "Test") which I picked from bindings compared to what I was doing before was: local col = wx.wxListItem() col:SetId(0) listCtrl:InsertColumn(0,col) I don't understand though why though 1 overloaded InserColumn works only in Windows and not on Linux. Thanks for leading me in the right direction. Regards, Milind On Tue, Feb 21, 2012 at 1:09 PM, Milind Gupta <mil...@gm...>wrote: > I tried bindings.wx.lua and that shows the listing fine on the main > window. I then changed listCtrl in my example from wxListCtrl to wxListView > and I still did not see anything so I need to look into the differences > between bindings and the minimal listing I sent earlier. If you have any > suggestions do let me know. > > Thanks, > Milind > > > On Tue, Feb 21, 2012 at 12:41 PM, John Labenski <jla...@gm...>wrote: > >> On Tue, Feb 21, 2012 at 2:26 PM, Milind Gupta <mil...@gm...> >> wrote: >> > Hi John, >> > Thanks for the reply. I created a minimal example (attached >> and >> > pasted). This example works fine in windows but doesn't show anything in >> > Linux. Also another thing I noticed in my original program is that when >> the >> > GUI is shown the list Controls in which I have added a lot of elements >> show >> > scroll bars also! But no elements are visible. >> >> This sounds odd, something very strange is going on. Can you select >> these hidden items? Is it a matter of having the text the same color >> as the background? Maybe as a theme setting? >> >> When you run the samples/bindings.wx.lua program does it work? You >> should see a wxListControl (actually a wxListView, but they're the >> same, the wxListView is derived and has a couple extra methods added) >> with about 20 items and if you click them you get a new list. >> >> I don't have access to a Linux machine right now, but I know that the >> bindings.wx.lua sample works in RedHat 6, Mandriva 2011, and Fedora 13 >> and 15. I see that it adds items exactly as you do as well. >> >> Regards, >> John >> >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> wxlua-users mailing list >> wxl...@li... >> https://lists.sourceforge.net/lists/listinfo/wxlua-users >> > > |