Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* OS X and camlimages
@ 2004-12-06 21:57 Christophe Raffalli
  2004-12-06 23:12 ` [Caml-list] " Daniel Bünzli
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe Raffalli @ 2004-12-06 21:57 UTC (permalink / raw)
  To: caml-list



* I failed to compile cleanly camlimages on OS X (with fink) (I had to add -L/
sw/lib and -I/sw/include at the proper places ...

* By the way, do you know if and what part of camlimages can be compiled on 
OS X without any fink library.

Finally, when linking with GlSurf, I got the following problem which tend to 
prove that libpng is already in the standard OS X library (but I could not find 
the headers, may be I am missing some SDK in xcode):


ocamlopt  -o glsurf functionstubs.o -labels -I +lablGL -I +threads -I 
+camlimages -pp "camlp4o pa_macro.cmo -DOSX" -ccopt "-g" -cclib 
-bind_at_load -thread nums.cmxa unix.cmxa threads.cmxa lablglut.cmxa 
lablgl.cmxa ci_core.cmxa ci_bmp.cmxa ci_gif.cmxa ci_jpeg.cmxa 
ci_ppm.cmxa ci_ps.cmxa ci_xpm.cmxa ci_tiff.cmxa ci_png.cmxa -cclib -L/
sw/lib -cclib -L/usr/X11R6/lib -cclib -lobjc -ccopt "-framework openGL" 
-ccopt "-framework GLUT" glchar.cmx dirty.cmx input_util.cmx algebra.cmx 
expression.cmx vector.cmx optimisation.cmx vect3.cmx target.cmx 
parameters.cmx function.cmx glarrays.cmx triangulation_tools.cmx 
draw.cmx pivot.cmx marching_cube.cmx curve.cmx action.cmx inflate.cmx 
parser.cmx main.cmx

ld: warning multiple definitions of symbol _png_get_uint_31
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit(single 
module) definition of _png_get_uint_31
/sw/lib/libpng.dylib(pngrutil.pic.o) definition of _png_get_uint_31


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-07 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-06 21:57 OS X and camlimages Christophe Raffalli
2004-12-06 23:12 ` [Caml-list] " Daniel Bünzli
2004-12-07 17:15   ` Christophe Raffalli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox