From: <t1f...@sn...> - 2004-02-24 07:14:20
|
Nevermind, I figured it out. The package wxGTK-gl-2.4.1-fr1 provides: /usr/lib/libwx_gtk_gl-2.4.so /usr/lib/libwx_gtk_gl-2.4.so.0 /usr/lib/libwx_gtk_gl-2.4.so.0.0.0 So an additional option does indeed fix it: ghc -package wx -o helloworld HelloWorld.hs -lwx_gtk_gl-2.4 ----- Original message ----- From: t1f...@sn... To: wxh...@li... Date: 24 Feb 2004 06:05:29 -0000 Subject: wxGLCanvas Hello, I built and install wxHaskell on RedHat 9 (fully updated through freshrpms.net) without error. However, now when I try to build the HelloWorld application, I get the following errors. Should I be passing a library name to ghc? Please help. Thanks!! $ ghc -package wx -o helloworld HelloWorld.hs /usr/local/lib/libwxc-0.6.so: undefined reference to `wxGLCanvas::SwapBuffers()'/usr/local/lib/libwxc-0.6.so: undefined reference to `wxGLCanvas::SetColour(char const*)' /usr/local/lib/libwxc-0.6.so: undefined reference to `wxGLCanvas::wxGLCanvas[in-charge](wxWindow*, wxGLCanvas const*, int, wxPoint const&, wxSize const&, long, wxString const&, int*, wxPalette const&)' /usr/local/lib/libwxc-0.6.so: undefined reference to `wxGLCanvas::SetCurrent()' /usr/local/lib/libwxc-0.6.so: undefined reference to `wxGLCanvas::wxGLCanvas[in-charge](wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&, int*, wxPalette const&)' collect2: ld returned 1 exit status |