|
[Sponsors] |
[OpenFOAM.org] Installing OF2.4.0 on Ubuntu16.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 28, 2018, 07:25 |
Installing OF2.4.0 on Ubuntu16.04
|
#1 |
New Member
So Anon
Join Date: Jun 2014
Posts: 28
Rep Power: 12 |
Hello everyone,
While installing OF2.4.0 on Ubuntu16.04, I get the following Third Party related cmake errors during Allwmake: Code:
== Generating build files == Configuring libCGAL -- Requested component: MPFR -- Requested component: GMP libCGAL is configured -- Sources for CGAL component library 'CGAL_ImageIO/CMakeLists.txt' detected CMake Error at src/CMakeLists.txt:81 (add_subdirectory): add_subdirectory given source "/opt/OpenFOAM/ThirdParty-2.4.0/CGAL-4.6/src/CGAL_ImageIO/CMakeLists.txt" which is not an existing directory. Call Stack (most recent call first): src/CMakeLists.txt:140 (configure_component) -- Sources for CGAL component library 'CGAL_Qt4/CMakeLists.txt' detected CMake Error at src/CMakeLists.txt:81 (add_subdirectory): add_subdirectory given source "/opt/OpenFOAM/ThirdParty-2.4.0/CGAL-4.6/src/CGAL_Qt4/CMakeLists.txt" which is not an existing directory. Call Stack (most recent call first): src/CMakeLists.txt:140 (configure_component) -- Sources for CGAL component library 'CGAL_Core/CMakeLists.txt' detected CMake Error at src/CMakeLists.txt:81 (add_subdirectory): add_subdirectory given source "/opt/OpenFOAM/ThirdParty-2.4.0/CGAL-4.6/src/CGAL_Core/CMakeLists.txt" which is not an existing directory. Call Stack (most recent call first): src/CMakeLists.txt:140 (configure_component) -- Sources for CGAL component library 'CGAL_Qt3/CMakeLists.txt' detected CMake Error at src/CMakeLists.txt:81 (add_subdirectory): add_subdirectory given source "/opt/OpenFOAM/ThirdParty-2.4.0/CGAL-4.6/src/CGAL_Qt3/CMakeLists.txt" which is not an existing directory. Call Stack (most recent call first): src/CMakeLists.txt:140 (configure_component) -- Sources for CGAL component libraries 'CGAL_Core/CMakeLists.txt;CGAL_ImageIO/CMakeLists.txt;CGAL_Qt3/CMakeLists.txt;CGAL_Qt4/CMakeLists.txt' detected == Generating build files (DONE) == -- Configuring incomplete, errors occurred! See also "/opt/OpenFOAM/ThirdParty-2.4.0/build/linux64Gcc/CGAL-4.6/CMakeFiles/CMakeOutput.log". See also "/opt/OpenFOAM/ThirdParty-2.4.0/build/linux64Gcc/CGAL-4.6/CMakeFiles/CMakeError.log". + exit 1 ======================================== Done ThirdParty Allwmake ======================================== |
|
May 31, 2018, 08:39 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
Quick answer: Step-by-step installation instructions for the versions you stated are given here: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04
Compiling OpenFOAM as root is a bit of a risk, because if you mistype a command, you risk damaging your complete Ubuntu installation, so be veeeery careful!
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 11:58 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 21:53 |
question about installing Openfoam 1.6-ext | Haotian | OpenFOAM Installation | 2 | November 17, 2013 18:47 |
Install OF 1.6.ext on Arch based distribution | miro2000 | OpenFOAM Installation | 4 | October 9, 2013 14:39 |
My experience Installing Elmer (Open Source Multi physics programme) on Linux | Ahmed | Main CFD Forum | 3 | August 10, 2010 13:42 |