From: Daan L. <daa...@xs...> - 2004-02-24 09:59:51
|
Hi t1f8koj02 :-) On Tue, 24 Feb 2004 01:05:49 -0600, <t1f...@sn...> wrote: > 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 Thanks for finding this out and testing on red hat 9. I would like to add this note to the website (and maybe provide it automatically through configure). Could you maybe tell me in detail how you have build wxWidgets and how you build wxHaskell? (you can send me a private email) I have also never been able to get HOpenGL working on my machine, so if you succeed in doing that I would love to hear about it (and a screenshot would be nice :-) Thanks, Daan. > > > ----- 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 > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > |