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

Michael Schmidt michael at familie-schmidt.com
Thu May 22 08:50:23 EDT 2008


Hi Delphine,

I had a similar problem some months ago. I don't remember it well, but I 
think it was some issue with the VC++ 6.0 compiler having troubles on 
multiprocessor/-core systems. Have you installed the latest Service Pack (SP 
6)? I think installing it solved the problem on my machine.

You can get it here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=A8494EDB-2E89-4676-A16A-5C5477CB9713&displaylang=en

Regards,

Michael

----- Original Message ----- 
From: <delphine.ribes at epfl.ch>
To: "Luis Ibanez" <luis.ibanez at kitware.com>
Cc: <insight-users at itk.org>
Sent: Thursday, May 22, 2008 2:38 PM
Subject: Re: [Insight-users] VC++ 6.0, Cmake 2.4 and ITK 3.4.0 cmake errors


> Hi Luis,
>
> Unfortunately, there is no popup windows produce by Cmake, at one point 
> cmake is
> trying to do :
>  " Checking whether long and __int64 are the same type "
> (message written on the in the bottom right corner)
>
> And I wait, wait and wait and nothing happens. So I've tried to close the
> windows but the programs is not responding...
> If I want to suppress the itk bin directory I can't because MSDEV.exe is 
> still
> using cmTryCompileExec.plg
>
> Hope this help,
> Thanks,
> Delphine
>
> Quoting Luis Ibanez <luis.ibanez at kitware.com>:
>
>>
>> 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
>> >
>>
>
>
> _______________________________________________
> 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