<div dir="ltr">Hello,<div><br></div><div>I am having Problems building ParaView with ParaView-Superbuild. As Visual Studio is not supported, I tried other build systems and compilers. Unfortunately none of them succeeded. On the other hand I was able to build small HelloWord programs with each of the combinations listed below and without any errors. Here is what I did:</div><div><br></div><div>First, I cloned from git:<br>git clone --recursive <a href="https://gitlab.kitware.com/paraview/paraview-superbuild.git">https://gitlab.kitware.com/paraview/paraview-superbuild.git</a></div><div>Then cd paraview-superbuild and created new folder (build).</div><div><br></div><div>The following cases did not work out (Doesnt matter if using Git Bash or VS Command Prompt):</div><div>Build System: Ninja, Compiler: MinGW<br>command: cmake .. -G "Ninja"</div><div>Error: </div><div><div><font color="#ff0000">CMake Error at superbuild/projects/win32/boost.cmake:5 (message):</font></div><div><font color="#ff0000"> At least Visual Studio 9.0 is required</font></div><div><font color="#ff0000">Call Stack (most recent call first):</font></div><div><font color="#ff0000"> superbuild/cmake/SuperbuildMacros.cmake:477 (include)</font></div><div><font color="#ff0000"> superbuild/CMakeLists.txt:145 (_superbuild_discover_projects)</font></div></div><div><br></div><div>Although I have Visual Studio 15 2017 installed it does not seem to work.</div><div><br></div><div>Build System: Ninja, Compiler: MSVC compiler (cl.exe in C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\Hostx64\x64)</div><div>Error:</div><div>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">The C compiler<br> "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe"<br> is not able to compile a simple test program.<br> It fails with the following output:<br> Change Dir: C:/Tools/paraview-superbuild/build/CMakeFiles/CMakeTmp<br> Run Build Command:"nmake" "/NOLOGO" "cmTC_008b4\fast"<br> "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\Hostx64\x64\nmake.exe" -f CMakeFiles\cmTC_008b4.dir\build.make /nologo -L CMakeFiles\cmTC_008b4.dir\build</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> Building C object CMakeFiles/cmTC_008b4.dir/testCCompiler.c.obj</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx86\x64\cl.exe @C:\Users\JamiG\AppData\Local\Temp\nmD540.tmp</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> testCCompiler.c</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> C:\Tools\paraview-superbuild\build\CMakeFiles\CMakeTmp\testCCompiler.c: fatal error C1001: An internal error has occurred in the compiler.</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> (compiler file 'msc1.cpp', line 1507)</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> To work around this problem, try simplifying or changing the program near the locations listed above.</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> Please choose the Technical Support command on the Visual C++ </span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> Help menu, or open the Technical Support help file for more information</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> Internal Compiler Error in C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx86\x64\cl.exe. You will be prompted to send an error report to Microsoft later.</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> NMAKE : fatal error U1077: 'C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx86\x64\cl.exe' : return code '0x2'</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> Stop.</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\Hostx64\x64\nmake.exe"' : return code '0x2'</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)"> Stop.</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><font color="#000000">Build System: NMake, Compiler: </font><span style="white-space:normal">MSVC compiler (cl.exe in C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\Hostx64\x64)</span></p><p style="margin:0px;text-indent:0px">Here, cmake recognized the compiler, but it throws another error<br><font color="#000000" style="white-space:pre-wrap"></font></p><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><font color="#000000" style="white-space:pre-wrap">Error:</font></div><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><font color="#000000" style="white-space:pre-wrap"><span style="color:rgb(255,0,0)">CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeDetermineRCCompiler.cmake:20 (message):<br> Could not find compiler set in environment variable RC:<br> rc.<br>Call Stack (most recent call first):<br> C:/Program Files/CMake/share/cmake-3.10/Modules/Platform/Windows-MSVC.cmake:323 (enable_language)<br> C:/Program Files/CMake/share/cmake-3.10/Modules/Platform/Windows-MSVC-C.cmake:5 (__windows_compiler_msvc)<br> C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeCInformation.cmake:48 (include)<br> CMakeLists.txt:3 (project)<br></span></font></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><font color="#000000" style="white-space:pre-wrap"><span style="color:rgb(255,0,0)">CMake Error: CMAKE_RC_COMPILER not set, after EnableLanguage</span></font></p><p style="margin:0px;text-indent:0px"><font color="#000000" style="white-space:pre-wrap"><font color="#000000" style="white-space:pre-wrap"><br></font></font></p><p style="margin:0px;text-indent:0px"><font color="#000000" style="white-space:pre-wrap"><font color="#000000" style="white-space:pre-wrap">I am out of ideas now.</font></font></p><font color="#000000" style="white-space:pre-wrap">I would be really happy for a detailed build description as I am sure I did not understand something properly. </font><p></p><p style="margin:0px;text-indent:0px"><font color="#000000" style="white-space:pre-wrap">And every hint on how to resolve on of those errors is very welcome too.</font></p><p style="margin:0px;text-indent:0px"><font color="#000000" style="white-space:pre-wrap"><br></font></p><p style="margin:0px;text-indent:0px"><font color="#000000" style="white-space:pre-wrap">Thanks in advance!</font></p><p style="margin:0px;text-indent:0px"><font color="#000000" style="white-space:pre-wrap">
</font></p></div></div>