Guys,

I recall seeing some comments by Dan Heeks on building OCC, perhaps useful?

If you're lucky to have a mulit core machine, don't forget to use
make -j 8

where 8 is the number of cores.

-jelle

https://www.blogger.com/comment.g?blogID=4746036612237842643&postID=7242152714259315360

To build Open CASCADE, I downloaded the source code. www.opencascade.org ( it was called OpenCASCADE_src.tgz ) and extracted it. I got packages called tk8.4 and tk8.4-dev from Synaptic Package Manager

I typed in a terminal:
cd Desktop/OpenCASCADE6.3.0/ros
mkdir build
cd build
flags="--with-gl-include=/usr/include --with-gl-library=/usr/lib"
flags="$flags --with-xmu-include=/usr/X11R6/include/X11"
flags="$flags --with-xmu-library=/usr/X11R6/lib"
flags="$flags --with-tcl=/usr/share/tcltk/tcl8.4"
flags="$flags --with-tk=/usr/share/tcltk/tk8.4"
flags="$flags --disable-debug --enable-production"
../configure $flags
sudo make
sudo make install
sudo ldconfig
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to