# Unknown argument: Support for 64 bit file systems

**URL:** https://discourse.paraview.org/t/unknown-argument-support-for-64-bit-file-systems/5568
**Category:** ParaView Support
**Created:** [October 15, 2020, 5:06pm UTC](https://discourse.paraview.org/t/unknown-argument-support-for-64-bit-file-systems/5568 "2020-10-15T17:06:48Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Francesc\_Costa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/francesc_costa/32/5142_2.png) [@Francesc\_Costa](https://discourse.paraview.org/u/Francesc_Costa)
#### Post date: [October 15, 2020, 5:06pm UTC](https://discourse.paraview.org/t/unknown-argument-support-for-64-bit-file-systems/5568/1 "2020-10-15T17:06:48Z")

</div>

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](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

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 16, 2020, 8:49am UTC](https://discourse.paraview.org/t/unknown-argument-support-for-64-bit-file-systems/5568/2 "2020-10-16T08:49:00Z")

</div>

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

eg, are you using the Native **x64** command ?

---

<div class="post-metadata">

### Author: ![Francesc\_Costa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/francesc_costa/32/5142_2.png) [@Francesc\_Costa](https://discourse.paraview.org/u/Francesc_Costa)
#### Post date: [October 16, 2020, 9:09am UTC](https://discourse.paraview.org/t/unknown-argument-support-for-64-bit-file-systems/5568/3 "2020-10-16T09:09:54Z")

</div>

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

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 16, 2020, 9:14am UTC](https://discourse.paraview.org/t/unknown-argument-support-for-64-bit-file-systems/5568/4 "2020-10-16T09:14:11Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Francesc\_Costa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/francesc_costa/32/5142_2.png) [@Francesc\_Costa](https://discourse.paraview.org/u/Francesc_Costa)
#### Post date: [October 16, 2020, 9:42am UTC](https://discourse.paraview.org/t/unknown-argument-support-for-64-bit-file-systems/5568/5 "2020-10-16T09:42:44Z")

</div>

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](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?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 16, 2020, 11:30am UTC](https://discourse.paraview.org/t/unknown-argument-support-for-64-bit-file-systems/5568/6 "2020-10-16T11:30:51Z")

</div>

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

---

<div class="post-metadata">

### Author: ![williamfgc](https://discourse.paraview.org/user_avatar/discourse.paraview.org/williamfgc/32/2203_2.png) [@williamfgc](https://discourse.paraview.org/u/williamfgc)
#### Post date: [October 22, 2020, 3:08pm UTC](https://discourse.paraview.org/t/unknown-argument-support-for-64-bit-file-systems/5568/7 "2020-10-22T15:08:30Z")

</div>

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.

```auto
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".

```

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 22, 2020, 3:40pm UTC](https://discourse.paraview.org/t/unknown-argument-support-for-64-bit-file-systems/5568/8 "2020-10-22T15:40:55Z")

</div>

Open your own topic please.

---

<div class="post-metadata">

### Author: ![williamfgc](https://discourse.paraview.org/user_avatar/discourse.paraview.org/williamfgc/32/2203_2.png) [@williamfgc](https://discourse.paraview.org/u/williamfgc)
#### Post date: [October 24, 2020, 3:33pm UTC](https://discourse.paraview.org/t/unknown-argument-support-for-64-bit-file-systems/5568/9 "2020-10-24T15:33:42Z")

</div>

Will do, thanks!

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [October 26, 2020, 3:26pm UTC](https://discourse.paraview.org/t/unknown-argument-support-for-64-bit-file-systems/5568/10 "2020-10-26T15:26:13Z")

</div>

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](https://discourse.paraview.org/t/cmake-unknown-argument-support-for-64-bit-file-systems-on-ubuntu-18-04/5646).
