I’m new to Salome. I tried to get Shaper project and build it in Window 11. It sounds to me that I should be able to do it by run “build_Salome_rel.bat” or “build_Salome_deb.bat”. However, neither of them worked.
Then I took a quick look at “build_Salome_rel.bat”: @ECHO OFF
REM Find absolute path to ROOT_DIR @SET PARENT_DIR=%~dp0… @SET ROOT_DIR=
pushd %PARENT_DIR% @SET ROOT_DIR=%CD%
popd
@SET SRC_DIR=%ROOT_DIR%\sources
call %SRC_DIR%\env_Salome.bat
Basically I could not find the “sources” folder in Salome, neither “env_Salome.bat”.
Did I miss anything? In order to setup the development environment for the shaper project, what else need to be downloaded?
Nabil, Thank you very much for your information. I could proceed these steps successfully until the last one. I failed to compile shaper with following error message:
D:\Salome>SALOME-9.9.0\W64\Python\python.exe SAT\sat compile SALOME-9.9.0 -p SHAPER,CONFIGURATION --clean_all
Executing the compile commands in the build directories of the products of the application SALOME-9.9.0
SOURCE directory = D:\Salome\SALOME-9.9.0\SOURCES
BUILD directory = D:\Salome\SALOME-9.9.0\BUILD
Compilation of CONFIGURATION … ignored
Compilation of SHAPER … ERROR : the following mandatory product(s) is(are) not installed: Sphinx
It sounds like that Sphinx is not installed. Should I install it previously?
cmake
chcp 65001 @REM salome path
set salome_root_dir_=E:/Code/SALOME/SALOME_MECA/v2023
@REM env_launch.bat evn path .I use the official installation program.
call ./env_launch.bat
set CONFIGURATION_ROOT_DIR=E:/Code/SALOME/Code/configuration
@REM override omniORB
set OMNIORB_ROOT_DIR=E:/3rdEnv/Salome/omniORB
set PATH=E:/3rdEnv/Salome/omniORB/lib/x86_win32;%PATH% @REM set PATH=C:/Users/liyun01/Desktop/omniORB/lib/x86_win32;%PATH%
set PYTHONPATH=E:/3rdEnv/Salome/omniORB/lib/python;%PYTHONPATH%
set PYTHONPATH=E:/3rdEnv/Salome/omniORB/lib/x86_win32;%PYTHONPATH%
set OMNIORB_USER_PATH=%APPDATA%
echo %KERNEL_ROOT_DIR%
@REM set buildDIR=build
if exist ./build2 (
rmdir /s/q build2
)
Are you building SALOME or SALOME Meca?
You can first check whether you can build GUI starting from a SALOME archive following the steps described in this thread.
Regards
i find you update sat_salome.I cannot download these projects,RESTRICTED SALOMEBOOTSTRAP OPENTURNS_SALOME pmml CEATESTBASE. Can you provide the correct git address?
see my reply in other thread. Some modules are not mirrored to gitpub on purpose.
Here, comment out RESTRICTED, CEATESTBASE. Other projects can be found in SALOME Linux archives which embed sources.