Accueil‎ > ‎salome-windows‎ > ‎5.1.4‎ > ‎

howto-compile

You can now compile salome on windows from scratch ...

To achive that, you need to :

o Install 7-zip with http://files.salome-platform.org/cea/adam/salomewindows/download/7z465.exe

o Choose your compilation mode : debug or release. In the following text, the keyword MODE will means this choice
   and must be replaced each time by debug or release.

o Download the file Qt4_MODE_4.5.3.zip from http://files.salome-platform.org/cea/adam/salomewindows/download/devel
   and unzip it in C:\  (CAUTION : It is mandatory to extract it in C:\ and nowhere else !!!) In short C:\ must contain the
   directory Qt4, this one must contain MODE and this one must contain qt-win-opensource-src-4.5.3 ...

o Install Cmake using http://files.salome-platform.org/cea/adam/salomewindows/download/devel/tools/cmake-2.6.4-win32-x86.exe
   without modify the default paths for the installation.

o Install Visual studio express 2008 c++ sp1 with http://files.salome-platform.org/cea/adam/salomewindows/download/devel/tools/vcsetup.exe
   without modify the default paths for the installation.

o Download the file Salome5.1.4_ForTestsOnWindows_MODE_full.zip from http://files.salome-platform.org/cea/adam/salomewindows/download/devel
   and unzip it where you want but IN A DIRECTORY WITH A FULL PATH WITHOUT SPACE !

o Download the file Salome5.1.4_ForTestsOnWindows_MODE_compil.zip from http://files.salome-platform.org/cea/adam/salomewindows/download/devel
   and unzip it in the same directory. It means that you must have a directory named compil at the same level than modules, products, ...

o The compil directory contain the salome sources separated in 12 folders : BLSURFPLUGIN to YACS ...
   Each one of this directory contains a launch_cmake.bat and a launch_vs.bat. You can use them if you
   want to compile a particular part in visual studio environment.

o If you want to compile everything in "batch", you can use the "compile.bat" utility. Open a "cmd" windows,
   go into the directory which contains "compile.bat" and launch "compile.bat [dir1 dir2 ...]". If you want to
   redirect the outputs, you can do "compile.bat [dir1 dir2 ...] > compile.log 2>&1"
Comments