DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Fri, 2018-01-19, 20:28

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Sun, 2016-10-23, 20:19 
Offline

Joined: Mon, 2015-11-23, 16:05
Posts: 16
I am having problems trying to build dcmtk on Windows 10 32bit. Running both CMake 3.6.2 and 3.7.0-rc2 I get the following error:

Code:
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (PROJECT):
  No CMAKE_C_COMPILER could be found.
[/color]


[color=#FF0000]CMake Error at CMakeLists.txt:2 (PROJECT):
  No CMAKE_CXX_COMPILER could be found.


Configuring incomplete, errors occurred!
See also "C:/Users/admin/Desktop/dicom_dev/dcmtk/CMakeFiles/CMakeOutput.log".
See also "C:/Users/admin/Desktop/dicom_dev/dcmtk/CMakeFiles/CMakeError.log".


I am using the latest dcmtk-3.6.1_20161012_snapshot with Microsoft Visual Studio Community 2015 version 14.0.25425.01 Update 3.

I am not a CMake expert so any pointers on how to resolve this error will be greatly appreciated.

Thanks,

- Christos


Top
 Profile  
 
PostPosted: Mon, 2016-10-24, 08:30 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Mon, 2014-03-03, 09:51
Posts: 228
Location: Oldenburg, Germany
It is most likely either a problem with your compiler setup or with the way that you are using CMake. Did you compile something else with your setup so far? Regarding CMake: are you using the GUI or do you launch it via Command line? In both cases, make sure you correctly selected Visual Studio 2015, either via the combo box or via specifying -G "Visual Studio 14 2015 [ARCH]". Have a look at these pages:
https://cmake.org/cmake/help/v3.1/manua ... ors.7.html
https://cmake.org/cmake/help/v3.1/gener ... 02015.html


Top
 Profile  
 
PostPosted: Mon, 2016-10-24, 09:20 
Offline

Joined: Mon, 2015-11-23, 16:05
Posts: 16
Hi Jan,

I have found the relative articles about this error and created and run a default C++ project in Visual Studio, so the compilers are installed.
I also found an old issue with CMake being confused with the Windows 10 SDK and removed that too with no luck.

I am using the GUI version of CMake. Using CMake v3.7.0-rc2 allows me to select VS 2015 which I think is the correct item instead of VS 14 2015. Selecting VS14 2015 gives the same (error) result.

I am wondering whether people on the list are successfully using DCMTK in a similar setup or not, and if there are any extra steps necessary to support VS 15 under Windows 10. I'll try again with a clean installation of Windows 10 and let you know how it goes.


Top
 Profile  
 
PostPosted: Mon, 2016-10-24, 09:42 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1661
Location: Oldenburg, Germany
Hi,

I am compiling the latest snapshot version of DCMTK (20160630) on an up-to-date Windows 10 using Visual Studio 2015 and CMake 3.6.1. I did not find any problems so far.

Best regards,
Michael


Top
 Profile  
 
PostPosted: Mon, 2016-10-24, 10:33 
Offline

Joined: Mon, 2015-11-23, 16:05
Posts: 16
Thanks for the info Michael. I guess there is something wrong with my VS setup.
I am already installing VS 15 on a clean Windows 10 and I'll see what happens. Do you have the Windows 10 SDK installed?


Top
 Profile  
 
PostPosted: Mon, 2016-10-24, 10:40 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1661
Location: Oldenburg, Germany
Hi,

I don't think so, if its not part of the Visual Studio Community version installer (at least I did not explicitly install it).

Best,
Michael


Top
 Profile  
 
PostPosted: Wed, 2017-02-01, 09:06 
Offline

Joined: Sat, 2009-07-11, 19:27
Posts: 9
I am having issues in setting up the latest snapshot of dcmtk-3.6.1_20161102 with visual studio 2015 community edition.
Right now I am in need of dsr2xml.exe binary from the snapshot dcmtk-3.6.1_20161102

can anyone has this binary please share it..snapshot dsr2xml.exe has ignore parsing errors option.


Thanks
decuser


Top
 Profile  
 
PostPosted: Wed, 2017-02-01, 10:19 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1889
Location: Oldenburg, Germany
To "decuser": Please avoid double postings.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 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