[vtkusers] Performing Test Support for 64 bit file systems: Failed

David Partyka david.partyka at kitware.com
Thu Oct 20 08:03:55 EDT 2011


Hi Bryn,

S_ISREG is a POSIX macro and will likely never compile with Visual Studio.
The output from cmake is for system introspection so that the build system
knows what resources the compiler tool chain has available. This test simply
is looking for specific POSIX functionality and more likely shouldn't even
be run when building with Visual Studio.

It should be safe to ignore this message when using Visual Studio unless it
is causing some other issue?

On Thu, Oct 20, 2011 at 6:30 AM, Bryn Lloyd <lloyd at itis.ethz.ch> wrote:

> Hi****
>
> ** **
>
> ** **
>
> I was building VTK 5.8 for my system (Windows 7 64-bit, Visual Studio 2010,
> CMake 2.8.x).****
>
> ** **
>
> I noticed there is a suprising message in the output of cmake at
> configuration time:****
>
> ** **
>
> -- Performing Test Support for 64 bit file systems****
>
> -- Performing Test Support for 64 bit file systems – *Failed*****
>
> ** **
>
> What does it mean? How can I resolve this issue? Why does the test fail?**
> **
>
> ** **
>
> ** **
>
> I noticed in my previous installation of VTK 5.6.1 I also had this message.
> ****
>
> ** **
>
> Thanks****
>
> Bryn****
>
> ** **
>
> ** **
>
> Ps. This is how I configured VTK in a batch file:****
>
> ** **
>
> cmake -G "Visual Studio 10 Win64" ^****
>
> -DPYTHON_EXECUTABLE=%PYTHON_DIR%/python.exe ^****
>
> -DPYTHON_INCLUDE_DIR=%PYTHON_DIR%/include ^****
>
> -DPYTHON_LIBRARY=%PYTHON_DIR%/libs/python27.lib ^****
>
> -DVTK_WRAP_PYTHON=ON ^****
>
> -DVTK_USE_TK=OFF ^****
>
> -DVTK_USE_GUISUPPORT=OFF ^****
>
> -DVTK_USE_RENDERING=ON ^****
>
> -DBUILD_SHARED_LIBS=ON ^****
>
> -DBUILD_TESTING=OFF ^****
>
> C:/Users/Bryn/pack/vtk-src-5.8.0****
>
> ** **
>
> ** **
>
> ** **
>
> Here is the section in the log file:****
>
> ** **
>
> ** **
>
> Performing C++ SOURCE FILE Test Support for 64 bit file systems failed with
> the following output:****
>
> Change Dir: C:/Users/Bryn/pack/vtk-5.8.0-epd-712/x64/CMakeFiles/CMakeTmp**
> **
>
> ** **
>
> Run Build Command:C:\PROGRA~2\MICROS~2.0\Common7\IDE\devenv.comCMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
> ****
>
> ** **
>
> ** **
>
> Microsoft (R) Visual Studio Version 10.0.30319.1.****
>
> ****
>
> Copyright (C) Microsoft Corp. All rights reserved.****
>
> ****
>
> 1>------ Build started: Project: cmTryCompileExec, Configuration: Debug x64
> ------****
>
> ****
>
> 1>Build started 10/20/2011 12:06:30 PM.****
>
> ****
>
> 1>InitializeBuildStatus:****
>
> ****
>
> 1>  Creating
> "cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild" because
> "AlwaysCreate" was specified.****
>
> ****
>
> 1>ClCompile:****
>
> ****
>
> 1>  src.cxx****
>
> ****
>
> 1>C:\Users\Bryn\pack\vtk-5.8.0-epd-712\x64\CMakeFiles\CMakeTmp\src.cxx(13):
> warning C4293: '<<' : shift count negative or too big, undefined behavior*
> ***
>
> ****
>
> 1>C:\Users\Bryn\pack\vtk-5.8.0-epd-712\x64\CMakeFiles\CMakeTmp\src.cxx(13):
> warning C4293: '<<' : shift count negative or too big, undefined behavior*
> ***
>
> ****
>
> 1>C:\Users\Bryn\pack\vtk-5.8.0-epd-712\x64\CMakeFiles\CMakeTmp\src.cxx(19):
> error C3861: 'S_ISREG': identifier not found****
>
> ****
>
> 1>C:\Users\Bryn\pack\vtk-5.8.0-epd-712\x64\CMakeFiles\CMakeTmp\src.cxx(23):
> error C3861: 'ftello': identifier not found****
>
> ****
>
> 1>****
>
> ****
>
> 1>Build FAILED.****
>
> ****
>
> 1>****
>
> ****
>
> 1>Time Elapsed 00:00:00.08****
>
> ****
>
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
> ****
>
> ****
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111020/50af2711/attachment.htm>


More information about the vtkusers mailing list