Hi
when I try to use dcmtk in my C++ code, I get the following error:
/dcmtk-3.5.3/ofstd/include/ofstream.h:77:2: #error DCMTK needs stringstream or strstream type
/dcmtk-3.5.3/ofstd/include/ofstream.h:103: syntax error before `;' token
/dcmtk-3.5.3/ofstd/include/ofstream.h:104: syntax error before `;' token
/dcmtk-3.5.3/ofstd/include/ofstream.h:105: syntax error before `;' token
/dcmtk-3.5.3/ofstd/include/oflist.h:58:2: #error Your C++ compiler cannot handle class templates:
Thanks for any suggestion!
error using DCMTK libraries
Moderator: Moderator Team
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
First, try this.
error using DCMTK libraries
I read previous posted about my problem and I found the solution: there was a configuration error. I re-build the library in this way:
./configure --enable-std-includes
make all
make install-lib
The compiler was g++ 3.2.3
Now my code has no problem with the library...
Thank you
See you soon!
./configure --enable-std-includes
make all
make install-lib
The compiler was g++ 3.2.3
Now my code has no problem with the library...
Thank you
See you soon!
error using DCMTK libraries
Hi
I have no solved my trouble...
when I try to use some little application with class of DCMTK library I get the same errors posted before.
I've already checked that I compile with -DHAVE_CONFIG_H.
Any suggestion?
Thank you very much!!!
I have no solved my trouble...
when I try to use some little application with class of DCMTK library I get the same errors posted before.
I've already checked that I compile with -DHAVE_CONFIG_H.
Any suggestion?
Thank you very much!!!
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest