[Insight-users] I can't build ITK and VTK in Visual Studio 8

Seki sekanell at gmail.com
Mon Feb 11 09:30:02 EST 2008


Hi,

I'm new using ITK and VTK libraries, and I have some problems trying to
build them. I've different kind of errors:

(what I am trying to build is the solution ITK.sln with all sample
projects).

1>C:\Archivos de programa\Microsoft Visual Studio 8\VC\include\cstddef(18) :
error C2143: syntax error : missing '{' before ':'

refering to the line: 
using ::ptrdiff_t; using ::size_t;

/////////////////////////////////////////

1>C:\Archivos de programa\Microsoft Visual Studio 8\VC\include\cstddef(18) :
error C2143: syntax error : missing '{' before ':'

refering to the line: 
using ::ptrdiff_t; using ::size_t;

/////////////////////////////////////////

3>.\gdcmException.cxx(57) : error C3861: 'exit': identifier not found

refering to line:
exit(-1);

/////////////////////////////////////////

1>C:\Archivos de programa\Microsoft Visual Studio 8\VC\include\eh.h(30) :
fatal error C1189: #error :  "eh.h is only for C++!"

refering to the lines:

#ifndef __cplusplus
#error "eh.h is only for C++!"
#endif

I suppose that all this errors are related to C++ version or Visual Studio
config., but I can't sove them.

Can anybody help me?

Josep.
-- 
View this message in context: http://www.nabble.com/I-can%27t-build-ITK-and-VTK-in-Visual-Studio-8-tp15411373p15411373.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list