caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* compiling wxocaml (and wxhaskell)
@ 2006-12-28 22:20 Quôc Peyrot
  2006-12-28 22:52 ` [Caml-list] " Erik de Castro Lopo
  2007-01-13  3:20 ` Dom. Orchard
  0 siblings, 2 replies; 6+ messages in thread
From: Quôc Peyrot @ 2006-12-28 22:20 UTC (permalink / raw)
  To: ocaml_beginners; +Cc: caml-list

Hello,

I was trying to find a good portable GUI library for my ocaml projects.
A natural choice seemed to be wxwindows/wxWidgets since I wanted
to have a native look'n feel and QT doesn't have any bindings in OCaml
(to my despair... anyone working on QT bindings?)

Unfortunately wxocaml depends on wxc (found in wxhaskell) which seems
to be outdated. I was wondering if anyone had any luck making it work
with wxWidgets 2.8.

I already fixed a couple of compilation warnings/errors, but it seems  
to be
a never ending process and I'm not familiar at all with these  
libraries, so
I'm pretty much fixing the compilation errors randomly.

I guess I could use wxWidgets 2.5.4 as advised on wxhaskell's website  
for
Mac OS, but this version is almost 2 years old.

Any help appreciated,

-- 
Best Regards,
Quôc


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] compiling wxocaml (and wxhaskell)
  2006-12-28 22:20 compiling wxocaml (and wxhaskell) Quôc Peyrot
@ 2006-12-28 22:52 ` Erik de Castro Lopo
  2006-12-28 23:48   ` Quôc Peyrot
  2007-01-13  3:20 ` Dom. Orchard
  1 sibling, 1 reply; 6+ messages in thread
From: Erik de Castro Lopo @ 2006-12-28 22:52 UTC (permalink / raw)
  To: Quôc Peyrot; +Cc: ocaml_beginners, caml-list

Quôc Peyrot wrote:

> Hello,
> 
> I was trying to find a good portable GUI library for my ocaml projects.
> A natural choice seemed to be wxwindows/wxWidgets since I wanted
> to have a native look'n feel and QT doesn't have any bindings in OCaml
> (to my despair... anyone working on QT bindings?)

Have you looked at lablgtk? I find it up to date and easy to use.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"I'd crawl over an acre of 'Visual This++' and 'Integrated 
Development That' to get to gcc, Emacs, and gdb.  Thank you."
-- Vance Petree


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] compiling wxocaml (and wxhaskell)
  2006-12-28 22:52 ` [Caml-list] " Erik de Castro Lopo
@ 2006-12-28 23:48   ` Quôc Peyrot
  2006-12-29  2:16     ` Robert Roessler
  2006-12-29  9:44     ` Richard Jones
  0 siblings, 2 replies; 6+ messages in thread
From: Quôc Peyrot @ 2006-12-28 23:48 UTC (permalink / raw)
  To: ocaml_beginners, caml-list


On Dec 28, 2006, at 2:52 PM, Erik de Castro Lopo wrote:

> Quôc Peyrot wrote:
>
>> Hello,
>>
>> I was trying to find a good portable GUI library for my ocaml  
>> projects.
>> A natural choice seemed to be wxwindows/wxWidgets since I wanted
>> to have a native look'n feel and QT doesn't have any bindings in  
>> OCaml
>> (to my despair... anyone working on QT bindings?)
>
> Have you looked at lablgtk? I find it up to date and easy to use.

Yes I have and it was ok, but it doesn't use native platform's controls.

-- 
Best Regards,
Quôc


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] compiling wxocaml (and wxhaskell)
  2006-12-28 23:48   ` Quôc Peyrot
@ 2006-12-29  2:16     ` Robert Roessler
  2006-12-29  9:44     ` Richard Jones
  1 sibling, 0 replies; 6+ messages in thread
From: Robert Roessler @ 2006-12-29  2:16 UTC (permalink / raw)
  To: caml-list

Quôc Peyrot wrote:
> On Dec 28, 2006, at 2:52 PM, Erik de Castro Lopo wrote:
> 
>> Quôc Peyrot wrote:
>>
>>> Hello,
>>>
>>> I was trying to find a good portable GUI library for my ocaml projects.
>>> A natural choice seemed to be wxwindows/wxWidgets since I wanted
>>> to have a native look'n feel and QT doesn't have any bindings in OCaml
>>> (to my despair... anyone working on QT bindings?)
>>
>> Have you looked at lablgtk? I find it up to date and easy to use.
> 
> Yes I have and it was ok, but it doesn't use native platform's controls.

