[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problems with compilation with lablgl.



Hello,

This is my first email to the debian-ocaml-maint list and I am not 100% 
that this email fits this mailing list, but it was the one that I thought 
matched best. Please cc me if you respond since I only read the mailing 
list archives on the debian www site. Thank you.

is there anyone else who have problems with compiling the examples in lablgl?
When I try to compile the simple.ml example then I get the following error.

ronnquis@debian:~/development/ocaml/test$  ocamlc -labels -I /usr/lib/ocaml/labltk 
 -I /usr/lib/ocaml/lablGL -I /usr/lib/libtk8.0 labltk.cma lablgl.cma togl.cmo 
simple.ml -o program
/usr/bin/ld: cannot find -ltk8.0
collect2: ld returned 1 exit status
Error while building custom runtime system

But I have /usr/lib/libtk.8.0.so.1 and I can run the example with toplevel:
lablgl -labels simple.ml 
works fine.

Does anyone have similar problems?

BR
Peter Rönnquist

Reply to: