Re: [opendx-dev] Compiling outboard module on MacOSX 10.4 Tiger

2005-07-06 Thread John Pormann


On Jul 6, 2005, at 9:55 AM, Tan Meng YUE wrote:

   I have got OpenDX 4.3.2 running on OSX Tiger with no problem but  
the module compilation on OSX Tiger seems quite different from that  
in Linux.


How did you get it to compile?  I tried using the OpenMotif libs with  
OpenDX-4.3.2 on OSX/Tiger, but it croaked with compiler errors --  
multiply defined functions in the Xm/Xmu libs.  I couldn't get  
LessTif to compile either, so I had just about given up.


Do you have the configure options that you used?  Or makefiles/etc?


John



[opendx-dev] build problem on Mac OSX 10.4

2005-06-30 Thread John Pormann


I'm having problems building OpenDX 4.3.2 on Mac OSX 10.4 (Tiger).  I  
couldn't get Lesstif to build, so I'm using OpenMotif instead.


In the build process, I get:

g++ -g -O2 -I/usr/X11R6/include -I/sw/include -o dxui  
ColormapDefinition.o ColormapNode.o ... [[ lots of stuff ]] ...  
Main.o -force_flat_namespace -framework CoreFoundation -framework  
ApplicationServices -Wl,-bind_at_load  ../dxuilib/libDXUI.a ../base/ 
libBASE.a ../widgets/libWIDGETS.a -lnetcdf -ldf -lXpm -ldl /sw/lib/ 
libXm.dylib -L/usr/X11R6/lib -lXmu -lXp -lGLU -lGL -lXext -lXt -lX11 - 
lxt -lSM -lICE -L/sw/lib /sw/lib/libMagick.a /sw/lib/liblcms.dylib - 
ltiff /sw/lib/libjpeg.dylib -lpng -lbz2 /sw/lib/libxml2.dylib /sw/lib/ 
libiconv.dylib -lz -lpthread -lm

/usr/bin/ld: multiple definitions of symbol __XEditResCheckMessages
/sw/lib/libXm.dylib(EditresCom.lo) definition of __XEditResCheckMessages
/usr/X11R6/lib/libXmu.dylib(EditresCom.o) definition of  
__XEditResCheckMessages

collect2: ld returned 1 exit status
make[3]: *** [dxui] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Any ideas why there are two __XEditResCheckMessages functions  
defined?  Thanks for any info you can give!



John