From: Johannes G. <jg...@jg...> - 2003-11-10 01:21:43
|
Hi Daan! First, a huge thank you for the haskell binding - I like it very much. Soon people will begin to wonder why they've ever been using python. ;-) Second, I'm using debian's wxwindows-2.4 libraries and compiling the examples gives me exactly the same errors as reported below. I don't know whether the debian packages have been built with opengl-support, though. BMM> There are the errors I get: BMM> $ ghc --make HelloWorld -package wx BMM> Chasing modules from: HelloWorld BMM> Skipping Main ( HelloWorld.hs, HelloWorld.o ) BMM> Linking ... BMM> /usr/lib/libwxc-0.4.so: undefined reference to BMM> `wxGLCanvas::SetCurrent(void)' BMM> /usr/lib/libwxc-0.4.so: undefined reference to BMM> `wxGLCanvas::wxGLCanvas(wxWindow *, wxGLCanvas const *, int, wxPoint BMM> const &, wxSize const &, long, wxString const &, int *, wxPalette const &)' BMM> /usr/lib/libwxc-0.4.so: undefined reference to BMM> `wxGLCanvas::wxGLCanvas(wxWindow *, int, wxPoint const &, BMM> wxSize const &, long, wxString const &, int*, wxPalette const &)' BMM> /usr/lib/libwxc-0.4.so: undefined reference to `wxGLCanvas::SetColour(char BMM> const *)' BMM> /usr/lib/libwxc-0.4.so: undefined reference to BMM> `wxGLCanvas::SwapBuffers(void)' BMM> collect2: ld returned 1 exit status Best regards, Johannes mailto:jg...@jg... |