From: Jeff H. <jef...@gm...> - 2008-12-03 14:39:20
|
It ought to be. If you're running it from inside X, it *should* run, unless there's perhaps a different version of X on your machine than the version you compiled gtk2hs against. I had that problem. I gave up on that problem, actually, because i was trying to make a program that would be widely redistributable, and I couldn't seem to get a Mac OS X Gtk2Hs OpenGL application that didn't require a custom version of X. This isn't a GHC problem, either -- it seems to be a larger issue with GTK and Mac OS X not liking each other very much. On Wed, Dec 3, 2008 at 9:34 AM, Colin Paul Adams <co...@co...> wrote: >>>>>> "Axel" == Axel Simon <Axe...@en...> writes: > > >> I compiled the demo/hello program, but when I run it, after a > >> long while it displays the message: > >> > >> helloworld: Cannot initialize GUI. > >> > >> I can't see anything about this in the FAQ. Hopefully someone > >> here has alreadt encountered the problem though. > > Axel> Yes: You have compiled Gtk2Hs against the X11 versions of > Axel> Gtk+. Thus, in order to run any application, you have to > Axel> start them from within the X11 server (which you can get > Axel> from your install CD). > > I don't know that I can do that, as a MacBook Air doesn't have a CD > drive. Can I do it by SSHing to my linux box? And where are the > instructions for it? > > Also, why isn't an X11 terminal sufficient? > -- > Colin Adams > Preston Lancashire > > ------------------------------------------------------------------------- > 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=/ > _______________________________________________ > Gtk2hs-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > |