On Monday 30 October 2006 12:59, I wrote:
> ...what's going on?...
I followed the procedure on http://sequence.complete.org/node/214 and now
wxcore and wx build and install correctly.
Why is that not in darcs and should I make a patch from it?
Now I'm trying to make the samples/wx. I get the following error:
$ make
ghc -package wx -o BouncingBalls BouncingBalls.hs
compilation IS NOT required
/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
Does this have to do with a wrong wxWidgets version installed?
I have wxGTK-2.6.2-r1 installed, with unicode (on Gentoo)
Regards,
Bas van Dijk
|