From: Antton T. <ant...@gm...> - 2012-05-25 15:22:16
|
Hello, I've noticed this too. For what I can gather, it's an issue with wxwidgets 2.9 and/or wxcore-0.9, but I don't really have the time or knowledge to debug it. It might have something to do with the build configuration of 2.9. I built mine using these instructions. http://www.haskell.org/haskellwiki/WxHaskell/2.9 when wx-0.13.2.1 (with wxwidgets 2.8) is used to build the examples, the linking process takes few seconds at most and the programs start instantly. I don't think there's any harm in using older version to get started, but I'd like to know a solution for this too. To install the old version I used wxPack binaries for 2.8 and installed wxcore-0.13.2.1 separately. Env variables need to point to all relevant wxwidgets2.8 files during compilation. Cabal install wx-0.13.2.1 defaults to newest version of wxcore so you need to: cabal unpack wx-0.13.2.1 (creates a folder inside the folder you're at) cd wx-0.13.2.1 edit wx.cabal to target wxcore-0.13.2.1 specifically (rather self explanatory I think) runhaskell.exe Setup.lhs configure runhaskell.exe Setup.lhs build runhaskell.exe Setup.lhs install This might not be exactly correct. I'm just swinging from memory. When compiling the applications, use wx-0.13.2.1 instead of wx. Antton Tapani On Fri, May 25, 2012 at 4:18 PM, Fabian Binz <fab...@ya...> wrote: > Hello everyone, > > > > is there a way to reduce linking and startup times? Linking a “Hello > World”-like wxHaskell program takes about 45 seconds and starting it up > about > > 5. While the former is still acceptable I guess, the latter is way too long. > > > Regards, > > Fabian > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > |