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] Building camlimages programs on deb (and linux)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: chris.danx <chris.danx@n...>
Subject: [Caml-list] Building camlimages programs on deb (and linux)

I'm in the process of making a script to build programs with camlimages
easier but have hit a snag linking... the output is

Error on dynamically loaded library: /usr/X11R6/lib/
undefined symbol: XDefaultScreen

Does anyone else get this problem?

ocamlc `camlimages-config` -cclib "-L/usr/X11R6/lib -lXpm
-lpng -lfreetype -lz -ljpeg -gif"

camlimages-config is simply



echo -I $LIBDIR ci_core.cma ci_gif.cma ci_jpeg.cma ci_tiff.cma
ci_xpm.cma ci_bmp.cma ci_ppm.cma ci_png.cma ci_ps.cma ci_xvthumb.cma

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: