DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Thu, 2018-04-26, 21:50

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed, 2017-06-07, 15:52 
Offline

Joined: Mon, 2015-07-20, 14:25
Posts: 15
Hi,
I am trying to compile DCMTK (most recent version - 3.6.1_20170228) with CMake 3.8.2.
More specifically I am trying to compile Dcmsr folder.
In CMake i am selecting option "Generator for Visual Studio 14 2015"
I get an error during the "Configure" process in CMake, saying the following :

CMake error at library libsrc/CMakeLists.txt:2 (DCMTK_ADD_LIBRARY)
Unknown CMake command "DCMTK_ADD_LIBRARY"

Can anyone help me?
Thanks


Top
 Profile  
 
PostPosted: Thu, 2017-06-08, 08:29 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1928
Location: Oldenburg, Germany
Did you select the CMakeLists.txt file within the "dcmsr" subfolder? This will not work, of course. You have to select the main CMakeLists.txt file in the "dcmtk" root directory. See INSTALL file for detailed instructions on how to compile the toolkit.


Top
 Profile  
 
PostPosted: Thu, 2017-06-08, 13:11 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Mon, 2014-03-03, 09:51
Posts: 231
Location: Oldenburg, Germany
Adding to that: you can still compile dcmsr and its requirements only if you use the top level CMakeLists.txt, by right clicking on dcmsr -> build in Visuals Studio.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group