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

Search the Forums
See All Topics

OCC 6.3 on Ubuntu Intrepid

OCC 6.3 on Ubuntu Intrepid
Torsten Sadowski 2009/01/20 14:46

I found two points when installing OpenCASCADE6.3.0 on Ubuntu Intrepid Ibex. The outdated led to a heavily memory leaking libtool which crashed the system. This can be solved by using the system libtools The second is a small file creation problem in WOKUnix.

Cheers, Torsten

Patch for WOK:

--- WOKUnix_FDescr.cxx.orig 2009-01-19 21:17:29.000000000 +0100
+++ WOKUnix_FDescr.cxx 2009-01-20 14:12:24.000000000 +0100
@@ -202,7 +202,8 @@
if(mknod(apath.ToCString(), 0700 | S_IFIFO, 0))
{ perror(apath.ToCString());}

- myFileChannel = open(apath.ToCString(), O_RDONLY | O_NDELAY | O_CREAT);
+ myFileChannel = open(apath.ToCString(), O_RDONLY | O_NDELAY | O_CREAT,

// write end of pipe is unbuffered also

To build:

export CASROOT=/home/totty/Projects/OpenCASCADE6.3.0/ros
cp /usr/share/libtool/config/ make/
export TCLHOME=/usr
flags="$flags --with-tcl=${TCLHOME}/lib/tcl8.4"
flags="$flags --with-tk=${TCLHOME}/lib/tk8.4 "
flags="$flags --with-java-include=/usr/lib/jvm/java-1.5.0-sun- "
flags="$flags --disable-debug --enable-production"
#flags="$flags --enable-debug --disable-production"
flags="$flags --enable-wrappers=yes"
flags="$flags --enable-wok=yes"
flags="$flags --enable-draw=yes"
./configure --prefix=${CASROOT}/bootstrap_lin $flags
make install
Steven Zalek 2009/03/12 20:17
Tosten, thanks for this installation help.

I would like to also build a debug library. Should I just copy the source over to a new directory (e.g. OpenCASCADE6.3.0-dbg) and perform the steps anew (with debug enabled)? Do I need to specifically define a new installation (make install) directory as well in order to keep both the production and debug versions?

Torsten Sadowski 2009/03/15 21:41
Hi Steven,

you have to run configure/make/make install again with a new --prefix option.

Cheers, Torsten
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