For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Mac OS X port, partial success, clean compile, now stuck at Library not loaded -error, please advice

Kustaa Nyholm's picture
Forums: 

Hi

After some frustrating hours I've finally managed to compile OpenCASCADE on Mac OS X 10.4.8

I basically followed instruction on this page:

http://keepcool.kf.tu-berlin.de/public/mitarbeiter/sadowski_projects.html

thanks Torsten!

The instruction was a bit unclear on what 'install' on Linux means in that context. I took it to be just to unpack the source code with OCC provided
java based installer.

After I had all the required parts (TclTk, Qt and X11 libs) I had to modify
config.h in a few times before I could compile it. This was not in the
instructions, did I do something wrong. Should I have run the install script
on the Linux to get automake do this or something?

After it compiled cleanly (phywf, four hours for each trial!) it produced
woksh and wokprocess but no DRAWEXE.

Had to dig a little bit deeper, and I think that the DRAWEXE.comp needs to
be renamed to DRAWEXE.COMP to make it compile. Now it compiled but did not
link it. Modified the OpenCASCADE_darwin.sh to modify DRAWEXE.lnk file
correctly? Still had to run it manually. Now it compiles and I have DRAWEXE
but when I try to launch it from command line I get:

yholkumac:~/OpenCASCADE6.1.0/ros/Darwin/bin nyholku$ ./DRAWEXE
dyld: Library not loaded: /usr/X11R6/lib/libX11.6.dylib
Referenced from: /Users/nyholku/OpenCASCADE6.1.0/ros/Darwin/bin/./DRAWEXE
Reason: no suitable image found. Did find:
/usr/X11R6/lib/libX11.6.dylib: can't map
Trace/BPT trap

Any pointers, please?

Also I anyone has actually made this work and has a clean build process
with detailed, debugged and verified instructions, needless to say it would
be a real service to man kind to share them...

Is there are hope for an 'official' Mac OS open source distribution?

br Kusti