Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

OpenCascade v 650 and Snow Leopard: a bug

OpenCascade v 650 and Snow Leopard: a bug
Laurent Delphin 2011/06/10 00:32
Hardware: Intel Core 2 Duo, 1 GB memory
XCode: 3.2.6
Snow Leopard (Mac OS X 10.6.7).

Make failed due to the following message:

OSD_Chronometer::GetThreadCPU(Standard_Real&, Standard_Real&)’:
../../../src/OSD/OSD_Chronometer.cxx:87: error: ‘CLOCK_THREAD_CPUTIME_ID’ was not declared in this scope
../../../src/OSD/OSD_Chronometer.cxx:87: error: ‘clock_gettime’ was not declared in this scope
my-make[3]: *** [OSD_Chronometer.lo] Error 1
my-make[3]: Leaving directory `/Volumes/External_1/_Technology-Softwares/_CAD-OpenCASCADE/_Source/OpenCASCADE650/ros/adm/make/TKernel'
my-make[2]: *** [all-recursive] Error 1
my-make[2]: Leaving directory `/Volumes/External_1/_Technology-Softwares/_CAD-OpenCASCADE/_Source/OpenCASCADE650/ros/adm/make'
my-make[1]: *** [all-recursive] Error 1
my-make[1]: Leaving directory `/Volumes/External_1/_Technology-Softwares/_CAD-OpenCASCADE/_Source/OpenCASCADE650/ros'
my-make: *** [all] Error 2

Intel TB was installed after having downloaded the binary package dedicated to Mac OS X. Appropriate flags were set, as indicated by the bash shell script file included.

I am very confident about succeeding building OpenCascade under Mac OS X however.
I look forward to hearing from you soon.

Kind regards,

Laurent D.

Encl. 1 zip file (with the shell script, and three log - text - files)
You have to be logged in to download the attached file
Thomas Paviot 2011/06/10 06:09
Hi Laurent,

I use to work with a MacOSX machine (Macbook Pro) and faced the same issue. It was one of the first fix contributed to the OCE project (on March 15th, see commit "Fixed missing clock_gettime implementation in MacOSX" at

The latest release OCE-0.3.0 can be successfully and easily compiled on MacOSX using CMake. You can either download the source code, clone the repository, or download a PackageMaker OSX binary package at The oce-dev mailing list will be happy to help you in case of any problem:

Best Regards,

Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map