Hi, On Sun, 02 Nov 2008 18:11:29 +0900, Mads Lindstrøm <[EMAIL PROTECTED]> wrote: > After the XRC additions (the "Add XRC support" path) I have not been > able to compile the test programs, and I guess any other programs > either. > > While wxHaskell compiles and installs, I get the following error when > trying to compile one of the example programs: > >> make all > ghc -package wx -o BouncingBalls BouncingBalls.hs > /home/ghctest/lib/libwxcore2.a(WxcClassesMZ.o): In function `s1iiL_info': > ghc31980_0.hc:(.text+0x12d84d): undefined reference to > `wxXmlResource_GetStyledTextCtrl' > collect2: ld returned 1 exit status > make: *** [BouncingBalls] Error 1
It seems that wxdirect generates undefined reference to wxXmlResource_GetStyledTextCtrl. Problem is come from eljrc.cpp's below part. #ifdef wxUSE_STC BUILD_XRCGETCTRL_FN(StyledTextCtrl) #endif > Anybody has a clue to what to do about the problem? So, we can fix this problem by following change. #ifdef wxUSE_STC BUILD_XRCGETCTRL_FN(StyledTextCtrl) #else EWXWEXPORT(void*, wxXmlResource_StyledTextCtrl)(wxWindow* _win, wxString* _str_id) { return NULL; } #endif http://www.mail-archive.com/wxhaskell-devel@lists.sourceforge.net/msg00273.html Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel