English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
compile ocaml-ming on macosx error
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-11-20 (03:20)
From: Albert Lee <hanzhupeng@g...>
Subject: compile ocaml-ming on macosx error
I want to use ocaml-ming to generate swf files.
and I found:  http://www.linux-nantes.org/~fmonnier/OCaml/ming/
I use the latest version of ocaml/ming , and it can be done on a Ubuntu system,
but, on macosx10.4 , when I make, I got some error like:

$ ./impatient.sh
ocamlc.opt  -c  SWF.mli
ocamlc.opt  -c  SWF.ml
ocamlc.opt  -c  -cc "gcc -o c_ming.o"  ming.wrap.c
ocamlmklib  -o  _ming_stubs  c_ming.o  \
        -lming  -lz -lm -lgif -lpng
ocamlc.opt  -a  -custom  -o SWF.cma  SWF.cmo  \
        -dllib dll_ming_stubs.so  \
        -cclib -l_ming_stubs
ocamlopt.opt  -c  -ccopt -static  SWF.ml
ocamlopt.opt -a  -o SWF.cmxa  SWF.cmx  \
        -cclib -l_ming_stubs  \
        -cclib -lming  -cclib -lz -cclib -lm -cclib -lgif -cclib -lpng
Cannot load required shared library dll_ming_stubs.
Reason: dynamic loading not supported on this platform.

It said, dll not supported, how to fix it use static lib ?