Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Haskell: gtk+hs/gtk2hs, c2hs, FreeBSD

0 views
Skip to first unread message

Timothy Smith

unread,
Nov 5, 2003, 8:04:24 PM11/5/03
to
Hi. I'm wanting to use HOpenGL with a toolkit (gtk, wxWindows) on
FreeBSD. It looks like only gtk+hs includes OpenGL support at the
moment.

Trying to compile it (or gtk2hs) under FreeBSD gives errors from c2hs.
I'm sorry I don't have internet access on that computer, but the
errors say things like `'#' doesn't belong here' in <limits.h>, etc.

Somewhere it was suggested that the problem was with FreeBSD's use of
__signed, and I tried using -D__signed=signed, but it didn't make any
difference.

Has anyone gotten this working, or have some clues about where to
start tracking down this bug in c2hs?

Thanks!

Tim

Malcolm Wallace

unread,
Nov 6, 2003, 6:37:33 AM11/6/03
to
t...@desert.net (Timothy Smith) writes:

> Trying to compile it (or gtk2hs) under FreeBSD gives errors from c2hs.
>

> Has anyone gotten this working, or have some clues about where to
> start tracking down this bug in c2hs?

Try posting your question to the gtkhs list, where the author of
c2hs hangs out.

http://haskell.org/mailman/listinfo/gtkhs

Regards,
Malcolm

Nick Name

unread,
Nov 6, 2003, 7:07:48 AM11/6/03
to
Timothy Smith wrote:

>
> Has anyone gotten this working, or have some clues about where to
> start tracking down this bug in c2hs?
>

Maybe the main platform of gtk2hs development is freebsd, but I am
unsure. Try asking on the gtk2hs mailing list.

V.

George Russell

unread,
Nov 6, 2003, 9:26:45 AM11/6/03
to
Timothy Smith wrote:
> Hi. I'm wanting to use HOpenGL with a toolkit (gtk, wxWindows) on
> FreeBSD. It looks like only gtk+hs includes OpenGL support at the
> moment.

A quick bit of propaganda. HTk

www.informatik.uni-bremen.de/htk

works on FreeBSD with no trouble at all. (As it works on Windows, Linux
and Solaris.) So if Tk-style windows are all you want, it will do.


Ronald Legere

unread,
Nov 6, 2003, 3:09:55 PM11/6/03
to
Any chance of providing HTk for GHC > 6? Or is it already and I just don't
understand the
web page :)

CHeers!

"George Russell" <g...@tzi.de> wrote in message
news:bodln6$kpm$1...@kohl.informatik.uni-bremen.de...

George Russell

unread,
Nov 7, 2003, 6:38:18 AM11/7/03
to
Ronald Legere wrote:
> Any chance of providing HTk for GHC > 6? Or is it already and I just don't
> understand the
> web page :)

Yes. I've put binary bundles for ghc6.0.1 on Solaris and Linux on the web-page.
FreeBSD and Windows should follow later today, I hope. If I can work out how to
install ghc6.0.1 on FreeBSD, that is.

Timothy Smith

unread,
Nov 10, 2003, 8:59:54 PM11/10/03
to
Thanks, all. I will look into these other information sources.

gtk2hs mailing list, gtk+hs mailing list, and Htk.

0 new messages