Delivered-To: lablgtk at yquem.inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=Zk+MQlIagvq4eyrKDjvPFMTU7PQP/KkZUfHUBi+8+SI=; b=hwHMxSNIbYa1/oshUU7C3AtUGfAh+6oNYRlzEu4+pr/BY/8AGfSRrowTcWwlm4vhEeXwIRYulEL/JNiGM2PrmHw6kjjtCu++oxFJZFO50aHz+TdZgsUPs7uit4H61aEKV3xPOkHZ+E81u1CXfcYSTBs/jOlvaKVbKQD0sVTTRjw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=WhdG1hu+4vuUDOEKev63e/OdE8ukuqleH3e/KmkLLIOtZ1rKu7O9lQI66o5doZIyY5T2kNWgf4IJtSuAk4PmcRgwuO0naClez2PqS+tw5Zh8vTT36xMHSeOsTB5dL9RpSvq029ocsLHJBlVBKauVxpx+L1NZvuznLuWAtytjl0Q= Message-ID: Date: Tue, 19 Feb 2008 10:01:17 -0600 From: "Angela Zhu" To: "Yoann Padioleau" Subject: Re: [Lablgtk] Problem using GSourceView In-Reply-To: <87skzp5535.fsf at wanadoo.fr> MIME-Version: 1.0 References: <87skzp5535.fsf@wanadoo.fr> Cc: lablgtk at yquem.inria.fr Mime-version: 1.0 Content-Type: multipart/mixed; boundary="===============0127246338==" Content-Length: 4931 --===============0127246338== Content-Type: multipart/alternative; boundary="----=_Part_27156_18325402.1203436877994" ------=_Part_27156_18325402.1203436877994 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Feb 19, 2008 9:38 AM, Yoann Padioleau wrote: > "Angela Zhu" 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 Thanks! But even after I added these flags, I still got "Unbound module GSourceView" during compiling. Is there anything else I need to do? -- Regards, Angela Zhu ------------------------------------------ Dept. of CS, Rice University http://www.cs.rice.edu/~yz2/ ------------------------------------------ > > 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 > > Lablgtk@yquem.inria.fr > > http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk > ------=_Part_27156_18325402.1203436877994 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On Feb 19, 2008 9:38 AM, Yoann Padioleau <padator@wanadoo.fr> wrote:
"Angela Zhu" <angela22.zhu@gmail.com> 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

Thanks!

But even after I added these flags, I still got
"Unbound module GSourceView" during compiling.

Is there anything else I need to do?
--
Regards,
Angela Zhu
------------------------------------------
Dept. of CS, Rice University
http://www.cs.rice.edu/~yz2/
------------------------------------------



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
> Lablgtk@yquem.inria.fr
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk



------=_Part_27156_18325402.1203436877994-- --===============0127246338== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk --===============0127246338==--