Unknown argument: Support for 64 bit file systems

Hello,

I am trying to build paraview for Windows (that is because I am getting a version mismatch when I try to connect to my ubuntu server).

I am following this tutorial:

https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/build.md

It I try to do the cmake with:

cmake -GNinja -DPARAVIEW_USE_PYTHON=ON -DPARAVIEW_USE_MPI=ON -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP -DCMAKE_BUILD_TYPE=Release ..\pv

or with CMake GUI v3.19.0

I am getting this error:

– Performing Test HAVE_GCC_ERROR_RETURN_TYPE
– Performing Test HAVE_GCC_ERROR_RETURN_TYPE - Success
CMake Error at C:/Program Files/CMake/share/cmake-3.19/Modules/CheckSourceRuns.cmake:122 (message):
Unknown argument:

Support for 64 bit file systems

Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.19/Modules/CheckCXXSourceRuns.cmake:71 (check_source_runs)
CMakeLists.txt:123 (check_cxx_source_runs)

– Configuring incomplete, errors occurred!

Can you please help me?

Thanks,

Francesc

Make sure you are using all 64 bit compilation tools and third parties.

eg, are you using the Native x64 command ?

Thanks Mathieu,

How do I specify compiler and platform?

In this call:

cmake -GNinja -DPARAVIEW_USE_PYTHON=ON -DPARAVIEW_USE_MPI=ON -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP -DCMAKE_BUILD_TYPE=Release ..\pv

I want to set sth like:

cmake -G "Visual Studio 14 2015" -A x64

but it does not work.

Francesc

Well, building ParaView on windows using visual studio does work, but it is not tested, hence we can’t recommend it.

To do that, just use cmake-gui.

I am not stubborn in building Paraview using Visual Studio. I just want to follow your tutorial to build Paraview for windows as per:

https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/build.md#windows

I will be happy if I can build Paraview for Windows with any toolset. What should I do?

You should literally follow the steps in the link you provided. Make sure you follow them exactly and report if you have any issues.

FYI, I’m seeing the same error on Ubuntu 18.04 using gcc 8 with ParaView master and CMake 3.19.0-rc1. VTK builds fine. Hope it helps to reproduce.

The C compiler identification is GNU 8.4.0
 The CXX compiler identification is GNU 8.4.0
 Detecting C compiler ABI info
 Detecting C compiler ABI info - done
 Check for working C compiler: /usr/bin/cc - skipped
 Detecting C compile features
 Detecting C compile features - done
 Detecting CXX compiler ABI info
 Detecting CXX compiler ABI info - done
 Check for working CXX compiler: /usr/bin/c++ - skipped
 Detecting CXX compile features
 Detecting CXX compile features - done
 Setting build type to 'Debug' as none was specified.
 Performing Test HAVE_GCC_ERROR_RETURN_TYPE
 Performing Test HAVE_GCC_ERROR_RETURN_TYPE - Success
 Looking for a Fortran compiler
 Looking for a Fortran compiler - /usr/bin/gfortran
 CMake Error at /usr/share/cmake-3.19/Modules/CheckSourceRuns.cmake:122 (message):
   Unknown argument:

     Support for 64 bit file systems

 Call Stack (most recent call first):
   /usr/share/cmake-3.19/Modules/CheckCXXSourceRuns.cmake:71 (check_source_runs)
   CMakeLists.txt:123 (check_cxx_source_runs)

 Configuring incomplete, errors occurred!
 See also "/home/wgodoy/workspace/paraview-build/CMakeFiles/CMakeOutput.log".

Open your own topic please.

Will do, thanks!

The problem turned out to be a regression in 3.19.0-rc1 (which I have a fix for) and I have a fix in ParaView to make it not care anyways.

Discussion is here.