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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Installation and building / Installation problem - System environment

Installation problem - System environment

Installation problem - System environment
forestier 2007/11/26 19:21
Hi everybody,
New in Linux, I was looking for a program like OOC.
I installed it without problem on my Ubuntu Gutsy (7.10) but now I'm facing a problem.
The documentation says:
"To set the necessary system environment, add the contents of $CASROOT/env.csh or env.ksh file to your shell rc file."
I've found env.csh and env.ksh files in my installation folder, but what i have to do with them ? And what is my shell rc file?
Could you help me, please.
Best Regards.
Hugues 2007/11/28 00:39
Hello,

I also have a Gutsy on my laptop and have successfully installed open cascade. I don't have csh and ksh, but bash. So I wrote an equivalent initialisation script of open cascade in bash, here it is :

#!/bin/bash
export CASROOT=/opt/lib/occ6.2.0/ros
OS_NAME=`uname`
export PATH="$CASROOT/../3rdparty/$OS_NAME/tcltk/bin:$CASROOT/$OS_NAME/bin:$PATH"
export LD_LIBRARY_PATH="$CASROOT/../3rdparty/$OS_NAME/tcltk/lib:$CASROOT/$OS_NAME/lib:$LD_LIBRARY_PATH"

export CSF_MDTVFontDirectory=$CASROOT/src/FontMFT
export CSF_LANGUAGE=us
export MMGT_CLEAR=1
export CSF_EXCEPTION_PROMPT=1
export CSF_SHMessage=$CASROOT/src/SHMessage
export CSF_MDTVTexturesDirectory=$CASROOT/src/Textures
export CSF_XSMessage=$CASROOT/src/XSMessage
export CSF_StandardDefaults=$CASROOT/src/StdResource
export CSF_PluginDefaults=$CASROOT/src/StdResource
export CSF_XCAFDefaults=$CASROOT/src/StdResource
export CSF_StandardLiteDefaults=$CASROOT/src/StdResource
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_IGESDefaults=$CASROOT/src/XSTEPResource
export CSF_STEPDefaults=$CASROOT/src/XSTEPResource
export CSF_XmlOcafResource=$CASROOT/src/XmlOcafResource

export TCLHOME=$CASROOT/../3rdparty/$OS_NAME/tcltk
export TCLLIBPATH=$TCLHOME/lib
case $OS_NAME in
"SunOS")
export TIX_LIBRARY=$TCLLIBPATH/tix8.1;;
esac

export ITK_LIBRARY=$TCLLIBPATH/itk3.2
export ITCL_LIBRARY=$TCLLIBPATH/itcl3.2
export TK_LIBRARY=$TCLLIBPATH/tk8.4
export TCL_LIBRARY=$TCLLIBPATH/tcl8.4




Replace the value of the variable CASROOT with the right folder for your case.
Once done, open a terminal and type "source /yourfolder/env.bsh" then you can use open cascade for your development.
Note : add "source /yourfolder/env.bsh" to ~/.bashrc (this is your shell rc file) so open cascade is fully configured on startup.
forestier 2007/11/29 17:32
Hi Hugues,
Thanks for you reply.
Following your message, it looks working fine now.
Thanks.
 
 
Latest news
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map