[Insight-users] Compile error in itkMacro.h in class OStringStream

Stefanie Nowak stefanie.nowak at igd.fraunhofer.de
Mon Jul 31 10:19:00 EDT 2006


Hello,

I try to port an application using ITK 2.8.1 and VTK 5.0 from the 
Microsoft Visual Studio 6 Compiler to g++ 3.4.4 compiler using cygwin 
under Windows XP.
The libraries compiled well, but by trying to compile the application I 
get a compiler error in itkMacro.h line 453 "error: expected class-name 
before '{' token".
It seems that I have a problem with the different stream libraries in 
the STL and the C++ streams library. I found one hint in the ITK Wiki 
FAQ under the topic "Compile/Link errors involving C++ streams library, 
but that does not help.
Maybe I missed to set the right flags in my Makefile?

Any help is appreciated!
Thanks, Stefanie

-- 

---------------------------------------------------------------------
Dipl.-Inform. Stefanie Nowak

Fraunhofer Institute for Computer Graphics
Cognitive Computing and Medical Imaging (A7)
Fraunhoferstr. 5, 64283 Darmstadt, Germany
---------------------------------------------------------------------
email:    stefanie.nowak at igd.fraunhofer.de
http://a7www.igd.fhg.de/persons/snowak/

phone:	+49 6151 - 155 520
fax:    +49 6151 - 155 480
--------------------------------------------------------------------- 



More information about the Insight-users mailing list