Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Problem when using the native-code compiler and the Graphics module
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: GhostDog <j.domelevo@f...>
Subject: [Caml-list] Problem when using the native-code compiler and the Graphics module
Hello !
I'm trying to run the following command :

ocamlopt graphics.cmx flocon.ml -S -cclib -L/usr/X11/lib -cclib -lX11 -o flocon.exe

to compile flocon.ml using the Graphics module.
Unfortunately it doesn't work, and returns :

gcc: /usr/local/lib/ocaml/graphics.o: No such file or directory
Error during linking

Why is that so ?
Thanks.

-- 
J.B. Domelevo
ENS Cachan - Brittany extension

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners