[Insight-users] VC++ 6.0, Cmake 2.4 and ITK 3.4.0 cmake errors

Luis Ibanez luis.ibanez at kitware.com
Thu May 22 08:03:23 EDT 2008


Hi Delphine,

Thanks for posting the additional information.

    It is normal for TRY_COMPILES to fail.

Their purpose is to experimentally test certain
capabilities of compilers. Therefore, some of
them are destined to fail in some compilers.

Regardless of the outcome of TRY_COMPILEs, the
configuration process should continue.


Did CMake produce any popup windows with
error messages ?

If so, could you please post their *exact* text
to the list ?


     Thanks


        Luis


---------------------------------
delphine.ribes at epfl.ch wrote:
> Dear Users,
> 
> I am still trying to build Insight toolkit and I can't get further than the
> first Cmake configure.
> 
> The following file is the CMakeError.log file.
> 
> Thanks for any help,
> Delphine
> 
> Value of the 22nd bit of a 32-bit quiet-NaN is 1TestQnanhibit.c produced
> following output:
> --------------------Configuration: cmTryCompileExec - Win32
> Debug--------------------
> 
> Compiling...
> 
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
> 
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
> 
> cl /MDd /W3 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D
> "cmTryCompileExec_EXPORTS" /D "_WINDOWS" /D "_MBCS" /D CMAKE_INTDIR=\"Debug\"
> /Fo"Debug/" /Fd"Debug/" /FD /GZ   /Zm1000  /GZ  /TC /c
> 
>    "D:\LibImage\Itk\InsightToolkit-3.4.0\CMake\TestQnanhibit.c"
> 
> TestQnanhibit.c
> 
> Linking...
> 
> Microsoft (R) Incremental Linker Version 6.00.8168
> 
> Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
> 
> kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
> shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
> /version:0.0 /stack:0x989680 /subsystem:console /incremental:yes
> "/pdb:Debug/cmTryCompileExec.pdb" /debug /machine:I386
> "/out:Debug/cmTryCompileExec.exe" /pdbtype:sept /IGNORE:4089
> 
> ".\Debug\TestQnanhibit.obj"
> 
> 
> 
> cmTryCompileExec.exe - 0 error(s), 0 warning(s)
> 
> -DTEEM_QNANHIBIT=1
> 
> 
> 
> Determining whether long and __int64 are the same type failed with the following
> output:
> --------------------Configuration: cmTryCompileExec - Win32
> Debug--------------------
> 
> Compiling...
> 
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
> 
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
> 
> cl /MDd /W3 /GR /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D
> ITK_TEST_COMPARE_TYPE_1=long /D ITK_TEST_COMPARE_TYPE_2=__int64 /D
> "cmTryCompileExec_EXPORTS" /D "_WINDOWS" /D "_MBCS" /D CMAKE_INTDIR=\"Debug\"
> /Fo"Debug/" /Fd"Debug/" /FD /GZ   /Zm1000  /GZ  /TP /c
> 
>    "D:\LibImage\Itk\InsightToolkit-3.4.0\CMake\itkTestCompareTypes.cxx"
> 
> itkTestCompareTypes.cxx
> 
> D:\LibImage\Itk\InsightToolkit-3.4.0\CMake\itkTestCompareTypes.cxx(25) : error
> C2664: 'function' : cannot convert parameter 1 from '__int64 ** ' to 'long ** '
> 
>         Types pointed to are unrelated; conversion requires reinterpret_cast,
> C-style cast or function-style cast
> 
> Error executing cl.exe.
> 
> 
> 
> cmTryCompileExec.exe - 1 error(s), 0 warning(s)
> 
> 
> 
> Checking to see if this platform supports has the __FUNCTION__ C-Preprocessor
> directive with the following output:
> --------------------Configuration: cmTryCompileExec - Win32
> Debug--------------------
> 
> Compiling...
> 
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
> 
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
> 
> cl /MDd /W3 /GR /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D
> "cmTryCompileExec_EXPORTS" /D "_WINDOWS" /D "_MBCS" /D CMAKE_INTDIR=\"Debug\"
> /Fo"Debug/" /Fd"Debug/" /FD /GZ   /Zm1000  /GZ  /TP /c
> 
>   
> "D:\LibImage\Itk\InsightToolkit-3.4.0_bin\CMakeTmp\CheckCPPDirectiveExists.cxx"
> 
> CheckCPPDirectiveExists.cxx
> 
> D:\LibImage\Itk\InsightToolkit-3.4.0_bin\CMakeTmp\CheckCPPDirectiveExists.cxx(9)
> : error C2065: '__FUNCTION__' : undeclared identifier
> 
> Error executing cl.exe.
> 
> 
> 
> cmTryCompileExec.exe - 1 error(s), 0 warning(s)
> 
> 
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list