Hi Jelle, Yes, I've used tips from Dan Heeks (and several others on the OpenCASCADE list). In case it is helpful to anyone else here on the list, I'm using Fedora 10, and the following worked for me:
<---snip---> export CASROOT=/home/magill/occ/OpenCASCADE6.3.0/ros cd ${CASROOT} aclocal automake autoconf cp /usr/share/libtool/ltmain.sh make/ flags="--with-gl-include=/usr/include --with-gl-library=/usr/lib" flags="$flags --with-xmu-include=/usr/include/X11" flags="$flags --with-xmu-library=/usr/lib" flags="$flags --with-tcl=/usr/lib" flags="$flags --with-tk=/usr/lib " flags="$flags --with-java-include=/usr/lib/jvm/java/include " flags="$flags --disable-debug --enable-production" flags="$flags --enable-wrappers=yes" flags="$flags --enable-wok=no" flags="$flags --enable-draw=yes" ./configure $flags --prefix=/usr/local/occ63 make su make install <---snip---> I don't think I need WOK, so I disabled that. I needed to pull the devel package for Xmu (I guess also tcl-devel and tk-devel), but everything else I needed was already present. I'll be installing onto an eight-core x86_64 machine when I get some time to upgrade it - I'll let you all know how it goes. Arthur Jelle Feringa wrote: > 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 > > <https://www.blogger.com/comment.g?blogID=4746036612237842643&postID=7242152714259315360> > > To build Open CASCADE, I downloaded the source code. www.opencascade.org > <http://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 > -- Arthur Magill, PhD RF Engineer Centre d'Imagerie BioMédicale (CIBM) Laboratory for Functional and Metabolic Imaging (LIFMET) Ecole Polytechnique Fédérale de Lausanne (EPFL) Station 6, CH F1 532 (Bâtiment CH), CH-1015 Lausanne, Switzerland tel: +41 21 693 0569 fax: +41 21 693 7960 email: arthur.mag...@epfl.ch _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users