For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Install on SUSE Linux

PeterNY's picture

Hi all,

I am tring to install OCC5.2 on SUSE linux, and I followed the instruction on the document that told me to use ./install.csh
It seems that I have installed it correctly. Does this mean that I have done it? If not what should I do next?

Thanks!

Billy Araujo's picture

I also would like to know what to do next. I installed it on Suse 9.2 and can't seem to get the samples to run.

Dean's picture

Hi Billy,

I treid it on SuSe 9.0

with the following steps
I got the samples to run.
hope this will help.

Setp 1. Make sure the Qt and Opencascade was installed.

Step 2. Setup $QTDIR, and $CASROOT in the .bashrc file in your home
directay by adding the following lines:

# for the Qt
QTDIR=/usr/lib/qt3
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH

# for the OpenCascade
CASROOT=/home/bon/OpenCASCADE5.2/ros
### Need to export this variable CASROOT for correct functioning of
OpenCACADE 5.0 ###
export CASROOT
CASROOTINC=$CASROOT/inc
OS_NAME=`uname`
#if ( $?PATH ) then
# export
PATH=$CASROOTINC:$CASROOT/../3rdparty/$OS_NAME/tcltk/bin:$CASROOT/
$OS_NAME/bin:$MYPATH
#else
PATH=$CASROOTINC:$CASROOT/../3rdparty/$OS_NAME/tcltk/bin:$CASROOT/
$OS_NAME/bin:$PATH
#fi
#if ( $?LD_LIBRARY_PATH ) then
# export
LD_LIBRARY_PATH=$CASROOT/../3rdparty/$OS_NAME/tcltk/lib:$CASROOT/
$OS_NAME/lib:$LD_LIBRARY_PATH
#else
LD_LIBRARY_PATH=$CASROOT/../3rdparty/$OS_NAME/tcltk/lib:$CASROOT/
$OS_NAME/lib:$LD_LIBRARY_PATH
#fi
export CSF_MDTVFontDirectory=$CASROOT/src/FontMFT
export CSF_LANGUAGE=us
export MMGT_CLEAR=1
export CSF_SHMessage=$CASROOT/src/SHMessage
export CSF_XSMessage=$CASROOT/src/XSMessage
export CSF_MDTVTexturesDirectory=$CASROOT/src/Textures
export CSF_StandardDefaults=$CASROOT/src/StdResource
export CSF_PluginDefaults=$CASROOT/src/XCAFResources
export CSF_XCAFDefaults=$CASROOT/src/XCAFResources
export CSF_GraphicShr=$CASROOT/$OS_NAME/lib/libTKOpenGl.so
export CSF_UnitsLexicon=$CASROOT/src/UnitsAPI/Lexi_Expr.dat
export CSF_UnitsDefinition=$CASROOT/src/UnitsAPI/Units.dat
export CSF_EXCEPTION_PROMPT=1
export CSF_IGESDefaults=$CASROOT/src/XSTEPResource
export CSF_STEPDefaults=$CASROOT/src/XSTEPResource
export TCLHOME=$CASROOT/../3rdparty/$OS_NAME/tcltk
export TCLLIBPATH=$TCLHOME/lib
#if ( $OS_NAME == "SunOS" ) then
# export ITK_LIBRARY=$TCLLIBPATH/itk3.2
# export ITCL_LIBRARY=$TCLLIBPATH/itcl3.2
# export TIX_LIBRARY=$TCLLIBPATH/tix8.1
# export TK_LIBRARY=$TCLLIBPATH/tk8.3
# export TCL_LIBRARY=$TCLLIBPATH/tcl8.3
#else if ( $OS_NAME == "Linux" ) then
export ITK_LIBRARY=$TCLLIBPATH/itk3.0
export ITCL_LIBRARY=$TCLLIBPATH/itcl3.0
# if ( $TIX_LIBRARY ) then
unset TIX_LIBRARY
# fi
export TK_LIBRARY=$TCLLIBPATH/tk8.0
export TCL_LIBRARY=$TCLLIBPATH/tcl8.0

export PATH LD_LIBRARY_PATH

Step 3. To make sure they were installed correctly; Try to excute the
QT samples under the OpenCASCADE5.2/ directary by doing following

./configure
make

then you can excute the sample programs.