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 / Install the OCC 6.5 on Ubuntu 10.04

Install the OCC 6.5 on Ubuntu 10.04

Install the OCC 6.5 on Ubuntu 10.04
Gustavo Toranzo Lorca 2011/05/24 15:50
Hello, I am trying to install OpenCASCADE on Ubuntu 10.04 with the fallowing script but some error appears:

export CASROOT="your_opencascade_folder/ros"
occFlags="--with-tcl=/usr/lib/tcl8.5"
occFlags="$occFlags --with-tk=/usr/lib/tk8.5"
occFlags="$occFlags --with-gl-include=/usr/include"
occFlags="$occFlags --with-gl-library=/usr/lib"
occFlags="$occFlags --with-xmu-include=/usr/include"
occFlags="$occFlags --with-xmu-library=/usr/lib"
occFlags="$occFlags --enable-wok=no"
occFlags="$occFlags --enable-draw=yes"
occFlags="$occFlags --enable-wrappers=no"
occFlags="$occFlags --enable-static=no"
occFlags="$occFlags --enable-shared=yes"
occFlags="$occFlags --disable-debug --enable-production"
./configure $occFlags --prefix=$CASROOT

The script was found in http://www.opencascade.org/org/forum/thread_15348/ and some of the errors are:
../../../src/OpenGl/OpenGl_FontMgr.cxx:3:37: error: FTGLTextureFont.h: No such file or directory
../../../src/OpenGl/OpenGl_FontMgr.cxx:4:23: error: FTLibrary.h: No such file or directory
../../../src/OpenGl/OpenGl_FontMgr.cxx:5:20: error: FTFace.h: No such file or directory

Regards.
Venugopal Gudimetla 2011/05/24 18:41
I had the same problem on my machine sometime back with v6.5. The problem is that ftgl latest version, is it 2.1.3r5? not sure doesn't copy the include files into the inlcude directory where you ftgl is installed. So I copied them manually to the installed directory, may be not an elegant solution, but it works, and I am fine with that.

So check if ftgl_installed_dir/include has FTGLTextureFont.h etc files, if not check the directory where you built your ftgl and see if you can fine the files there, copy them to ftgl_installed_include and try building OCC again.
Gustavo Toranzo Lorca 2011/05/24 20:46
Thanks to Venugopal and Thomas for the answers, I was trying the first answer. The ftgl include files are copied in /usr/include/FTGL, then I copied this folder to de inc folder of opencascade but I got error again.
I will download the OCE to built it on my Ubuntu 10.04 machine using the CMake builder.

Regards.
Venugopal Gudimetla 2011/05/25 16:15
Hi Gustavo, That's a better idea, OCE guys have put in lot of effort to fix lot of problems and also have included several patches.
Thomas Paviot 2011/05/24 19:50
Hi Gustavo,

At OCE, we fixed many issues related to the build system, FTGL support etc. I successfully built it on my Ubuntu 10.04 machine using the CMake builder. May be you'd like to check what we achieved: https://github.com/tpaviot/oce/

The latest 0.2.0 release is available at: https://github.com/tpaviot/oce/zipball/OCE-0.2.0

Regards,

Thomas
 
 
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