Hi Thomas,
Have you installed Open CASCADE Community Edition? If so, have you installed this from source or packages, or let Nektar++ build it from source as part of the build process? The error shown in your terminal output looks to be the result of the build not finding one of the OCE header files.
On Ubuntu 16.04, you should be able to install the OCE dependencies from packages:
apt-get install liboce-foundation-dev liboce-modeling-dev liboce-ocaf-dev liboce-ocaf-lite-dev liboce-visualization-dev
I assume this will also install the associated runtime library packages as dependencies but if for some reason they're not installed automatically, you also need liboce-foundation10 liboce-modeling10 liboce-ocaf10 liboce-visualization10, and I think also libosmesa6
Once these packages are installed, in ccmake, set: THIRDPARTY_BUILD_OCE=OFF, then re-configure. You should find that cmake discovers the OCE installation and the OCE_DIR, OCC_INCLUDE_DIR and OCC_LIBRARIES options are set automatically.
Assuming there are no other issues, the build of the NekMesh utilities should now complete successfully.
Regards,
Jeremy
Dear All,
I need some help please with installing Nektar++ on Ubuntu 16.04 .
I've been trying to install it using the ccmake method as i was interested in using the NEKMESHGEN module.
I have however been encountering this errror after "make install" :
CMakeFiles/Makefile2:1023: recipe for target 'library/NekMeshUtils/CMakeFiles/NekMeshUtils.dir/all' failed
make[1]: *** [library/NekMeshUtils/CMakeFiles/NekMeshUtils.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 38%] Linking CXX executable LocProject1D
[ 38%] Built target LocProject1D
[ 38%] Linking CXX executable LocProject_Diff2D
[ 38%] Built target LocProject_Diff2D
[ 38%] Linking CXX shared library libCollections.so
[ 39%] Linking CXX executable LocProject3D
[ 39%] Linking CXX executable LocalRegionsUnitTests
[ 39%] Built target Collections
[ 39%] Built target LocProject3D
[ 39%] Built target LocalRegionsUnitTests
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
I have also tried ''make VERBOSE=1'' and get this :
<errirwdfqw.png>
When i tried compiling with NEKMESHGEN off it seemed to work.
Does anyone know how i can get around this issue?
Also is there a way to install the mesh generator without cmake? could i do it via sudo apt-get install?
Kind Regards,
Thomas Andreou
PhD Student
Aerospace Sciences Division
University of Glasgow
_______________________________________________
Nektar-users mailing list
Nektar-users@imperial.ac.ukhttps://mailman.ic.ac.uk/mailman/listinfo/nektar-users