DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Wed, 2018-11-21, 11:46

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sat, 2014-03-15, 09:24 
Offline

Joined: Sat, 2005-02-26, 11:37
Posts: 11
Location: Iran
Hi
I want to compile dcmtk3.6.0 in linux suse 12.2
Is there any topic or documents how to do it?
I use these commands but it makes some error and can not compile all parts


./configure --without-openssl --without-zlib --without-libtiff --without-libpng --without-libxml --without-libwrap
make
make install
make install-lib

one of errors:
./../ofstd/include/dcmtk/ofstd/ofoset.h: In instantiation of ‘void OFOrderedSet<T>::Insert(const T&) [with T = OFString]’:
wlfsim.cc:509:39: required from here
../../ofstd/include/dcmtk/ofstd/ofoset.h:149:11: error: ‘Resize’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../ofstd/include/dcmtk/ofstd/ofoset.h:149:11: note: declarations in dependent base ‘OFSet<OFString>’ are not found by unqualified lookup
../../ofstd/include/dcmtk/ofstd/ofoset.h:149:11: note: use ‘this->Resize’ instead

Best Regards
Hadi

_________________
www.logicsims.ir


Top
 Profile  
 
PostPosted: Sat, 2014-03-15, 12:15 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 2004
Location: Oldenburg, Germany
Quote:
I want to compile dcmtk3.6.0 in linux suse 12.2
Is there any topic or documents how to do it?

The compilation instructions can be found in the INSTALL file.

However, if you experience problems then they are probably caused by the fact that the version of your gcc compiler was not available at the time when DCMTK 3.6.0 was released. So you should give the latest snapshot or even the git version a try.

Btw, the following patch might also fix your problem with "ofoset.h": http://git.dcmtk.org/web?p=dcmtk.git;a= ... 58#patch21


Top
 Profile  
 
PostPosted: Sat, 2014-03-15, 16:10 
Offline

Joined: Sat, 2005-02-26, 11:37
Posts: 11
Location: Iran
Thank you so much sir.
I added hundres of this-> to so many files and at last dcmtk3.6 compiled.

Now I have so many of these error in my code:

assoc.cc:-1: error: undefined reference to `log4cplus::Logger::isEnabledFor(int) const'
assoc.cc:-1: error: undefined reference to `log4cplus::Logger::~Logger()'
assoc.cc:-1: error: undefined reference to `log4cplus::Logger::forcedLog(int, OFString const&, char const*, int, char const*) const'

Would you please help me for this
Best Regards
Hadi

_________________
www.logicsims.ir


Top
 Profile  
 
PostPosted: Sat, 2014-03-15, 16:34 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 2004
Location: Oldenburg, Germany
Please try the latest DCMTK snapshot or the current development version (from the public git repository) first!


Top
 Profile  
 
PostPosted: Sat, 2014-03-15, 19:54 
Offline

Joined: Sat, 2005-02-26, 11:37
Posts: 11
Location: Iran
I must upgrade our PACS server for suse 12.2
So please help me pass this last errors
Thank you

_________________
www.logicsims.ir


Top
 Profile  
 
PostPosted: Sat, 2014-03-15, 21:03 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 2004
Location: Oldenburg, Germany
Please reread my last posting.


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