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

OpenCASCADE (WOKSH) make problems on OS X 10.6 SNow Leopard Intel i7

Dean Goves's picture

I am having trouble building OpenCASCADE.
I am running OS X 10.6 Snow Leopard on an Intel Core i7 iMac.

Make runs until it moves into the WOKSH Directory.

I then get the following error:

ld: warning: in /sw/lib/libtcl8.4.dylib, file is not of required architecture
ld: warning: in /sw/lib/libtk8.4.dylib, file is not of required architecture
Undefined symbols:
"_Tcl_Main", referenced from:
_main in woksh.o
"_Tcl_SetVar", referenced from:
_Tcl_AppInit in woksh.o
"_Tcl_Init", referenced from:
_Tcl_AppInit in woksh.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [woksh] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I can compile without WOK but i need this for my project.

A quick forum and google search has not yielded any results. Could it be a 32/64 bit problem? - If so how can i force make to fun all in 32bit and is this wise?

Any help would be very much appreciated.

jelle's picture

Hi Dean,

If your 'just' interested in building the libs, you're welcome to download the 64-bit 6.3 version that Thomas ( of pythonocc fame ) compiled.
You can find it here:

http://www.pythonocc.org/releases/722/darwin/SL_64bit_Intel/

Cheers,

-jelle

Dean Goves's picture

Many thanks for the link.

This is useful to me, but I would also like to build the tutorial programs and to understand why my build is failing. Any help on solving my build problems would be very much appreciated.

Cheers,

Dean