|
|
Line 1: |
Line 1: |
− | Just a quick note on the installation of OpenCASCADE on debian linux amd64, I
| |
− | didn't find it entirely trivial, so here it goes:
| |
| | | |
− | Apt install the following packages, more may be needed, but this was what
| |
− | I needed on top of what I had:
| |
− |
| |
− | apt-get install sun-java5-jdk
| |
− | apt-get install g++-3.4
| |
− | apt-get install libstlport5-dev
| |
− |
| |
− |
| |
− | install in whatever directory you find suitable, I install things in
| |
− | $HOME/progs.
| |
− |
| |
− | get OpenCASCADE_Linux.tgz from the download section.
| |
− |
| |
− | in $HOME/progs
| |
− | mkdir OpenCASCADE
| |
− | mv OpenCASCADE_Linux.tgz OpenCASCADE
| |
− | cd OpenCASCADE
| |
− | tar xzvf OpenCASCADE_Linux.tgz
| |
− | cd Linux
| |
− | java -cp setup.jar run
| |
− |
| |
− |
| |
− | in $HOME/progs/OpenCASCADE/Linux/ros/run_all.sh (if that is where you
| |
− | installshielded the thing to) write the following (adjust options to what you
| |
− | need/want/have, but make sure that you don't use gcc-4x):
| |
− | csh env.csh
| |
− | export CC=gcc-3.4
| |
− | export CXX=g++-3.4
| |
− | export JAVAHOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.10
| |
− | export CASROOT=$HOME/progs/OpenCASCADE/Linux/ros
| |
− | ./configure --with-java-include=$JAVAHOME/include \
| |
− | --with-gl-include=/usr/include/ --with-gl-library=/usr/lib/ --with-x \
| |
− | --with-pic --with-xmu-include=/usr/include/X11/ \
| |
− | --with-xmu-library=/usr/lib/ \
| |
− | --with-stlport-include=/usr/include/c++/3.4/ \
| |
− | --with-stlport-libname=libstlport.so \
| |
− | --with-stlport-library=/usr/lib/ \
| |
− | --enable-debug
| |
− | make
| |
− |
| |
− |
| |
− | then, on the command line:
| |
− | chmod +x configure
| |
− | chmod +x run_all.sh
| |
− | ./run_all.sh
| |
− |
| |
− | And then wait and wait and wait and wait....
| |
− |
| |
− |
| |
− | I don't know how (sub)optimal such an install is, I'll try to provide updates as
| |
− | I get them.
| |
− |
| |
− | Cheers
| |
− | W
| |