Search found 2 matches

by florian
Tue, 2008-03-04, 11:55
Forum: DCMTK - General
Topic: g++ compilation of simple program
Replies: 3
Views: 4342

Reply - thanks

Thanks for your reply and the useful information. Unfortunately the problem still persists and the compiler gives the following output: /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libdcmimgle.a(dcmimage.o): In function `DicomImage::~DicomImage()': dcmimage.cc:(.text+0x60e): undefined reference...
by florian
Mon, 2008-03-03, 22:55
Forum: DCMTK - General
Topic: g++ compilation of simple program
Replies: 3
Views: 4342

g++ compilation of simple program

Hi everybody, Im a new user trying to get the following test program to compile: #include<osconfig.h> #include<dcmimage.h> int main(int argc, char* argv[]) { DicomImage *im = new DicomImage(argv[1]); return 0; } I use: g++ -DHAVE_CONFIG_H test.cpp -I/usr/local/dicom/include/dcmtk/config -I/usr/local...