From: Bas v. D. <bas...@ho...> - 2006-11-30 13:45:33
|
Hello, When making the wx samples I got the following error: bas@bassbox ~/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. |