Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 is the example from lablgtk2 package)

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

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 Archives:
Bug reports: FAQ:
Beginner's list: