On Jan 11, 2008 11:29 AM, Klaas Holwerda <[EMAIL PROTECTED]> wrote:
>
> For openGl its clear it did not link gl libraries when testing for it.
> De rest i am not so sure.
>
> I am using fedora8 and wxWidgets with static and debug.

I have committed a change to configure that should fix it. I don't
understand why AUI would work for you, but not GL.

AUI : -lwx_gtk2d_aui-2.8 <-- shared library! but works
GL : -lwx_gtk2d_gl-2.8 <-- also shared, but doesn't

as opposed to /usr/local/lib/libwx_based_net-2.8.a which is static.

Do you have a few different wxWidgets libraries installed?

Regards,
    John


> configure:6153: $? = 0
> configure:6171: result: yes
> configure:6225: checking if wxWidgets AUI bindings are available
> configure:6250: g++ -o conftest  -g -O0  
> -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 
> -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -D__WXDEBUG__ -D__WXGTK__  conftest.cpp  -lwx_gtk2d_aui-2.8 -L/usr/local/lib 
> -pthread   /usr/local/lib/libwx_based_net-2.8.a 
> /usr/local/lib/libwx_based_xml-2.8.a /usr/local/lib/libwx_gtk2d_core-2.8.a 
> /usr/local/lib/libwx_based-2.8.a -lexpat -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 
> -latk-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 
> -lgthread-2.0 -lrt -lglib-2.0 -lXinerama -lXxf86vm -lSM -lpng -ljpeg -ltiff 
> -lz -ldl -lm  >&5
> configure:6256: $? = 0
> configure:6274: result: yes
> configure:6328: checking if wxWidgets OpenGL bindings are available
> configure:6353: g++ -o conftest  -g -O0  
> -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 
> -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -D__WXDEBUG__ -D__WXGTK__  conftest.cpp  -lwx_gtk2d_gl-2.8 -L/usr/local/lib 
> -pthread   /usr/local/lib/libwx_based_net-2.8.a 
> /usr/local/lib/libwx_based_xml-2.8.a /usr/local/lib/libwx_gtk2d_core-2.8.a 
> /usr/local/lib/libwx_based-2.8.a -lexpat -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 
> -latk-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 
> -lgthread-2.0 -lrt -lglib-2.0 -lXinerama -lXxf86vm -lSM -lpng -ljpeg -ltiff 
> -lz -ldl -lm  >&5
> /usr/local/lib/libwx_gtk2d_gl-2.8.a(gllib_glcanvas.o): In function 
> `wxGLCanvas::SetColour(char const*)':
> /home/klaas/soft/wxGTK-2.8.7/./src/gtk/glcanvas.cpp:573: undefined reference 
> to `glColor3f'
> /usr/local/lib/libwx_gtk2d_gl-2.8.a(gllib_glcanvas.o): In function 
> `wxGLCanvas::SwapBuffers()':

-------------------------------------------------------------------------
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