[vtkusers] Fwd: Errors when install VTK

John Drescher drescherjm at gmail.com
Tue Feb 23 10:03:52 EST 2010


Please post all replies to the list as well. I do not have time at the
moment to look at any of this. So I will forward this to the list.

---------- Forwarded message ----------
From: Erkang Cheng <ekyaya at gmail.com>
Date: Tue, Feb 23, 2010 at 9:20 AM
Subject: Re: [vtkusers] Errors when install VTK
To: John Drescher <drescherjm at gmail.com>


John:

I check the configure information this morning. The configure
information is as following:

Check for working C compiler: cl

Check for working C compiler: cl -- works

Detecting C compiler ABI info

Detecting C compiler ABI info - done

Check for working CXX compiler: cl

Check for working CXX compiler: cl -- works

Detecting CXX compiler ABI info

Detecting CXX compiler ABI info - done

Performing Test Support for 64 bit file systems

Performing Test Support for 64 bit file systems - Failed

Looking for sys/types.h

Looking for sys/types.h - found

Looking for stdint.h

Looking for stdint.h - not found

Looking for stddef.h

Looking for stddef.h - found

Check size of int

Check size of int - done

Check size of long

Check size of long - done

Check size of void*

Check size of void* - done

Check size of char

Check size of char - done

Check size of short

Check size of short - done

Check size of float

Check size of float - done

Check size of double

Check size of double - done

Looking for include files CMAKE_HAVE_LIMITS_H

Looking for include files CMAKE_HAVE_LIMITS_H - found

Looking for include files CMAKE_HAVE_UNISTD_H

Looking for include files CMAKE_HAVE_UNISTD_H - not found.

Looking for include files CMAKE_HAVE_PTHREAD_H

Looking for include files CMAKE_HAVE_PTHREAD_H - not found.

Looking for include files CMAKE_HAVE_SYS_PRCTL_H

Looking for include files CMAKE_HAVE_SYS_PRCTL_H - not found.

Check if the system is big endian

Searching 16 bit integer

Check size of unsigned short

Check size of unsigned short - done

Using unsigned short

Check if the system is big endian - little endian

Found Threads: TRUE

Looking for C++ include iostream

Looking for C++ include iostream - found

Check for STD namespace

Check for STD namespace - found

Check for ANSI scope

Check for ANSI scope - found

Check for sstream

Check for sstream - found

Check size of long long

Check size of long long - done

Check size of __int64

Check size of __int64 - done

Checking whether long and __int64 are the same type

Checking whether long and __int64 are the same type -- no

Checking whether long long and __int64 are the same type

Checking whether long long and __int64 are the same type -- yes

Checking support for C++ type bool

Checking support for C++ type bool -- yes

Checking signedness of char

Checking signedness of char -- signed

Looking for getsockname in socket

Looking for getsockname in socket - not found

Checking for getsockname with socklen_t

Checking for getsockname with socklen_t -- no

Looking for SO_REUSEADDR

Looking for SO_REUSEADDR - not found.

Checking support for full template specialization syntax

Checking support for full template specialization syntax -- yes

Checking support for C++ explicit template instantiation

Checking support for C++ explicit template instantiation -- yes

CTest cannot determine repository type. Please set UPDATE_TYPE to
'cvs' or 'svn'. CTest update will not work.

Looking for C++ include iosfwd

Looking for C++ include iosfwd - found

Looking for C++ include iostream.h

Looking for C++ include iostream.h - not found

Checking ANSI streams end-of-file bug level

Checking ANSI streams end-of-file bug level - 0

Checking if ostream supports long long

Checking if ostream supports long long -- yes

Checking if istream supports long long

Checking if istream supports long long -- yes

Checking if vfw32 is available

Checking if vfw32 is available -- yes

Checking if vfw32 supports video capture

Checking if vfw32 supports video capture -- yes

Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)

Checking for Large File Support

Checking for Large File Support - failed to compile

Checking whether STL classes are in std namespace

Checking whether STL classes are in std namespace - yes

Checking whether ANSI stream headers are available

Checking whether ANSI stream headers are available - yes

Checking whether ANSI streams are in std namespace

Checking whether ANSI streams are in std namespace - yes

Checking whether ANSI string stream is available

Checking whether ANSI string stream is available - yes

Checking whether header cstddef is available

Checking whether header cstddef is available - yes

Checking whether stl string has operator!= for char*

Checking whether stl string has operator!= for char* - yes

Checking whether stl has iterator_traits

Checking whether stl has iterator_traits - yes

Checking whether stl has standard template allocator

Checking whether stl has standard template allocator - yes

Checking for rebind member of stl allocator

Checking for rebind member of stl allocator - yes

Checking for non-standard argument to stl allocator<>::max_size

Checking for non-standard argument to stl allocator<>::max_size - no

Checking whether stl containers support allocator objects.

Checking whether stl containers support allocator objects. - yes

Checking whether "<>" is needed for template friends

Checking whether "<>" is needed for template friends - yes

Checking for member template support

Checking for member template support - yes

Checking for standard template specialization syntax

Checking for standard template specialization syntax - yes

Checking whether argument dependent lookup is supported

Checking whether argument dependent lookup is supported - yes

Check size of char

Check size of char - done

Check size of short

Check size of short - done

Check size of int

Check size of int - done

Check size of long

Check size of long - done

Check size of long long

Check size of long long - done

Check size of __int64

Check size of __int64 - done

Checking whether long and __int64 are the same type

Checking whether long and __int64 are the same type - no

Checking whether long long and __int64 are the same type

Checking whether long long and __int64 are the same type - yes

Checking whether char is signed

Checking whether char is signed - yes

Looking for include files HAVE_ASSERT_H

Looking for include files HAVE_ASSERT_H - found

Looking for include files HAVE_DLFCN_H

Looking for include files HAVE_DLFCN_H - not found.

Looking for include files HAVE_FCNTL_H

Looking for include files HAVE_FCNTL_H - found

Looking for include files HAVE_INTTYPES_H

Looking for include files HAVE_INTTYPES_H - not found.

Looking for include files HAVE_LIMITS_H

Looking for include files HAVE_LIMITS_H - found

Looking for include files HAVE_MALLOC_H

Looking for include files HAVE_MALLOC_H - found

Looking for include files HAVE_MEMORY_H

Looking for include files HAVE_MEMORY_H - found

Looking for include files HAVE_STDLIB_H

Looking for include files HAVE_STDLIB_H - found

Looking for include files HAVE_STRING_H

Looking for include files HAVE_STRING_H - found

Looking for include files HAVE_STRINGS_H

Looking for include files HAVE_STRINGS_H - not found.

Looking for include files HAVE_SYS_STAT_H

Looking for include files HAVE_SYS_STAT_H - found

Looking for include files HAVE_SYS_TIME_H

Looking for include files HAVE_SYS_TIME_H - not found.

Looking for include files HAVE_UNISTD_H

Looking for include files HAVE_UNISTD_H - not found.

Looking for include files HAVE_WINDOWS_H

Looking for include files HAVE_WINDOWS_H - found

Looking for include files HAVE_IEEEFP_H

Looking for include files HAVE_IEEEFP_H - not found.

Looking for floor

Looking for floor - found

Looking for getopt

Looking for getopt - not found

Looking for isascii

Looking for isascii - not found

Looking for memmove

Looking for memmove - found

Looking for memset

Looking for memset - found

Looking for mmap

Looking for mmap - not found

Looking for pow

Looking for pow - found

Looking for sqrt

Looking for sqrt - found

Looking for strcasecmp

Looking for strcasecmp - not found

Looking for strchr

Looking for strchr - found

Looking for strrchr

Looking for strrchr - found

Looking for strstr

Looking for strstr - found

Looking for strtol

Looking for strtol - found

Looking for areroul

Looking for areroul - not found

Check size of int

Check size of int - done

Check size of long

Check size of long - done

Looking for dlopen in dl;

Looking for dlopen in dl; - not found

Looking for shl_load in dld;

Looking for shl_load in dld; - not found

Looking for dlopen in

Looking for dlopen in - not found

Looking for include files HAVE_STDIO_H

Looking for include files HAVE_STDIO_H - found

Looking for include files HAVE_NETDB_H

Looking for include files HAVE_NETDB_H - not found.

Looking for include files HAVE_SYS_SOCKET_H

Looking for include files HAVE_SYS_SOCKET_H - not found.

Looking for include files HAVE_NETINET_IN_H

Looking for include files HAVE_NETINET_IN_H - not found.

Looking for include files HAVE_SYS_SELECT_H

Looking for include files HAVE_SYS_SELECT_H - not found.

Looking for include files HAVE_TIME_H

Looking for include files HAVE_TIME_H - found

Looking for include files HAVE_SIGNAL_H

Looking for include files HAVE_SIGNAL_H - found

Looking for include files HAVE_ERRNO_H

Looking for include files HAVE_ERRNO_H - found

Looking for include files HAVE_ANSIDECL_H

Looking for include files HAVE_ANSIDECL_H - not found.

Looking for include files HAVE_ARPA_INET_H

Looking for include files HAVE_ARPA_INET_H - not found.

Looking for include files HAVE_ARPA_NAMESER_H

Looking for include files HAVE_ARPA_NAMESER_H - not found.

Looking for include files HAVE_CTYPE_H

Looking for include files HAVE_CTYPE_H - found

Looking for include files HAVE_DIRENT_H

Looking for include files HAVE_DIRENT_H - not found.

Looking for include files HAVE_DL_H

Looking for include files HAVE_DL_H - not found.

Looking for include files HAVE_FLOAT_H

Looking for include files HAVE_FLOAT_H - found

Looking for include files HAVE_FP_CLASS_H

Looking for include files HAVE_FP_CLASS_H - not found.

Looking for include files HAVE_MATH_H

Looking for include files HAVE_MATH_H - found

Looking for include files HAVE_NAN_H

Looking for include files HAVE_NAN_H - not found.

Looking for include files HAVE_NDIR_H

Looking for include files HAVE_NDIR_H - not found.

Looking for include files HAVE_PTHREAD_H

Looking for include files HAVE_PTHREAD_H - not found.

Looking for include files HAVE_RESOLV_H

Looking for include files HAVE_RESOLV_H - not found.

Looking for include files HAVE_STDARG_H

Looking for include files HAVE_STDARG_H - found

Looking for include files HAVE_SYS_MMAN_H

Looking for include files HAVE_SYS_MMAN_H - not found.

Looking for include files HAVE_SYS_TIMEB_H

Looking for include files HAVE_SYS_TIMEB_H - found

Looking for finite

Looking for finite - not found.

Looking for fpclass

Looking for fpclass - not found.

Looking for fp_class

Looking for fp_class - not found.

Looking for fprintf

Looking for fprintf - found

Looking for ftime

Looking for ftime - found

Looking for gettimeofday

Looking for gettimeofday - not found.

Looking for localtime

Looking for localtime - found

Looking for printf

Looking for printf - found

Looking for sscanf

Looking for sscanf - found

Looking for sprintf

Looking for sprintf - found

Looking for snprintf

Looking for snprintf - not found.

Looking for signal

Looking for signal - found

Looking for strdup

Looking for strdup - found

Looking for strndup

Looking for strndup - not found.

Looking for strerror

Looking for strerror - found

Looking for strftime

Looking for strftime - found

Looking for stat

Looking for stat - found

Looking for _stat

Looking for _stat - found

Looking for vfprintf

Looking for vfprintf - found

Looking for vsnprintf

Looking for vsnprintf - found

Looking for vsprintf

Looking for vsprintf - found

Checking for getaddrinfo.

Checking for getaddrinfo. - no

Checking for socklen_t

Checking for socklen_t - no

Checking for DIR in sys/dir.h

Checking for DIR in sys/dir.h - no

Checking for DIR in sys/ndir.h

Checking for DIR in sys/ndir.h - no

Checking for va_copy

