Hi John,
Still you broad me the solution :-)
Because libwxlua-wx28gtk2ud-2.8.12.a was not part of my command line.
Don't understand that i oversaw it so many times :-(
With wxLua_LUA_LIBRARY_BUILD_SHARED set false, wxart2d compiles and runs again, when order is indeed
as you mentioned.
But maybe that is not even needed now, will check again without it and also the
-fPIC.
For the rest i had to remove "media" from the CmakeLists file, since it did not work in wxWidgest
right away also.
After that i need to first clear the cmake cache, else somehow it does not believe it, and gives an
error still.
All in all nice improvements.
The Unix and windows libs are now named almost the same, makes it easier.
The bindings can now much easier be extended.
Maybe the default install location can be set to /usr/local on unix.
Just wondering if you already have something to compare them to the interface
header files of wx?
Or is using them the next step :-)
Thanks for all the work, wxLua rocks!
Klaas
On 08/09/2013 06:11 AM, John Labenski wrote:
On Thu, Aug 8, 2013 at 5:58 PM, klaas.holwerda <n...@klaasholwerda.nl
<mailto:n...@klaasholwerda.nl>> wrote:
Hi John,
I managed to update wxArt2D to use the new binding rules.
Great, hopefully it wasn't too hard and the benefit is that the binding headers are now valid C++
code, though they need to be very simple.
On windows all works again.
On Linux (Centos 6.4 and openSuse12.3) i am able to compile and install
wxLua. (-fPIC stilled
needed for wxWidgest2.9.5)
I use Centos 6 and I didn't need to add -fPIC to either building wxWidgets or wxLua. Do you
remember what you added -fPIC to?
Also i am able to compile wxArt2D with wxLua within again.
Now i need to link and i get this the errors down here.
I build wxLua with BUILD_SHARED_LIBS disabled, and debug.
I have the libraries, the libwxlua_lua51-wx29gtk2ud-2.8.12.so
<http://libwxlua_lua51-wx29gtk2ud-2.8.12.so> is not static it seems, don't
know why?
I made the static build also optionally build the shared libwx.so, for Lua's require("wx"), and
this needs a shared Lua lib. You can also make this static by setting
wxLua_LUA_LIBRARY_BUILD_SHARED=TRUE.
klaas@dhcppc2:/usr/local/lib> ls libwxlua*
libwxlua_bind-wx29gtk2ud-2.8.12.a libwxlua_debugger-wx29gtk2ud-2.8.12.a
libwxlua_debug-wx29gtk2ud-2.8.12.a libwxlua_lua51-wx29gtk2ud-2.8.12.so
<http://libwxlua_lua51-wx29gtk2ud-2.8.12.so> libwxlua-wx29gtk2ud-2.8.12.a
Do you see something wrong? Like order of libraries to link, or maybe a
missing library??
I know they are there several times, but normally that does not cause
problems, although order
of libraries did before.
It looks ok, this would be the ideal order of the libs.
wxart2d libs
libwxlua_bind-wx28gtk2ud-2.8.12.a
libwxlua_debugger-wx28gtk2ud-2.8.12.a
libwxlua_debug-wx28gtk2ud-2.8.12.a
libwxlua-wx28gtk2ud-2.8.12.a
libwxlua_lua51-wx28gtk2ud-2.8.12.so <http://libwxlua_lua51-wx28gtk2ud-2.8.12.so>
wxwidgets libs
libpng etc.
The only thing I can really suggest is to do the clean and rebuild thing and hope it fixes it. The
functions you're missing are in libwxlua-wx28gtk2ud-2.8.12.a, which is the main wxLua lib.
Regards,
John
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users