Hello I'm new with the dcmtk library
I'm trying to compile a simple program like this
#include "osconfig.h"
#include "dctk.h"
int main()
{
return -1;
}
but when I try to compile, g++ gets me these errors
./include/ofstream.h:102: error: `strstream' does not name a type
./include/ofstream.h:103: error: `ostrstream' does not name a type
./include/ofstream.h:104: error: `istrstream' does not name a type
and the second error is
./include/oflist.h:58:2: #error Your C++ compiler cannot handle class templates:
./include/oflist.h:498:2: #error Your C++ Compiler is not capable of compiling this code
someone can help me please to solutionate this error ?
I'm using g++ version 3.4.2 and the O.S. is Fedore Core, I have tried the same with another computer with mandrake 10.1 and g++ 3.4.1 and it gets me the same error, I supose that I'm doing something wrong when I try to compile. Thanks for all
Problems to compile
Moderator: Moderator Team
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Who is online
Users browsing this forum: No registered users and 1 guest