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 / Rebuilding on LINUX

Rebuilding on LINUX

Rebuilding on LINUX
Rajesh Kishore 2007/05/23 09:33
Hi all,
Can anyone give me step by step method to rebuild the OCC libraries in LINUX ( SUSE 10.2 )
Andreas Kain 2007/06/07 17:17
Hi,

I've already done some steps in installing OpenCascade on Suse 10.2, but I don't know if it's already properly installed.

- unpack OpenCASCADE_Linux.tgz
- run ./Install.csh from Terminal
normaly the installation should start.

If java stopps loading then see
- readme.htm in unpacked folder
--> OpenCASCADE installation

You should make an update of your Java runtime environment
(explanation how to in german is in http://de.opensuse.org/Java_auf_SUSE_Linux_installieren) The Basic Idea is to install Sun Java 1.5.0 from an additional update server - you have to add it in your YAST.

After that you should be able to run ./install.csh. If not try to launch the file like described in mentioned readme.htm by
java -cp path_to_file_setup.jar.

This worked out fine for me.

After that you will find OpenCASCADE installed in
/opt/OpenCASCADE6.2.0

open your Terminal again an be sure that you are logged with your Master password (type su) thus you have the right to add the content of env.csh to your bashrc-file.

type open your bashrc-file e.g with emacs:
emacs /etc/bash.bashrc

click with your cursor at the on of the file and then insert the content of env.csh --> File insert File

env.csh is located in /opt/OpenCASCADE6.2.0/ros/

Unfortunately your bash-shell would not recognize the setenv command included in env.csh. Search for it and replace it with export:
CSH shell: setenv name value
Bash shell: export name=value
so write export CASROOT=/opt/OpenCASCADE6.2.0/ros. instead

Now you can run ./configure in
opt/OpenCASCADE6.2.0/samples/Tutorial and no error will occure.

That's what I have done so far. But I think that there is still one step missing, because I don't succeed in comiling another piece of software called cam-occ using the OpenCASCADE libaries.

Does anybody have some inputs?

Greetings
Andreas
Jan Brüninghaus 2007/06/08 08:46
For rebuilding the libraries you have to call "make" and "make install" in $CASROOT. You will encounter errors, which can be solved with the additional compiler options mentionend in http://www.opencascade.org/org/forum/thread_10015/
 
 
Latest news
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

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