Re: Problem using GSourceView

Yoann Padioleau <[email protected]>
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
"Angela Zhu" <[email protected]> writes:

> Hello,
>
> I have lablgtk 2.10.0 installed on my machine. And I want to
> use GSourceView.source_view in my OCaml program.
>
> At the beginning of my file, when I have:
>    open Glib
>    open GtkEdit
> The file compiles just fine.
>
> But when I add
>    open GSourceView, I got "Unbound module GSourceView".
>
> Does anyone have some idea what can be wrong here?

I have those flags in my Makefile to compile code using GSourceView:
SYSINCLUDES= -I +lablgtk2 -I +lablgtksourceview
SYSLIBS=str.cma unix.cma dbm.cma threads.cma  lablgtk.cma lablgtksourceview.cma

Even if gtksourceview is now part of lablgtk2, it looks like they
are compiled in different library files (.cma).


>
>
> Many thanks in advance!
> --
> Regards,
> Angela Zhu
> ------------------------------------------
> Dept. of CS, Rice University
> http://www.cs.rice.edu/~yz2/
> ------------------------------------------
> _______________________________________________
> Lablgtk mailing list
> [email protected]
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.