当前位置: 首页 > 工具软件 > SALOME > 使用案例 >

Windows下编译安装SALOME

谢俊力
2023-12-01

SALOME是一套开源跨平台的CAE软件集成开发平台。本文旨在探索在Windows下编译安装SALOME核心模块的方法。

注1:文章内容会不定期更新,敬请关注。

注2:限于笔者研究水平,难免有不当之处,欢迎批评指正。

零、环境

操作系统WIndows 10
编译器Visual Studio 2019
CMakeCMake-3.24.2

一、下载SALOME

由于SALOME每个模块采用了单独的Git仓库进行代码托管,因此,需要手动下载SALOME相关模块。

新建fetch-salome.sh文件,并添加以下内容,

git clone https://git.salome-platform.org/gitpub/modules/adao.git
git clone https://git.salome-platform.org/gitpub/modules/eficas.git
git clone https://git.salome-platform.org/gitpub/modules/filter.git
git clone https://git.salome-platform.org/gitpub/modules/geom.git
git clone https://git.salome-platform.org/gitpub/modules/gui.git
git clone https://git.salome-platform.org/gitpub/modules/hexablock.git
git clone https://git.salome-platform.org/gitpub/modules/homard.git
git clone https://git.salome-platform.org/gitpub/modules/hydro.git
git clone https://git.salome-platform.org/gitpub/modules/hydrosolver.git
git clone https://git.salome-platform.org/gitpub/modules/jobmanager.git
git clone https://git.salome-platform.org/gitpub/modules/kernel.git
git clone https://git.salome-platform.org/gitpub/modules/med.git
git clone https://git.salome-platform.org/gitpub/modules/multipr.git
git clone https://git.salome-platform.org/gitpub/modules/parametric.git
git clone https://git.salome-platform.org/gitpub/modules/paravis.git
git clone https://git.salome-platform.org/gitpub/modules/shaper.git
git clone https://git.salome-platform.org/gitpub/modules/shaper_study.git
git clone https://git.salome-platform.org/gitpub/modules/smesh.git
git clone https://git.salome-platform.org/gitpub/modules/superv.git
git clone https://git.salome-platform.org/gitpub/modules/visu.git
git clone https://git.salome-platform.org/gitpub/modules/yacs.git
git clone https://git.salome-platform.org/gitpub/plugins/acisplugin.git
git clone https://git.salome-platform.org/gitpub/plugins/blsurfplugin.git
git clone https://git.salome-platform.org/gitpub/plugins/canrecplugin.git
git clone https://git.salome-platform.org/gitpub/plugins/dxfplugin.git
git clone https://git.salome-platform.org/gitpub/plugins/ghs3dplugin.git
git clone https://git.salome-platform.org/gitpub/plugins/ghs3dprlplugin.git
git clone https://git.salome-platform.org/gitpub/plugins/gmshplugin.git
git clone https://git.salome-platform.org/gitpub/plugins/hexablockplugin.git
git clone https://git.salome-platform.org/gitpub/plugins/hexoticplugin.git
git clone https://git.salome-platform.org/gitpub/plugins/hybridplugin.git
git clone https://git.salome-platform.org/gitpub/plugins/netgenplugin.git
git clone https://git.salome-platform.org/gitpub/plugins/xtplugin.git
git clone https://git.salome-platform.org/gitpub/samples/atomgen.git
git clone https://git.salome-platform.org/gitpub/samples/atomic.git
git clone https://git.salome-platform.org/gitpub/samples/atomsolv.git
git clone https://git.salome-platform.org/gitpub/samples/calculator.git
git clone https://git.salome-platform.org/gitpub/samples/component.git
git clone https://git.salome-platform.org/gitpub/samples/datafiles.git
git clone https://git.salome-platform.org/gitpub/samples/dsccode.git
git clone https://git.salome-platform.org/gitpub/samples/genericsolver.git
git clone https://git.salome-platform.org/gitpub/samples/hello.git
git clone https://git.salome-platform.org/gitpub/samples/light.git
git clone https://git.salome-platform.org/gitpub/samples/pycalculator.git
git clone https://git.salome-platform.org/gitpub/samples/pyhello.git
git clone https://git.salome-platform.org/gitpub/samples/pylight.git
git clone https://git.salome-platform.org/gitpub/samples/randomizer.git
git clone https://git.salome-platform.org/gitpub/samples/sierpinsky.git
git clone https://git.salome-platform.org/gitpub/tools/SALOME.git
git clone https://git.salome-platform.org/gitpub/tools/adao_interface.git
git clone https://git.salome-platform.org/gitpub/tools/configuration.git
git clone https://git.salome-platform.org/gitpub/tools/documentation.git
git clone https://git.salome-platform.org/gitpub/tools/hxx2salome.git
git clone https://git.salome-platform.org/gitpub/tools/install.git
git clone https://git.salome-platform.org/gitpub/tools/libbatch.git
git clone https://git.salome-platform.org/gitpub/tools/medcoupling.git
git clone https://git.salome-platform.org/gitpub/tools/mgkeygen.git
git clone https://git.salome-platform.org/gitpub/tools/paravisaddons_common.git
git clone https://git.salome-platform.org/gitpub/tools/pvdeliv.git
git clone https://git.salome-platform.org/gitpub/tools/py2cpp.git
git clone https://git.salome-platform.org/gitpub/tools/sat.git
git clone https://git.salome-platform.org/gitpub/tools/sat_salome.git
git clone https://git.salome-platform.org/gitpub/tools/service.git
git clone https://git.salome-platform.org/gitpub/tools/siman.git
git clone https://git.salome-platform.org/gitpub/tools/simanio.git
git clone https://git.salome-platform.org/gitpub/tools/solverlab.git
git clone https://git.salome-platform.org/gitpub/tools/tutorial.git
git clone https://git.salome-platform.org/gitpub/tools/yacsgen.git
git clone https://git.salome-platform.org/gitpub/tools/ydefx.git

在fetch-salome.sh所在目录,右键启动Git Bash,然后运行上述脚本,下载相关模块代码,

sh ./fetch-salome.sh

二、安装第三方依赖包

参考资料

SALOME

 类似资料: