Latest snapshot dcmtk-3.5.5_20101008

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Monteaup
Posts: 3
Joined: Fri, 2010-10-15, 10:34

Latest snapshot dcmtk-3.5.5_20101008

#1 Post by Monteaup »

Hallo,

I can compile the dcmtk, but I'm not able to compile my project anymore.

I got the error 'iostream.h': No such file or directory D:\sys\offis\include\dcmtk\ofstd\ofstream.h 71'

It's maybe because the cfwin32.h is missing in this snapshot?

Using WindowsXP with VS 2005

regards

Michael Onken
DCMTK Developer
Posts: 2051
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#2 Post by Michael Onken »

Hi,

did you switch from DCMTK 3.5.4 to the current snapshot? If so, then some few header locations like cfwin32.h did change a littlebit. However, you should never include cfwin32.h directly in your project. Instead (if you want to include something alike), always include osconfig.h (dcmtk/config/osconfig.h). Many projects do not need to include osconfig.h at all since it is included first anyway by every DCMTK header file.

After compiling the snapshot, install it using the INSTALL target in Visual Studio. Then set for your own project the include path to "your_install_path/include". dcmtk/ofstd/ofstream.h should exist there.

I guess if you follow these rules, your problems might have been gone. Hope that helps!

Best regards,
Michael

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest