Hi John,

I ran into an issue with configuring wxlua to use system libpng
library. I tried both --with-libpng=builtin and --with-libpng=sys, but
I get exactly the same result.

This discussion
(https://groups.google.com/forum/?fromgroups=#!topic/wx-users/2QWQD0qUVUc)
indicates that it's better to use a system library, but I can't
configure wxlua to *not* link builtin library as can be see from this
output from cmake:

-- * - wxWidgets_LIBRARIES         =
-L/home/paul/zbs/build/deps/lib;-pthread;;;/home/paul/zbs/build/deps/lib
/libwx_gtk2u_stc-2.9.a;/home/paul/zbs/build/deps/lib/libwx_gtk2u_aui-2.9.a;/home/paul/zbs/build/deps/lib
/libwx_baseu_net-2.9.a;/home/paul/zbs/build/deps/lib/libwx_gtk2u_html-2.9.a;/home/paul/zbs/build/deps/lib
/libwx_gtk2u_adv-2.9.a;/home/paul/zbs/build/deps/lib/libwx_gtk2u_core-2.9.a;/home/paul/zbs/build/deps/lib
/libwx_baseu-2.9.a;-lwxscintilla-2.9;-pthread;-lgthread-2.0;-lrt;-lX11;-lXxf86vm;-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;-lglib-2.0;-lwxregexu-2.9;-lwxjpeg-2.9;-lwxpng-2.9;-lwxzlib-2.9;-ldl;-lm

(note the last last that includes -lwxpng-2.9). I tried (using brute
force) to exclude wxpng from the link command, but failed. Ideally
wxlua should somehow check if the library is configured as "builtin"
or "sys", but for now I just need to check if this is going to work
for me, so, I'm fine with modifying it manually. I need to exclude
libpng as it creates problems with systems libraries required by GTK
on Linux.

What is the way for me to tell wxlua *not* to include wxpng-2.9? Thank you.

Paul.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to