Message-ID: <7737064.1099720991599.JavaMail.www at wwinf0601> From: Arnold GUILLAUMOT Reply-To: arnold.guillaumot at wanadoo.fr To: tkb at tkb.mpl.com Subject: Re: lablgtk 2.4.0 toplevel under Windows 2000 using "mingw" ocaml 3.08.1? Cc: lablgtk at kaba.or.jp Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_61003_24157575.1099720991594" Date: Sat, 6 Nov 2004 07:03:11 +0100 (CET) application/octet-stream" name="lablgtk2_diff_win32.patch" application/octet-stream" name="lablgtk2_diff_win32.patch" ------=_Part_61003_24157575.1099720991594 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit > However, when I tried the lablgtk2 hello world program it got this > error: > > $ lablgtk2 hello.ml > Cannot load required shared library dlllablgtk2. > Reason: The specified module could not be found. > > As far as I can tell no dlls were created during the lablgtk2 build > under this configuration. Should there have been? > > If I compile hello.ml > > $ ocamlc -o hello.exe -I +lablgtk2 lablgtk.cma gtkInit.cmo hello.ml > > and then run it it works fine. When you installed lablgtk-2.4.0, it should have created a bash script called lablgtk2. The script shall be located somewhere in a 'bin' directory of msys (look at ocaml/bin or something like this, it depends on where you installed ocaml). You have to modify it to use under MinGW. Here atteached a quick hack. regards ------=_Part_61003_24157575.1099720991594 Content-Type: application/octet-stream; name=lablgtk2_diff_win32.patch Content-Type: application/octet-stream; name=lablgtk2_diff_win32.patch content-transfer-encoding: base64 Content-Disposition: attachment; filename=lablgtk2_diff_win32.patch LS0tIGxhYmxndGsyCVNhdCBKdWwgMjQgMTc6MjM6MTEgMjAwNAorKysgbGFibGd0azIJU2F0IEp1 bCAxNyAxNDoxODozMCAyMDA0CkBAIC0yLDEyICsyLDEyIEBACiAKIHRocmVhZD0ibm8iCiBsb2Nh bGRpcj0ibm8iCi11c2VkbGw9InllcyIKK3VzZWRsbD0ibm8iCiB0aHJlYWRzX2xpYj0ic3lzdGVt IgogdmVyYm9zZT0ibm8iCiBpbml0PSJ5ZXMiCiBsaWJyYXJpZXM9IiIKLWxpYnBhdGg9Ii1JICIK K2xpYnBhdGg9IiIKIGNtZD0iJDAiCiAKIHdoaWxlIHRlc3QgLW4gIiQxIjsgZG8KQEAgLTY2LDQg KzY2LDQgQEAKIGZpCiAKIGlmIHRlc3QgJHZlcmJvc2UgPSB5ZXM7IHRoZW4gZWNobyAkdG9wbGV2 ZWwgLXcgcyAkbGlicGF0aCAkbGlicmFyaWVzICQqOyBmaQotZXhlYyAkdG9wbGV2ZWwgLXcgcyAk bGlicGF0aCAkbGlicmFyaWVzICQqCiskdG9wbGV2ZWwgLXcgcyAkbGlicGF0aCAkbGlicmFyaWVz ICQqCg== ------=_Part_61003_24157575.1099720991594--