Personal tools
You are here: Home Forum Install & build Compiling Salome 8.3.0 with Visual Studio with Windows 10

Compiling Salome 8.3.0 with Visual Studio with Windows 10

Up to Install & build


This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.

Compiling Salome 8.3.0 with Visual Studio with Windows 10

Posted by nkos at October 24. 2017

Hi

The last version that worked on my windows 10 version was 7.6.
I now tried to compile the Salome 8.3 on my PC (Windows 10 Enterprise 64-Bit).

I want to tell you what i did and where i am stuck at the moment.

And this is has not been easy :).

The First thing was to get the correct Visual Studio 10 Express version.

1) I uninstalled alll the Visual C++ 2010 Redistributable package

2) Install the SDK 7.1

3) Install patch from Microsoft below onto the SDK 7.1

4)  Install the Visual C++ 2010 Express

The Kernal does compile now,  after i changed the HDF_DIR from C:\Annaconda2\Library\lib to E:\SALOME-8.3.0-WIN64\PRODUCTS\hdf5-1.8.14

But but the GUI does not yet.

Some things i found there:

LINK : fatal error LNK1104: cannot open file 'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\x64\d3d9.lib

where i switch to C:\Program Files\Microsoft SDKs\Windows\v7.1Lib\x64\d3d9.lib which helped.

But i still get a lot of errors.

I have attached the CMakeCache.txt and the output from Visual studio express 10 is a little to big but i will post some of the relevant sections below. I relay hope someone can help me.

LG Niels

 

Visula Studio errors:

Error    8    error LNK1104: cannot open file '..\..\tools\PyConsole\PyInterp\src\Debug\PyInterp.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\PVServerService\LINK
Error    3916    error LNK1104: cannot open file '..\Debug\SalomeTreeData.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\TreeData\Test\LINK
Error    3574    error LNK1104: cannot open file '..\LightApp\Debug\LightApp.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\SALOME_PY\LINK
Error    3602    error LNK1104: cannot open file '..\LightApp\Debug\LightApp.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\SALOME_SWIG\LINK
Error    3776    error LNK1104: cannot open file '..\LightApp\Debug\LightApp.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\SalomeApp\LINK
Error    1315    error LNK1104: cannot open file '..\Plot2d\Debug\Plot2d.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\SPlot2d\LINK
Error    1771    error LNK1104: cannot open file '..\PVServerService\Debug\PVServerService.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\PVViewer\LINK
Error    134    error LNK1104: cannot open file '..\PyInterp\src\Debug\PyInterp.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\tools\PyConsole\src\LINK
Error    3841    error LNK1104: cannot open file '..\SALOME_PYQT_GUILight\Debug\SalomePyQtGUILight.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\SALOME_PYQT\SALOME_PYQT_GUI\LINK
Error    3879    error LNK1104: cannot open file '..\SalomeApp\Debug\SalomeApp.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\Session\LINK
Error    3905    error LNK1104: cannot open file '..\SalomeApp\Debug\SalomeApp.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\GuiHelpers\LINK
Error    3907    error LNK1104: cannot open file '..\SalomeApp\Debug\SalomeApp.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\TreeData\LINK
Error    3568    error LNK1104: cannot open file '..\SPlot2d\Debug\SPlot2d.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\LightApp\LINK
Error    2787    error LNK1104: cannot open file '..\VTKViewer\Debug\VTKViewer.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\SVTK\LINK
Error    144    error LNK1104: cannot open file 'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\x64\d3d9.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\tools\vtkEDFOverloads\LINK
Error    1314    error LNK1104: cannot open file 'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\x64\d3d9.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\VTKViewer\LINK
Error    3906    error LNK1104: cannot open file 'Debug\SalomeSession.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\Session\LINK
Error    2667    error LNK1104: cannot open file 'Debug\SUITApp.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\SUITApp\LINK
Error    347    error LNK1104: cannot open file 'Debug\vtkTools.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\tools\vtkEDFOverloads\LINK
Error    2    error LNK1104: cannot open file 'python27_d.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\tools\PyConsole\PyInterp\src\LINK
Error    345    error LNK1104: cannot open file 'python27_d.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\PVServerService\ServiceLoader\LINK
Error    792    error LNK1104: cannot open file 'python27_d.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\SUITApp\LINK
Error    1146    error LNK1104: cannot open file 'python27_d.lib'    E:\SALOME-8.3.0-WIN64\MODULES\GUI\RELEASE\GUI_BUILD\src\Plot2d\LINK

 

22>------ Rebuild All started: Project: QT_INSTALL_TS_RESOURCES_VTKViewer_msg_ja, Configuration: Debug x64 ------
22>  Building Custom Rule E:/SALOME-8.3.0-WIN64/MODULES/GUI/GUI_SRC/src/VTKViewer/CMakeLists.txt
22>  CMake does not need to re-run because E:/SALOME-8.3.0-WIN64/MODULES/GUI/RELEASE/GUI_BUILD/src/VTKViewer/CMakeFiles/generate.stamp is up-to-date.
22>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code -1073741515.

 

22>------ Rebuild All started: Project: QT_INSTALL_TS_RESOURCES_VTKViewer_msg_ja, Configuration: Debug x64 ------
22>  Building Custom Rule E:/SALOME-8.3.0-WIN64/MODULES/GUI/GUI_SRC/src/VTKViewer/CMakeLists.txt
22>  CMake does not need to re-run because E:/SALOME-8.3.0-WIN64/MODULES/GUI/RELEASE/GUI_BUILD/src/VTKViewer/CMakeFiles/generate.stamp is up-to-date.
22>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code -1073741515.

 

Attachments


This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.

Powered by Ploneboard
Document Actions