Date: Fri, 28 Oct 2005 10:31:27 +0200 To: lablgtk at math.nagoya-u.ac.jp From: Zcode Reply-To: Zcode Subject: Re: new pre-release of lablgtk2 and lablGL (including win32) Message-ID: <9970564af893bfbce0c5121d89e96c03 at 84.222.91.162> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" >That's strange. >I know the warnings: they come from the fact I just rename a MSVC >export library for use under mingw. But this is not the problem. >You "undefined references" are about ocaml code. >So this looks like ocamlopt doesn't work at all. >Could you try compiling and linking an ocamlopt program in this >directory (not using lablgtk)? >Also, did ocamlc -custom work? > >Jacques In the directory where I am ($OCAMLLIB/lablgtk2/examples) I tried to build a simple ocaml program with ocamlopt (ocamlopt -ccopt "-L/c/gtk-2.6.8/lib" unix.cmxa cryptokit.cmxa foo.ml -o foo.exe), and it's ok. Then I built the testGtk example with ocamlc: ocamlc -custom -ccopt "-L/c/gtk-2.6.8/lib" -I +lablgtk2 lablgtk.cmxa gtkInit.cmx testGtk.ml -o testGtk.exe and it linked but with a list of the following warning: Warning: .drectve `/DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized With ocamlopt the linking problem still persists (also after downloading today's lablgtk and gtk packages) -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: La vacanza in montagna per la famiglia a prezzi convenienti? Visita Alto Adige Last Minute la qualità che conviene! Clicca qui Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4088&d=20051028