From: "Christophe Raffalli" <Christophe.Raffalli@univ-savoie.fr>
To: caml-list@inria.fr
Subject: OS X and camlimages
Date: Mon, 06 Dec 2004 22:57:58 +0100 [thread overview]
Message-ID: <200412062157.iB6LvtpX025619@post.bourget.univ-savoie.fr> (raw)
* 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
next reply other threads:[~2004-12-06 21:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-06 21:57 Christophe Raffalli [this message]
2004-12-06 23:12 ` [Caml-list] " Daniel Bünzli
2004-12-07 17:15 ` Christophe Raffalli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200412062157.iB6LvtpX025619@post.bourget.univ-savoie.fr \
--to=christophe.raffalli@univ-savoie.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox