Re: [wxhaskell-users] wxdirect split off

2009-08-12 Thread Eric Kow
On Tue, Aug 11, 2009 at 20:25:29 -0500, Brian Lewis wrote: > On Tuesday, 11.08.09 at 20:03, Brian Lewis wrote: > > You might try adding > > ["-DwxcREFUSE_OPENGL", "-DwxcREFUSE_MEDIACTRL"] > > to your cppOptions. > > Sorry, I meant 'ccOptions'. It sounds like there should be a -fopengl and -fmedia

Re: [wxhaskell-users] wxdirect split off

2009-08-11 Thread Brian Lewis
On Tuesday, 11.08.09 at 20:03, Brian Lewis wrote: > You might try adding > ["-DwxcREFUSE_OPENGL", "-DwxcREFUSE_MEDIACTRL"] > to your cppOptions. Sorry, I meant 'ccOptions'. After I did that, I was able to do 'ghc --make BouncingBalls.hs' in samples/wx, and it ran OK. -

Re: [wxhaskell-users] wxdirect split off

2009-08-11 Thread Brian Lewis
On Tuesday, 11.08.09 at 23:27, Eric Y. Kow wrote: > Now I'm getting errors like the below. I think in the old configure > script and makefile we had to pass in special flags for glcanvas, > but I could be wrong. You might try adding ["-DwxcREFUSE_OPENGL", "-DwxcREFUSE_MEDIACTRL"] to your cppOptio

Re: [wxhaskell-users] wxdirect split off

2009-08-11 Thread Brian Lewis
On Tuesday, 11.08.09 at 23:27, Eric Y. Kow wrote: > I've also pushed some stuff removing wxc modules which I think wxHaskell > does not support (I based this on ls dist/wxc/*.o) OK, thank you. I'll check that out. I just pushed stuff that causes wxcore to actually install for me in Linux. No idea

Re: [wxhaskell-users] wxdirect split off

2009-08-11 Thread Eric Y. Kow
On Tue, Aug 11, 2009 at 15:48:45 -0500, Brian Lewis wrote: > > http://wiki.wxwidgets.org/WxString > > I pushed some stuff to the github repo that resolved these errors for me. I've also pushed some stuff removing wxc modules which I think wxHaskell does not support (I based this on ls dist/wxc/*.

Re: [wxhaskell-users] wxdirect split off

2009-08-11 Thread Brian Lewis
On Tuesday, 11.08.09 at 15:13, Brian Lewis wrote: > On Tuesday, 11.08.09 at 15:08, Brian Lewis wrote: > > src/cpp/eljfl.cpp:1277:0: > > error: conversion from ‘char*’ to ‘const wxString’ is ambiguous > > http://wiki.wxwidgets.org/WxString I pushed some stuff to the github repo that resolved t

Re: [wxhaskell-users] wxdirect split off

2009-08-11 Thread Eric Y. Kow
On Tue, Aug 11, 2009 at 15:08:53 -0500, Brian Lewis wrote: > On Tuesday, 11.08.09 at 02:05, Eric Y. Kow wrote: > > setup: Missing dependency on a foreign library: > > * Missing C library: wx_macud-2.8 > > > > I guess the Setup.hs file needs to call wx-config > > Hmm. But it does. Does 'wx-config -

Re: [wxhaskell-users] wxdirect split off

2009-08-11 Thread Brian Lewis
On Tuesday, 11.08.09 at 15:08, Brian Lewis wrote: > src/cpp/eljfl.cpp:1277:0: > error: conversion from ‘char*’ to ‘const wxString’ is ambiguous http://wiki.wxwidgets.org/WxString -- Let Crystal Reports handle the rep

Re: [wxhaskell-users] wxdirect split off

2009-08-11 Thread Brian Lewis
On Tuesday, 11.08.09 at 02:05, Eric Y. Kow wrote: > setup: Missing dependency on a foreign library: > * Missing C library: wx_macud-2.8 > > I guess the Setup.hs file needs to call wx-config Hmm. But it does. Does 'wx-config --cppflags --libs' show the stuff it should? Where is the build failing fo

Re: [wxhaskell-users] wxdirect split off

2009-08-10 Thread Eric Y. Kow
On Mon, Aug 10, 2009 at 19:50:31 -0500, Brian Lewis wrote: > I made a repo with wxcore and wxc together and tried to make a > wxcore.cabal that would replace the existing makefile: > http://github.com/bsl/wxcore/tree/master I get setup: Missing dependency on a foreign library: * Missing C library

Re: [wxhaskell-users] wxdirect split off

2009-08-10 Thread Brian Lewis
I made a repo with wxcore and wxc together and tried to make a wxcore.cabal that would replace the existing makefile: http://github.com/bsl/wxcore/tree/master It doesn't build completely for me, but maybe it's a start. --

Re: [wxhaskell-users] wxdirect split off

2009-08-09 Thread Eric Y. Kow
On Sun, Aug 09, 2009 at 15:29:29 -0500, Brian Lewis wrote: > One of the first things the makefile does is build wxdirect, so I split > it off and cleaned it up a little bit: > http://github.com/bsl/wxdirect/tree/master . It could be put on HDB. Looks good to me. And now that we have that little s

[wxhaskell-users] wxdirect split off

2009-08-09 Thread Brian Lewis
I think it'd be good to replace the darcs wxhaskell/makefile with wxhaskell.cabal, if possible. One of the first things the makefile does is build wxdirect, so I split it off and cleaned it up a little bit: http://github.com/bsl/wxdirect/tree/master . It could be put on HDB. My intention is that l