Delivered-To: garrigue at math.nagoya-u.ac.jp Authentication-Results: mailhost.math.nagoya-u.ac.jp sender=lablgtk-bounces at yquem.inria.fr; domainkey=neutral (no query protocol specified; no policy for yquem.inria.fr) 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:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=eBqExYuempSHNm2e5R1S9VFnylVpRwTOfMkdiHGWf7U=; b=tC4HYfU7TTG7JjkHq2sOsLFQfs4VSP+9luKUljByomiU2oZG+uYWNDlL4tV4HLRGGr SNV/PDb4A/bUd4UhlIxo65imuf1jLRabBCgj3PsSQFm77H06AdQMuPVwYTXcSAt6aJ0y rDtAk5mIMSgfXtoAyvCe2RQUWlx0MvbE4C+jM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nJI5pPlroxjOd/7R7nO28QMAP8jAEP9mPGGzuKUT4WWyNPfy1GpyyH8KbNlTvSr0q6 igi19iudtji4h9deLA+C+snUGxMwDjASXfm6blVhUOcsj+NXTy1IpoY1x/+ZZE65X4BW 8izotin3qU4LKkRWEds7say8vphaM6SNBIsQ0= MIME-Version: 1.0 Date: Sun, 21 Nov 2010 21:19:01 +0100 Message-ID: From: Serge Le Huitouze To: lablgtk Content-Type: text/plain; charset=ISO-8859-1 Subject: [Lablgtk] Compiling examples Status: U Hi, Instead of asking newbie questions here (which are not answered anyway ;-), I decided to take it the long way and compile all examples to see whether they cover what I'm looking for... However, I ran into trouble as early as the second (in lexicographic order) file, namely "accel_tree.ml"! First, it lacks a comment in the header giving the full command line to compile it. So I thought I'd try the same command as for "about.ml": * ocamlc -g -I ../src lablgtk.cma accel_tree.ml -o accel_tree Which gave me the (not so unusual) warning: * File "accel_tree.ml", line 80, characters 2-32: * Warning S: this expression should have type unit. Executing it terminates immediately with the cryptic message: * Fatal error: unknown C primitive `ml_gtk_tree_view_get_visible_range' Googling this primitive produced only one page: http://old.nabble.com/Patch-to-add-binding-for-gtk_tree_view_get_visible_range-td26901400.html which didn't enlighten me much, even more so given that this message dates from December 2009, whereas file "accel_tree.ml" dates from August 2008... Any hint on how to solve this? Thanks in advance. --Serge _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk