dcmtk3.5.4 install error

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
abchjb
Posts: 6
Joined: Fri, 2005-12-23, 15:47

dcmtk3.5.4 install error

#1 Post by abchjb »

enviroment: windows xp sp2 + cmake2.0.6 + vc6(sp6)
when build, error:

--------------------Configuration: dcmcjpeg - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "ofstd.lib"
Error executing link.exe.

ALL_BUILD - 1 error(s), 0 warning(s)

abchjb
Posts: 6
Joined: Fri, 2005-12-23, 15:47

ok

#2 Post by abchjb »

ok, now! must change the .cc to cxx, but in install file,don't have it.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#3 Post by Jörg Riesmeier »

Download the correct file (for Windows!) and everything should work as expected.

shirkaan
Posts: 23
Joined: Mon, 2011-01-17, 13:24

#4 Post by shirkaan »

i have a doubt. About which file you are talking about??? which file extension should be changed to .cxx???

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

#5 Post by Michael Onken »

Hi,

Early versions of Visual Studio were not able to use .cc as extensions for c++ files. With all versions newer than VC 6 however, this is not an issue any more.

If you compile with <VC6, change all .cc files to .cxx yourself, or download the source code prepared for windows that my colleague Jörg pointed to above.

For newer versions of DCMTK than 3.5.4, we do not provide such a specific file so far since as of today most users use Visual Studio 2005, 2008 or 2010.

Best regards,
Michael

shirkaan
Posts: 23
Joined: Mon, 2011-01-17, 13:24

#6 Post by shirkaan »

i am using visual studio 2005 and dcmtk 3.5.4. Shall i need to change all .cc files to .cxx files?????

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#7 Post by Jörg Riesmeier »

No, as Michael wrote this is only needed for older versions of the Microsoft compiler.

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

#8 Post by Michael Onken »

Hi,
shirkaan wrote:i am using visual studio 2005 and dcmtk 3.5.4. Shall i need to change all .cc files to .cxx files?????
Just actually read my posting again.

shirkaan
Posts: 23
Joined: Mon, 2011-01-17, 13:24

#9 Post by shirkaan »

thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest