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.


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to