Re: [wxlua-users] 2.9.3 with cmake ubuntu

2012-04-17 Thread John Labenski
On Sun, Apr 15, 2012 at 9:53 AM, klaas.holwerda wrote: >>> [ 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(lu

Re: [wxlua-users] 2.9.3 with cmake ubuntu

2012-04-15 Thread klaas.holwerda
On 15-4-2012 5:26, John Labenski wrote: > On Sat, Apr 14, 2012 at 6:20 AM, klaas.holwerda 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_V

Re: [wxlua-users] 2.9.3 with cmake ubuntu

2012-04-14 Thread John Labenski
On Sat, Apr 14, 2012 at 6:20 AM, klaas.holwerda 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)) >    

Re: [wxlua-users] 2.9.3 with cmake ubuntu

2012-04-14 Thread klaas.holwerda
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_B

Re: [wxlua-users] 2.9.3 with cmake ubuntu

2012-04-13 Thread John Labenski
On Fri, Apr 13, 2012 at 5:53 PM, klaas.holwerda 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*)

Re: [wxlua-users] 2.9.3 with cmake ubuntu

2012-04-13 Thread klaas.holwerda
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

Re: [wxlua-users] 2.9.3 with cmake ubuntu

2012-04-11 Thread John Labenski
On Wed, Apr 11, 2012 at 4:02 PM, klaas.holwerda 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 ca

[wxlua-users] 2.9.3 with cmake ubuntu

2012-04-11 Thread klaas.holwerda
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 ) #se