On Jan 11, 2008 1:31 PM, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
>
> On Jan 11, 2008 11:57 AM, John Labenski <[EMAIL PROTECTED]> wrote:
>
> > The output looks fine, I just got a fresh copy of wxLua and simply ran
> > ./configure in the root dir of wxLua and everything builds fine. It
> > looks like the linking line I got for wx.so is the same as yours.
> >
> >
> > g++ -shared -fPIC -o ../lib/wx.so mod_luamodule_luamodule.o
> > -L/home/john/cvs/wxCode/wxCode/components/wxstedit/lib -L../lib
> > -L/home/john/cvs/wxLua/a/wxLua/./modules/lua/lib
> > -lwxlua_gtk2ud_wxbindxrc-2.8 -lwxlua_gtk2ud_wxbindstc- 2.8
> > -lwxlua_gtk2ud_wxbindrichtext-2.8 -lwxlua_gtk2ud_wxbindmedia-2.8
> > -lwxlua_gtk2ud_wxbindhtml-2.8 -lwxlua_gtk2ud_wxbindgl-2.8
> > -lwxlua_gtk2ud_wxbindaui-2.8 -lwxlua_gtk2ud_wxbindadv-2.8
> > -lwxlua_gtk2ud_wxbindxml- 2.8 -lwxlua_gtk2ud_wxbindnet-2.8
> > -lwxlua_gtk2ud_wxbindcore-2.8 -lwxlua_gtk2ud_wxbindbase-2.8
> > -lwxlua_gtk2ud_wxluasocket-2.8 -lwxlua_gtk2ud_wxluadebug-2.8
> > -lwxlua_gtk2ud_wxlua-2.8 -llua5.1
> > -L/home/john/wx/wxWidgets/wxWidgets_28/config_gtk2ud/lib -pthread
> > -Wl,-rpath,/home/john/wx/wxWidgets/wxWidgets_28/config_gtk2ud/lib
> > -lwx_baseud_net-2.8 -lwx_baseud_xml-2.8 -lwx_gtk2ud_core-2.8
> > -lwx_baseud-2.8 -lwx_gtk2ud_stc-2.8 -lwx_gtk2ud_xrc-2.8
> > -lwx_gtk2ud_richtext-2.8 -lwx_gtk2ud_media- 2.8 -lwx_gtk2ud_html-2.8
> > -lwx_gtk2ud_gl-2.8 -lwx_gtk2ud_aui-2.8 -lwx_gtk2ud_adv-2.8
> > -lwx_baseud_net-2.8 -lwx_baseud_xml-2.8 -lwx_gtk2ud_core-2.8
> > -lwx_baseud-2.8
> >
> > I'm sorry, I'm at a loss and don't see what the problem is. The only
> > thing I can suggest is getting a completely new fresh copy and trying
> > again.
>  Is the current working directory different so that the ../lib is not enough
> to find the library in the wxLua lib directory.

Yes, the modules are built in the modules dir so ../lib points to the
correct location. Do you have static wxWidgets libs? Show me the
contents of the wxLua lib/ dir when wx.so fails to compile so I can
see why -lwxlua_gtk2ud_wxbindxrc-2.8 fails. You should have
libwxlua_gtk2ud_wxbindxrc-2.8.so and *.so.0 and *.so.0.0.7 (or IIRC
gtk2u since you're not compiling w/ debug symbols)

Thanks,
    John

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to