Visual 2010 Sln File for Dcmtk

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
cjacquel
Posts: 19
Joined: Mon, 2007-01-15, 17:14

Visual 2010 Sln File for Dcmtk

#1 Post by cjacquel »

Hello,

I am searching the Visual Studio Sln file to compile dcmtk 3.6.0 library.

Thank you,
Christophe

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Visual 2010 Sln File for Dcmtk

#2 Post by J. Riesmeier »

According to the INSTALL file, you have to generate the projects file(s) with CMake.

cjacquel
Posts: 19
Joined: Mon, 2007-01-15, 17:14

Re: Visual 2010 Sln File for Dcmtk

#3 Post by cjacquel »

Hello,

The Visual 2010 files are generated but the compile option is /MD.

Ho to have the /MT Option for the library ?

Thank you,
Christophe

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Visual 2010 Sln File for Dcmtk

#4 Post by J. Riesmeier »

The default should be "/MT". Are you using a 64-bit compiler? Then I would recommend that you switch to the current development snapshot of the DCMTK.

cjacquel
Posts: 19
Joined: Mon, 2007-01-15, 17:14

Re: Visual 2010 Sln File for Dcmtk

#5 Post by cjacquel »

Win 8 - 32 bits compiler.
What is the link.

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Visual 2010 Sln File for Dcmtk

#6 Post by J. Riesmeier »

Did you disable the CMake variable DCMTK_OVERWRITE_WIN32_COMPILER_FLAGS?

The current snapshot can be downloaded here: http://www.dcmtk.org/dcmtk#snapshot

cjacquel
Posts: 19
Joined: Mon, 2007-01-15, 17:14

Re: Visual 2010 Sln File for Dcmtk

#7 Post by cjacquel »

Did I have to define USE_STRINGSTREAM in my application ?
Thx,

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Visual 2010 Sln File for Dcmtk

#8 Post by J. Riesmeier »

You have to include the "dcmtk/config/osconfig.h" header file that is generated by CMake. Also see FAQ #47.

cjacquel
Posts: 19
Joined: Mon, 2007-01-15, 17:14

Re: Visual 2010 Sln File for Dcmtk

#9 Post by cjacquel »

Ok, everithing is Ok, the Visual Studio 2010 Sln files have been generated by the CMAKE, and the compilation is Ok, in my application too.

Thanks;
Christophe,

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest