can't get wxHaskell to work from ghci on Mac

人走茶凉 提交于 2019-12-05 08:14:07

ghci -fno-ghci-sandbox

works for me on OSX 10.8 , wx 0.90.0.1

thanks to Heinrich :https://github.com/jodonoghue/wxHaskell/pull/6

wxHaskell hasn't worked within ghci for a while. Apparently C++ memory management and re-using components within ghci causes problems. You juat have to rewrite main repeatedly. :(

The faq says

GHCi cannot mix static and dynamic libraries; it will be solved in the near future in wxHaskell.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!