I was trying to build Salome from souce, but met the following ERORR message:
CMake Deprecation Warning at CMakeLists.txt:19 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Error at CMakeLists.txt:34 (INCLUDE):
INCLUDE could not find requested file:
SalomeMacros
CMake Error at CMakeLists.txt:41 (SALOME_SETUP_VERSION):
Unknown CMake command "SALOME_SETUP_VERSION".
Configuring incomplete, errors occurred!
See also "...Smesh/kernel/build/CMakeFiles/CMakeOutput.log".
Which module should I build first? I was trying to build kernel first…
Did you somehow succeed? If yes, can you tell me what you did? I have the same issue and I couldn’t find a fix, I’m also trying to build Salome from source.
you need to install the CONFIGURATION package; To do so, assuming that you start from a SALOME archive with its sources, here is whay you need to do (illustrated with Ubuntu 20 distro)
tar zxf SALOME-9.9.0-native-UB20.04-SRC.tar.gz
cd SALOME-9.9.0-native-UB20.04-SRC
chmod +x ./install_bin.sh
./install_bin.sh
# this will extract CONFIGURATION package to SOURCES directory.
sat/sat prepare SALOME-9.9.0-native -p CONFIGURATION
# to extract SMESH
sat/sat prepare SALOME-9.9.0-native -p SMESH
# to compile SMESH
sat/sat compile SALOME-9.9.0-native -p SMESH --clean_all