DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sat, 2017-09-23, 22:56

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri, 2012-04-13, 20:43 
Offline

Joined: Thu, 2011-05-05, 18:52
Posts: 4
Location: Gainesville, Florida, USA
I've been playing with DCMRT on linux for a while now and wanted to give it a try on the Win7 platform. I copied the source tree onto my windows box and ran CMake (I use version 2.8.7) on it. This created the appropriate VC project that I loaded into Visual Studio 2010. Building the solution resulted in all the libraries building with no problems but all of the apps failed to link. They had an unresolved symbol "_mainCRTStartup". After a bit of tinkering with the build parameters, I discovered that you need to turn off incremental linking to fix these.

Project->Properties->Configuration Properties->Linker->General->Enable Incremental Linking->No(/INCREMENTAL:NO)

This is probably a VS10 specific thing that the CMake config doesn't know about yet. I noticed that the release version of DCMTK doesn't have this problem.

That fixed almost all of the apps. There were still a couple that couldn't resolve the _main symbol. Some investigation showed that the source file containing the main() function was omitted from the project by CMake. I added it to the app's project with

Project->Add Existing Item...

then browse to the <module>\apps directory and select the <App Name>.cc file. Rebuild and it should be golden.

Hope this saves somebody some time and head-scratching. :)

_________________
Russ Moore
Medical Applications Programmer
University of Florida
rmoore@neurosurgery.ufl.edu


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2012-04-16, 11:59 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1847
Location: Oldenburg, Germany
Thanks for the report. Which version of the DCMRT pre-release are you referring to?


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2012-04-16, 12:13 
Offline

Joined: Thu, 2011-05-05, 18:52
Posts: 4
Location: Gainesville, Florida, USA
The source tree says version 3.6.1. Downloaded on 2/21/2011.

_________________
Russ Moore
Medical Applications Programmer
University of Florida
rmoore@neurosurgery.ufl.edu


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2012-04-16, 13:43 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1847
Location: Oldenburg, Germany
This is a pretty old version. If you are using VS 2012 on a 64-bit Windows 7 system, it might be useful to update to a newer version of DCMRT (send us an email to get access to the latest source code package).


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2012-04-16, 13:49 
Offline

Joined: Thu, 2011-05-05, 18:52
Posts: 4
Location: Gainesville, Florida, USA
Email is in signature. I have no secrets. :)

_________________
Russ Moore
Medical Applications Programmer
University of Florida
rmoore@neurosurgery.ufl.edu


Top
 Profile  
 
PostPosted: Wed, 2012-11-14, 12:01 
Offline

Joined: Mon, 2012-11-12, 15:46
Posts: 2
Hello there,

I'm a dcmtk/dcmrt beginner, I've tried to compile dcmrt 3.6.1_20121102 on a 64-bit Windows 7 system too,
and I had problems.
I used Cmake 2.8, MinGW gcc 4.7.1 and I had the following error:

mingw32-make[2]: *** No rule to make target `x86)/mydicom/dcmtk3.6.1_src/ofstd/libsrc/ofconapp.cc)', needed by `ofstd/libsrc/CMakeFiles/ofstd.dir/ofconapp.cc.obj'. Stop.
mingw32-make[2]: Leaving directory `C:/Program Files (x86)/mydicom/dcmtk3.6.1_bin'
mingw32-make[1]: *** [ofstd/libsrc/CMakeFiles/ofstd.dir/all] Error 2
mingw32-make[1]: Leaving directory `C:/Program Files (x86)/mydicom/dcmtk3.6.1_bin'
mingw32-make: *** [all] Error 2

I would like to try the newest snapshot dcmtk version to see if the problem persits or have some
suggestions about the issue.

many thanks in advance,
Luca
email: luca.binotto@ulssvicenza.it


Top
 Profile  
 
PostPosted: Wed, 2012-11-14, 14:29 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1847
Location: Oldenburg, Germany
Version "3.6.1_20121102" is the latest snapshot. Please note that DCMRT is now part of the DCMTK development version.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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:  
cron
Powered by phpBB® Forum Software © phpBB Group