CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] How to install OpenCASCADE for Gmsh 3.0.6 ?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By deepbandivadekar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2018, 09:08
Default How to install OpenCASCADE for Gmsh 3.0.6 ?
  #1
Senior Member
 
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8
deepbandivadekar is on a distinguished road
As the question suggests, is there any straight-forward way to install OpenCASCADE so that I can use Boolean Operations in Gmsh ?

It seems I could install gmsh sucessfully but it seems my machine doesn't have the correct version of OpenCASCADE.
Following is from the cmake log:
Code:
Found OpenCASCADE version 6.8.0 in /usr/include/oce
CMake Warning at CMakeLists.txt:1139 (message):
   Gmsh requires OpenCASCADE >= 6.9.1
There's not a very clear installation instructions for OpenCASCADE but I downloaded the cmake source from their website. When I tried to build it with make it fails at 41% with following errors
Code:
[ 41%] Linking CXX shared library ../../lin64/gcc/lib/libTKService.so
/usr/bin/ld: cannot find -lXi
collect2: error: ld returned 1 exit status
src/TKService/CMakeFiles/TKService.dir/build.make:703: recipe for target 'lin64/gcc/lib/libTKService.so.7.3.0' failed
make[2]: *** [lin64/gcc/lib/libTKService.so.7.3.0] Error 1
CMakeFiles/Makefile2:1193: recipe for target 'src/TKService/CMakeFiles/TKService.dir/all' failed
make[1]: *** [src/TKService/CMakeFiles/TKService.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
deepbandivadekar is offline   Reply With Quote

Old   June 13, 2018, 05:31
Default Update
  #2
Senior Member
 
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8
deepbandivadekar is on a distinguished road
If it helps anyone..



Solved this with
Code:
sudo apt-get install libxi-dev
and then reinstall.
wyldckat likes this.
deepbandivadekar is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Install OpenFOAM without admin right OpenFoamlove OpenFOAM Installation 1 December 31, 2017 11:45
error make SU2 4.0.1 Heathckliff SU2 Installation 2 November 9, 2015 05:48
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 kobayashi OpenFOAM Community Contributions 2 January 5, 2014 17:33
unable to install openfoam 1.7 using apt-get maazhmd OpenFOAM Installation 7 July 24, 2011 11:18
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 14:43


All times are GMT -4. The time now is 04:33.