Hello,

When making the wx samples I got the following error:

[EMAIL PROTECTED] ~/development/haskell/wxhaskell/samples/wx $ make
ghc -package wx -o BouncingBalls BouncingBalls.hs
/usr/lib/libwxc-gtk2.6.2-0.10.1.so: undefined reference to 
`wxGLCanvas::SwapBuffers()'
/usr/lib/libwxc-gtk2.6.2-0.10.1.so: undefined reference to 
`wxGLCanvas::SetColour(wchar_t const*)'
/usr/lib/libwxc-gtk2.6.2-0.10.1.so: undefined reference to 
`wxGLCanvas::wxGLCanvas(wxWindow*, wxGLCanvas const*, int, wxPoint const&, 
wxSize const&, long, wxString const&, int*, wxPalette const&)'
/usr/lib/libwxc-gtk2.6.2-0.10.1.so: undefined reference to 
`wxGLCanvas::SetCurrent()'
/usr/lib/libwxc-gtk2.6.2-0.10.1.so: undefined reference to 
`wxGLCanvas::wxGLCanvas(wxWindow*, int, wxPoint const&, wxSize const&, long, 
wxString const&, int*, wxPalette const&)'
collect2: ld returned 1 exit status
make: *** [BouncingBalls] Error 1

I configured wxHaskell --with-opengl and my wxWindows implementation (on 
Gentoo Linux) has OpenGL support:

emerge x11-libs/wxGTK -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/wxGTK-2.6.2-r1  USE="X doc joystick opengl sdl 
unicode -debug -gnome -odbc" 0 kB

What is wrong here?

Bas van Dijk.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxhaskell-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to