You need to install the WX libs.

sudo aptitude install libwxbase2.8-dev

Sincerely,
Steve Morrey

On Jan 4, 2008 2:39 PM, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
> I can't seem to build wxLua under Ubuntu 7.10 Gutsy. I read the build
> instructions shown on the wxLua website. Here is what I used: ./configure &&
> make
>
> Here is a snippet of what errors I get.
>
> g++ -o ../bin/wxlua app_wxlua_wxlua.o app_wxlua_lconsole.o   -L../lib
> -L/home/rpusztai/devel/libraries/wxLua/./modules/lua/lib  -Wl,-rpath,../lib
> -lwxlua_gtk2_wxluasocket- 2.8 -lwxlua_gtk2_wxluadebug-2.8
> -lwxlua_gtk2_wxbindadv-2.8 -lwxlua_gtk2_wxbindaui-2.8
> -lwxlua_gtk2_wxbindbase-2.8 -lwxlua_gtk2_wxbindcore-2.8
> -lwxlua_gtk2_wxbindgl-2.8 -lwxlua_gtk2_wxbindhtml-2.8
> -lwxlua_gtk2_wxbindmedia- 2.8 -lwxlua_gtk2_wxbindnet-2.8
> -lwxlua_gtk2_wxbindstc-2.8 -lwxlua_gtk2_wxbindxml-2.8
> -lwxlua_gtk2_wxbindxrc-2.8 -lwxlua_gtk2_wxlua-2.8 -llua5.1
> -lwx_gtk2u_stc-2.8 -pthread   -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8
> -lwx_gtk2u_html- 2.8 -lwx_gtk2u_adv-2.8 -lwx_baseu_net-2.8
> -lwx_baseu_xml-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu-2.8
> ../lib/libwxlua_gtk2_wxbindgl- 2.8.so: undefined reference to
> `wxGLCanvas::SwapBuffers()'
> ../lib/libwxlua_gtk2_wxbindgl- 2.8.so: undefined reference to
> `wxGLContext::SetCurrent(wxGLCanvas const&) const'
>  ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxEVT_MEDIA_FINISHED'
>  ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::GetDownloadTotal()'
>  ../lib/libwxlua_gtk2_wxbindgl-2.8.so: undefined reference to
> `wxGLCanvas::SetCurrent()'
>  ../lib/libwxlua_gtk2_wxbindgl-2.8.so: undefined reference to
> `wxGLCanvas::wxGLCanvas(wxWindow*, int, wxPoint const&, wxSize const&, long,
> wxString const&, int*, wxPalette const&)'
> ../lib/libwxlua_gtk2_wxbindgl-2.8.so: undefined reference to
> `wxGLCanvas::ms_classInfo'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxEVT_MEDIA_PLAY'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::Play()'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::Stop()'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::Length()'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to `vtable for
> wxMediaCtrl'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::Tell()'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::SetVolume(double)'
> ../lib/libwxlua_gtk2_wxbindgl-2.8.so: undefined reference to
> `wxGLContext::ms_classInfo'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaEvent::ms_classInfo'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::ShowPlayerControls(wxMediaCtrlPlayerControls)'
> ../lib/libwxlua_gtk2_wxbindgl-2.8.so: undefined reference to
> `wxGLCanvas::wxGLCanvas(wxWindow*, wxGLCanvas const*, int, wxPoint const&,
> wxSize const&, long, wxString const&, int*, wxPalette const&)'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::Load(wxURI const&)'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to `vtable for
> wxMediaEvent'
> ../lib/libwxlua_gtk2_wxbindgl-2.8.so: undefined reference to
> `wxGLCanvas::SetColour(wchar_t const*)'
> ../lib/libwxlua_gtk2_wxbindgl-2.8.so: undefined reference to
> `wxGLCanvas::SetCurrent(wxGLContext const&) const'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::Load(wxString const&)'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::Load(wxURI const&, wxURI const&)'
> ../lib/libwxlua_gtk2_wxbindgl-2.8.so: undefined reference to
> `wxGLCanvas::wxGLCanvas(wxWindow*, wxGLContext const*, int, wxPoint const&,
> wxSize const&, long, wxString const&, int*, wxPalette const&)'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::GetVolume()'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxEVT_MEDIA_STOP'
> ../lib/libwxlua_gtk2_wxbindgl-2.8.so: undefined reference to
> `wxGLContext::wxGLContext(wxWindow*, wxGLContext const*)'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::GetDownloadProgress()'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::Create(wxWindow*, int, wxString const&, wxPoint const&, wxSize
> const&, long, wxString const&, wxValidator const&, wxString const&)'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxEVT_MEDIA_PAUSE'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::Pause()'
> ../lib/libwxlua_gtk2_wxbindgl-2.8.so: undefined reference to
> `wxGLCanvas::wxGLCanvas(wxWindow*, int, int*, wxPoint const&, wxSize const&,
> long, wxString const&, wxPalette const&)'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxEVT_MEDIA_STATECHANGED'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::ms_classInfo'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::Seek(long long, wxSeekMode)'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxEVT_MEDIA_LOADED'
> ../lib/libwxlua_gtk2_wxbindmedia-2.8.so: undefined reference to
> `wxMediaCtrl::GetState()'
> collect2: ld returned 1 exit status
>  make[1]: *** [../bin/wxlua] Error 1
> make[1]: Leaving directory `/home/rpusztai/devel/libraries/wxLua/apps'
> make: *** [apps] Error 2
>
> It really looks like the OpenGL library (wx_gtk2u_gl-2.8) and the media
> library (wx_gtk2u_media- 2.8) are not being linked against. I think this is
> an oversite. What do you think?
>
> Is wxLua supported under Linux? I know I have built this before and it went
> great. It was a while ago and now it doesn't work. Is this expected.
> --
> Regards,
> Ryan
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> wxlua-users mailing list
> wxlua-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to