Search found 6 matches

by fester
Fri, 2005-10-14, 13:05
Forum: DCMTK - General
Topic: Open_DICOM_image
Replies: 2
Views: 3882

Open_DICOM_image_solved

Hi!
Thank you for your suggestion...
I already solved my problem: I copied file "dicom.dic" in the "lib" directory where there are all the *.a files. I create "lib" by compiling the source code with "make install-lib".
Thank you
See you soon! :) :)
by fester
Tue, 2005-10-11, 11:41
Forum: DCMTK - General
Topic: Open_DICOM_image
Replies: 2
Views: 3882

Open_DICOM_image

Hi I compile the follow example DicomImage *image = new DicomImage("test.dcm"); if (image != NULL) { if (image->getStatus() == EIS_Normal) { if (image->isMonochrome()) { image->setMinMaxWindow(); Uint8 *pixelData = (Uint8 *)(image->getOutputData(8 /* bits */)); if (pixelData != NULL) { /* ...
by fester
Tue, 2005-10-11, 11:35
Forum: DCMTK - Installation
Topic: error using DCMTK libraries
Replies: 4
Views: 7382

Hi
Finally I really solved my problem. I added in my Makefile the pthread library and z library:

-lpthread -lz

Bye bye
by fester
Thu, 2005-09-22, 15:32
Forum: DCMTK - Installation
Topic: error using DCMTK libraries
Replies: 4
Views: 7382

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!!!
by fester
Thu, 2005-09-22, 09:18
Forum: DCMTK - Installation
Topic: error using DCMTK libraries
Replies: 4
Views: 7382

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 :D See you soon!
by fester
Wed, 2005-09-21, 09:37
Forum: DCMTK - Installation
Topic: error using DCMTK libraries
Replies: 4
Views: 7382

error using DCMTK libraries

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 ...