Re: [wxhaskell-users] wxGTK 2.8
Hi Miguel, On Thu, 31 Jan 2008 03:09:24 +0900, Miguel Vilaça [EMAIL PROTECTED] wrote: When I run ghci -package wx e get this: Loading package wxcore-0.10.1 ... ghc-6.6.1: can't load .so/.DLL for: wxc-gtk2.8.4-0.10.1 (/usr/lib/libwxc-gtk2.8.4-0.10.1.so: undefined symbol: _ZTV11wxMediaCtrl) The file /usr/lib/libwxc-gtk2.8.4-0.10.1.so do exists. This is my mistake that wx-config doesn't specify wxMediaCtrl's library for any case, and wxc causes linking error problem from wxMediaCtrl class and methods. I send patch for it by previous mail. Pleas apply below patch. http://article.gmane.org/gmane.comp.lang.haskell.wxhaskell.general/425 I'm using wxHaskell for some time now and today I try to change wxGTK 2.6 to wxGTK 2.8 on my Ubuntu Gutsy (if that makes difference) Just before start describing, is anyone using wxGTK 2.8 with wxHaskell? And I think we also have other problems when using wxGTK 2.8. We can build wxHaskell using wxWidget 2.8, but we can't run program by that. http://www.mail-archive.com/wxhaskell-users@lists.sourceforge.net/msg00327.html http://www.mail-archive.com/wxhaskell-users@lists.sourceforge.net/msg00322.html So if you can't fix all problem by above patch, please report that. I'm using wxHaskell for some time now and today I try to change wxGTK 2.6 to wxGTK 2.8 on my Ubuntu Gutsy (if that makes difference) (snip) Just before start describing, is anyone using wxGTK 2.8 with wxHaskell? I'm using wxHaskell as a library user and I'm completely unaware of its implementation details (beside it is a layer to wxGTK!). Unfortunately, wxWidget 2.8 support isn't stable now. I want to slove that problem ... but I'm busy to find where causes problem So I recommend use wxGTK 2.6, if you want use wxHaskell soonly. Best Regards, -- shelarcy shelarcyhotmail.co.jp http://page.freett.com/shelarcy/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] darcs patch: Initial wxWidgets 2.8.x's API Support
Hi Eric, On Thu, 13 Dec 2007 06:53:58 +0900, Eric Y. Kow [EMAIL PROTECTED] wrote: By the way, the Makefile is still doing all this stuff when I do make install : out/wxdirect/wxdirect -s wxSTC-D3/stc.h --wxc wxc -o wxc parsing: wxSTC-D3/stc.h generating: wxc/include/stc_gen.h generating: wxc/src/stc_gen.cpp out/wxdirect/wxdirect -s wxSTC-D3/stc.h --wxc wxc -o wxc parsing: wxSTC-D3/stc.h generating: wxc/include/stc_gen.h generating: wxc/src/stc_gen.cpp /usr/bin/g++-4.0 [snip] -install_name /usr/local/wxhaskell/lib/libwxc-mac2.6.3-0.10.1.dylib I fixed that problem by latest my patch. http://article.gmane.org/gmane.comp.lang.haskell.wxhaskell.general/425 And I noted that there is no alternative solution for that problem. So I used previous mail's way. Best Regards, On Fri, 14 Dec 2007 01:40:56 +0900, shelarcy [EMAIL PROTECTED] wrote: The annoying thing about this is that if I do sudo make install, the next time I run make, it fails because it can't overwrite the library. I either have to sudo rm the file, or sudo make clean. Do you think you could have a look as to why? I think stc.cpp's definition is cause of this problem. stc.cpp includes stc_gen.cpp and stc_gen.cpp isn't in WXC-CORE. // stc.cpp extern C { #include stc_gen.cpp // makefile WXC-CORE= \ (snip) mediactrl printout previewframe taskbaricon textstream stc So stc.cpp requires to generate stc_gen.cpp, and make do that. Then stc_gen.cpp is updated, so make recompile stc.cpp and build wxc library again. I changed makefile to remove wxstc from wxc building process, but wxc doesn't change behaviour. So I thought above. I think one solution is comment out or remove stc file generation part, and undo your below previous patch to include auto-generated file. http://article.gmane.org/gmane.comp.lang.haskell.wxhaskell.general/261 I think this is a reasonable solution. Because we generate file using wxSTC-D3's header currently. We can't use wxSTC's original header file. http://www.mail-archive.com/wxhaskell-users@lists.sourceforge.net/msg00068.html And wxHaskell already includes a few auto-generated files. make doesn't includes generation stage for those files, so we don't care about they are auto-generated file now. -- shelarcy shelarcyhotmail.co.jp http://page.freett.com/shelarcy/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] darcs patch: Fix missing wxMediaCtrl symbols when lin... (and 2 more)
Pushed. And thanks for fixing that makefile stuff! -- Eric Kow PGP Key ID: 08AC04F9 pgpjGhb42KVOn.pgp Description: PGP signature - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users