WOK on Mac OS X 10.8

Hi,

I am trying to work with WOK on Mac OS X 10.8.

I am using WOK version "wokSetup6.6.0.1.dmg"

I have run WokConfig.app and configured all the 3rd party projects using macports packages, except for JDK (I figured I don't need JAVA; do I?) I left JDK un-ticked.

Then attempt to run wok_init.sh was unsuccessful; I get a number of faults as shown bellow. Any advice?

$ ./wok_init.sh

Session started: 2013.06.18 21:53
WOK environment configured to:
WOK Workstation: mac
3rd-parties root: '/Users/deniz/Workspaces/wokSetup6.6.0beta/site/../3rdparty/mac64'
File /Users/deniz/Workspaces/wokSetup6.6.0beta/site/../wok_entities/WOKSESSION.edl has been created.
File /Users/deniz/Workspaces/wokSetup6.6.0beta/site/../wok_entities/DEFAULT.edl has been created.
Creating the factory : LOC
Error : File LOC.edl could not be opened
Error : File LOC.edl could not be opened
Error : Child 883 died
libc++abi.dylib: terminate called throwing an exception
./wok_init.sh: line 14: 881 Abort trap: 6 $TCLSH_EXE

Kirill Gavrilov's picture

Hello,

I have just tried WOK distributive on clean Mac OS X 10.8 and have not experienced any issues - default factory has been created successfully.

Notice that you need setup 3rd-parties only for building OCCT, not for launching WOK (both tclsh and csh are already pre-installed on Mac OS X).

Your output looks like some libraries conflict, so try to clean 3rd-parties configuration (remove paths to macports).

Notice that I have never tried building OCCT using libraries from macports.

> (I figured I don't need JAVA; do I?)
No JDK is not required for OCCT itself, although JDK should be packaged within your XCode installation anyway.

Deniz Eren's picture

Hi,

Thank you for your reply,

I tried removing the macports paths and still no luck.
I also tried to configure with tclsh8.5, tclsh8.4 and even tried 8.6 from macports with no luck.

Here is what happens with the default OSX tclsh8.5:

Denizs-MacBook-Pro:site deniz$ ./wok_init.sh
Session started: 2013.06.19 21:40
WOK environment configured to:
WOK Workstation: mac
3rd-parties root: '/Users/deniz/Workspaces/wokSetup6.6.0beta/site/../3rdparty/mac64'
not found: FreeType2 (Major!)
not found: FreeImage (Optional, enabled)
not found: GL2PS (Optional, enabled)
not found: Intel TBB (Optional, enabled)
not found: Qt4 (Optional, set to check)
Creating the factory : LOC
Error : Child 1130 died
libc++abi.dylib: terminate called throwing an exception
./wok_init.sh: line 18: 1128 Abort trap: 6 $TCLSH_EXE < "$WOKHOME/site/CreateFactory.tcl"

Sébastien Raymond's picture

I've been facing the same issue.
The culprit was effectively mac port, uninstalling it resolved the issue.