From: David R. <dr...@jd...> - 2003-08-22 19:15:50
|
I just downloaded the CVS version of wxhaskell. It compiles and installs fine with a simple ./configure && make && make install, but I get the following error when I try to compile HelloWorld.hs: I run: ghc -package wx -o HelloWorld HelloWorld.hs and on link I get many lines such as the following: /usr/lib/libwxc.so: undefined reference to `wxGrid::GetColLabelValue(int)' So it looks like the wxgtk library isn't getting included in the link somehow. I'm not entirely clear as to how the ghc package system works, so I haven't been able to troubleshoot this. I tried including -lwx_gtk-2.4, but that didn't help. :( My system is debian sarge, with wx_gtk-2.4 installed and using ghc 6.0.1. Any suggestions would be appreciated. -- David Roundy http://civet.berkeley.edu/droundy/ |