On Jun 16, 2004, at 2:54 AM, Lauri Lehtovaara wrote:

I tried to compile OpenDX 4.3.2 on Mac OS X 10.3.4 and encountered some problems. So, I thought that someone else might be interested what I've done.

Compiling OpenDX 4.3.2 on Mac OS X 10.3.4 (dual G5):

Prerequisites (for me):
1)      X11SDK from Xcode 1.2 CD
2)      OpenMotif from Fink
3)      ImageMagick

Compiling with gcc (in Terminal):
1) ./configure –with-x –with-motif-includes=/sw/include –with-includes=/usr/X11R6/include > config.output


That should be
CFLAGS=-I/sw/include LDFLAGS=-L/sw/lib ./configure --with-motif-libs=/sw/lib --with-motif-includes=/sw/include

--with-x just confuses things (it's enabled by default). opendx will then compile cleanly with a simple make. By default, configure scripts write a log file to config.log, so the redirection to config.output is not necessary. the CFLAGS and LDFLAGS directives inform the configure script of the existence of useful fink libraries.
(You can install dx via fink, but it changes some things...)

Jeremy

Reply via email to