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
[Caml-list] OCamlMake and cmo files
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-27 (09:34)
From: Flavio <sixdegreesoit@y...>
Subject: [Caml-list] OCamlMake and cmo files
Hello all,
Sorry if this is obvious, but I tried on the beginners list with no 
luck, so...

I'm trying to use OCamlMake from Markus Mottl but don't know what to do 
with .cmo files.
My Makefile is: (file editor2.ml is the example from lablgtk2 package)

OCAMLMAKEFILE = /usr/share/ocaml-tools/OCamlMakefile

SOURCES = editor2.ml
RESULT  = editor2
INCDIRS = +lablgtk2
LIBS = lablgtk gtkInit


and the error is 
ocamlc  -I +lablgtk2 lablgtk.cma gtkInit.cma -o editor editor.cmo
Cannot find file gtkInit.cma

Right, the file is gtkInit.cmo but if i add the extension to the 
filename it tells: Cannot find file gtkInit.cmo.cma

Am I missing something obvious?


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