Personal tools
You are here: Home Forum Install & build Compile on Arch/Manjaro

Compile on Arch/Manjaro

Up to Install & build

Compile on Arch/Manjaro

Posted by Bernd_R at November 17. 2017

Hello everyone,

Universal binaries seem not to work in many situations and documentation for compilation is rather scarce or well hidden, therefore I would like to write down what I did so far and ask for help.

I downloaded the source code for 8.3: http://www.salome-platform.org/downloads/current-version/DownloadDistr?platform=Sources&version=8.3.0

and extracted the file. Inside you will find a lot more folders without documentation what to do next, which led me to the GUI folder inside. Do I need to compile KERNEL first? Or any other piece? No idea, there is no hint I could find so far. . .

The README of the KERNEL or GUI folder tells you how to set up cmake:

Create a build directory: mkdir build

Enter it: cd build

And run this cmake command:

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/me/OpenFOAM/05_CAD/install/ /home/me/Downloads/src8.3.0/GUI_SRC_8.3.0/

Seems to work fine, until it doesnt:

-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:49 (MESSAGE):
  We absolutely need the Salome CMake configuration files, please define
  CONFIGURATION_ROOT_DIR !


-- Configuring incomplete, errors occurred!

This CONFIGURATION_ROOT_DIR seems to be a CMAKE option I need to set, but there is no hint so far where it is located or how it could be generated. Any ideas?

Powered by Ploneboard
Document Actions