[Paraview] ParaView-Superbuild Win10 Errors

Jamil Goettlich jamil.goettlich at gmail.com
Mon Mar 26 10:59:35 EDT 2018


Hello,

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:

First, I cloned from git:
git clone --recursive
https://gitlab.kitware.com/paraview/paraview-superbuild.git
Then cd paraview-superbuild and created new folder (build).

The following cases did not work out (Doesnt matter if using Git Bash or VS
Command Prompt):
Build System: Ninja, Compiler: MinGW
command: cmake .. -G "Ninja"
Error:
CMake Error at superbuild/projects/win32/boost.cmake:5 (message):
  At least Visual Studio 9.0 is required
Call Stack (most recent call first):
  superbuild/cmake/SuperbuildMacros.cmake:477 (include)
  superbuild/CMakeLists.txt:145 (_superbuild_discover_projects)

Although I have Visual Studio 15 2017 installed it does not seem to work.

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)
Error:

The C compiler
"C:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Tools/paraview-superbuild/build/CMakeFiles/CMakeTmp
Run Build Command:"nmake" "/NOLOGO" "cmTC_008b4\fast"
"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

Building C object CMakeFiles/cmTC_008b4.dir/testCCompiler.c.obj

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

testCCompiler.c

C:\Tools\paraview-superbuild\build\CMakeFiles\CMakeTmp\testCCompiler.c:
fatal error C1001: An internal error has occurred in the compiler.

(compiler file 'msc1.cpp', line 1507)

To work around this problem, try simplifying or changing the program near
the locations listed above.

Please choose the Technical Support command on the Visual C++

Help menu, or open the Technical Support help file for more information

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.

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'

Stop.

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'

Stop.


Build System: NMake, Compiler: MSVC compiler (cl.exe in C:\Program Files
(x86)\Microsoft Visual
Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\Hostx64\x64)

Here, cmake recognized the compiler, but it throws another error
Error:

CMake Error at C:/Program
Files/CMake/share/cmake-3.10/Modules/CMakeDetermineRCCompiler.cmake:20
(message):
Could not find compiler set in environment variable RC:
rc.
Call Stack (most recent call first):
C:/Program
Files/CMake/share/cmake-3.10/Modules/Platform/Windows-MSVC.cmake:323
(enable_language)
C:/Program
Files/CMake/share/cmake-3.10/Modules/Platform/Windows-MSVC-C.cmake:5
(__windows_compiler_msvc)
C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeCInformation.cmake:48
(include)
CMakeLists.txt:3 (project)

CMake Error: CMAKE_RC_COMPILER not set, after EnableLanguage


I am out of ideas now.
I would be really happy for a detailed build description as I am sure I did
not understand something properly.

And every hint on how to resolve on of those errors is very welcome too.


Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180326/e1c4017b/attachment.html>


More information about the ParaView mailing list