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
How to compile dcmtk3.6.0 in Linux?
Moderator: Moderator Team
How to compile dcmtk3.6.0 in Linux?
www.logicsims.ir
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: How to compile dcmtk3.6.0 in Linux?
The compilation instructions can be found in the INSTALL file.I want to compile dcmtk3.6.0 in linux suse 12.2
Is there any topic or documents how to do it?
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
Re: How to compile dcmtk3.6.0 in Linux?
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 error: undefined reference to `log4cplus::Logger::isEnabledFor(int) const'
assoc.cc error: undefined reference to `log4cplus::Logger::~Logger()'
assoc.cc 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
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 error: undefined reference to `log4cplus::Logger::isEnabledFor(int) const'
assoc.cc error: undefined reference to `log4cplus::Logger::~Logger()'
assoc.cc 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
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: How to compile dcmtk3.6.0 in Linux?
Please try the latest DCMTK snapshot or the current development version (from the public git repository) first!
Re: How to compile dcmtk3.6.0 in Linux?
I must upgrade our PACS server for suse 12.2
So please help me pass this last errors
Thank you
So please help me pass this last errors
Thank you
www.logicsims.ir
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: How to compile dcmtk3.6.0 in Linux?
Please reread my last posting.
Who is online
Users browsing this forum: No registered users and 1 guest