Things are not quite that bleak - if you use the GTK installer from

http://gimp-win.sourceforge.net/

it includes a theme engine which comes close[r] to emulating the look 
and feel of Windows native controls (well, relative to the drab GTK 
default look and feel). :)

Robert Roessler
roessler@rftp.com
http://www.rftp.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] compiling wxocaml (and wxhaskell)
  2006-12-28 23:48   ` Quôc Peyrot
  2006-12-29  2:16     ` Robert Roessler
@ 2006-12-29  9:44     ` Richard Jones
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Jones @ 2006-12-29  9:44 UTC (permalink / raw)
  To: Quôc Peyrot; +Cc: ocaml_beginners, caml-list

On Thu, Dec 28, 2006 at 03:48:46PM -0800, Quôc Peyrot wrote:
> On Dec 28, 2006, at 2:52 PM, Erik de Castro Lopo wrote:
> >Quôc Peyrot wrote:
> >
> >>Hello,
> >>
> >>I was trying to find a good portable GUI library for my ocaml  
> >>projects.
> >>A natural choice seemed to be wxwindows/wxWidgets since I wanted
> >>to have a native look'n feel and QT doesn't have any bindings in  
> >>OCaml
> >>(to my despair... anyone working on QT bindings?)
> >
> >Have you looked at lablgtk? I find it up to date and easy to use.
> 
> Yes I have and it was ok, but it doesn't use native platform's controls.

I haven't really looked at this in a long time, but perhaps take a
look at our cross-platform experiments here:

http://merjis.com/developers/xphelloworld

The basic controls look native (although they are not), but things
like file & print dialogs will of course be completely different.
However complete disregard for consistency never seemed to prevent
Microsoft from releasing Office with custom controls, so ...

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Internet Marketing and AdWords courses - http://merjis.com/courses - NEW!
Merjis blog - http://blog.merjis.com - NEW!


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] compiling wxocaml (and wxhaskell)
  2006-12-28 22:20 compiling wxocaml (and wxhaskell) Quôc Peyrot
  2006-12-28 22:52 ` [Caml-list] " Erik de Castro Lopo
@ 2007-01-13  3:20 ` Dom. Orchard
  1 sibling, 0 replies; 6+ messages in thread
From: Dom. Orchard @ 2007-01-13  3:20 UTC (permalink / raw)
  To: caml-list


I have been trying to do this too and have finally managed to get wxHaskell
0.9.4 working with wxWidgets 2.8.0.

My guide + code to do it can be found here:
http://riftor.g615.co.uk/content.php?view=53&type=2

I hope that it works for you too, it should do! Let me know if you have any
problems,

Dominic Orchard


Quôc Peyrot wrote:
> 
> Hello,
> 
> I was trying to find a good portable GUI library for my ocaml projects.
> A natural choice seemed to be wxwindows/wxWidgets since I wanted
> to have a native look'n feel and QT doesn't have any bindings in OCaml
> (to my despair... anyone working on QT bindings?)
> 
> Unfortunately wxocaml depends on wxc (found in wxhaskell) which seems
> to be outdated. I was wondering if anyone had any luck making it work
> with wxWidgets 2.8.
> 
> I already fixed a couple of compilation warnings/errors, but it seems  
> to be
> a never ending process and I'm not familiar at all with these  
> libraries, so
> I'm pretty much fixing the compilation errors randomly.
> 
> I guess I could use wxWidgets 2.5.4 as advised on wxhaskell's website  
> for
> Mac OS, but this version is almost 2 years old.
> 
> Any help appreciated,
> 
> -- 
> Best Regards,
> Quôc
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 
> 

-- 
View this message in context: http://www.nabble.com/compiling-wxocaml-%28and-wxhaskell%29-tf2892471.html#a8310839
Sent from the Caml Discuss2 mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-01-13  3:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-28 22:20 compiling wxocaml (and wxhaskell) Quôc Peyrot
2006-12-28 22:52 ` [Caml-list] " Erik de Castro Lopo
2006-12-28 23:48   ` Quôc Peyrot
2006-12-29  2:16     ` Robert Roessler
2006-12-29  9:44     ` Richard Jones
2007-01-13  3:20 ` Dom. Orchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).