Checking for va_copy - no

Checking for __va_copy

Checking for __va_copy - no

Checking for ipv6 support.

Checking for ipv6 support. - no

Looking for csin

Looking for csin - not found.

Looking for atanh

Looking for atanh - not found.

Looking for include files STDC_HEADERS

Looking for include files STDC_HEADERS - found

Looking for include files HAVE_ALLOCA_H

Looking for include files HAVE_ALLOCA_H - not found.

Looking for alloca

Looking for alloca - not found.

Check size of size_t

Check size of size_t - done

Check size of ssize_t

Check size of ssize_t - failed

Check size of ptrdiff_t

Check size of ptrdiff_t - done

Check size of off_t

Check size of off_t - done

Check size of double

Check size of double - done

Check size of float

Check size of float - done

Check size of short

Check size of short - done

Check size of uchar

Check size of uchar - failed

Performing NetCDF Test HAVE_ST_BLKSIZE

Performing NetCDF Test HAVE_ST_BLKSIZE - Failed

Performing NetCDF Test HAVE_FTRUNCATE

Performing NetCDF Test HAVE_FTRUNCATE - Failed

Looking for malloc.h

Looking for malloc.h - found

Configuring done



Are there any problmes when I use CMake?



Thank you!

Erkang

On Tue, Feb 23, 2010 at 8:52 AM, Erkang Cheng <ekyaya at gmail.com> wrote:
>
> Hi:
>
> Could you help me find the problem when I use CMake to generate VTK.sln.
>
> I use VC2008 9
>
> The attachment is the options I selected on CMake.
>
> Thanks
> Erkang
>
> On Tue, Feb 23, 2010 at 12:28 AM, Erkang Cheng <ekyaya at gmail.com> wrote:
>>
>> Hi:
>>
>> Thanks for your reply.
>>
>> I will check this on the computer in my lab tomorrow.
>>
>> I follow the instruct on http://www.itk.org/CourseWare/Training/GettingStarted-II.pdf to install the VTK.
>>
>> The ITK is installed on my computer.
>>
>> Tomorrow I will sent the pic about the CMake options.
>>
>> Thanks for your help.
>>
>> Best
>> Erkang
>>
>> On Tue, Feb 23, 2010 at 6:41 AM, John Drescher <drescherjm at gmail.com> wrote:
>>>
>>> On Mon, Feb 22, 2010 at 5:10 PM, Erkang Cheng <ekyaya at gmail.com> wrote:
>>> > I have sucessfully  installed  ITK on my computer using CMake.
>>> >
>>> > But when I install VTK on my computer, there are some errors as followings:
>>> >
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(57)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(218)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(247)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(247)
>>> > : error C3861: 'LowerCase': identifier not found
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(259)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(259)
>>> > : error C3861: 'FileIsDirectory': identifier not found
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(268)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(268)
>>> > : error C3861: 'FileIsDirectory': identifier not found
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(270)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(270)
>>> > : error C3861: 'FileIsSymlink': identifier not found
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(300)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(329)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(329)
>>> > : error C3861: 'LowerCase': identifier not found
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(347)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(347)
>>> > : error C3861: 'FileIsDirectory': identifier not found
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(376)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(376)
>>> > : error C3861: 'FileIsFullPath': identifier not found
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(378)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(378)
>>> > : error C3861: 'GetCurrentWorkingDirectory': identifier not found
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(477)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(507)
>>> > : error C2653: 'itksys' : is not a class or namespace name
>>> > 4>..\..\..\Research_Erkang\Toolbox\VTK\vtk-5.4.2\Utilities\kwsys\Glob.cxx(507)
>>> > : error C3861: 'RelativePath': identifier not found
>>> >
>>> > I think there may be some problems when I use CMake when generate VTK.sln.
>>> > Could you help me figure out the problems?
>>> > Thanks and Best
>>> > _______________________________________________
>>> >
>>>
>>> When you configured VTK did it find the correct ITK folder?
>>>
>>> John
>>
>




-- 
John M. Drescher



More information about the vtkusers mailing list