Search found 318 matches

by Jan Schlamelcher
Mon, 2017-09-04, 16:46
Forum: DCMTK - Installation
Topic: DCMTK for anndroid
Replies: 1
Views: 2901

Re: DCMTK for anndroid

You probably need to modify the environment variable LD_LIBRARY_PATH to include your /bin directory. Alternatively/additionaly you probably need to modify the java classpath/library path. It has been some time since I did something similiar using java, so google can probably help you better than I (...
by Jan Schlamelcher
Mon, 2017-09-04, 16:42
Forum: DCMTK - Installation
Topic: DCMTK on visual studio 2017 with ssl
Replies: 15
Views: 19133

Re: DCMTK on visual studio 2017 with ssl

Please note that the tutorial does not really apply for newer versions of OpenSSL (but can still be used to get some ideas).
by Jan Schlamelcher
Mon, 2017-09-04, 16:33
Forum: DCMTK - Installation
Topic: Building DCMTK for Android
Replies: 7
Views: 14796

Re: Building DCMTK for Android

I plan on writing a tutorial for that, but I have currently no idea when I'll find the time for it. The existing tutorial in our wiki is now completely outdated since we modified the way DCMTK is build for Android in DCMTK 3.6.2. I'll point you to this for starters: https://cmake.org/cmake/help/v3.7...
by Jan Schlamelcher
Mon, 2017-09-04, 16:29
Forum: DCMTK - Installation
Topic: window build decmtk for android
Replies: 1
Views: 2814

Re: window build decmtk for android

You perhaps need to reverse the link order of ofstd and oflog.
by Jan Schlamelcher
Mon, 2017-09-04, 16:26
Forum: DCMTK - General
Topic: Convert from OpenCV to Dicom.
Replies: 1
Views: 2109

Re: Convert from OpenCV to Dicom.

You probably need to also link against the zlib, i.e.

Code: Select all

-lz
should do the trick.
by Jan Schlamelcher
Fri, 2017-07-21, 09:59
Forum: DCMTK - Installation
Topic: Compiling DCMTK 3.6.2 on Fedora 25: invalid conversion
Replies: 7
Views: 7740

Re: Compiling DCMTK 3.6.2 on Fedora 25: invalid conversion

The relevant option should be

Code: Select all

OPTION(DCMTK_WITH_THREADS "Configure DCMTK with support for multi-threading." ON)
as you see it defaults to ON.
You could check whether WITH_THREADS is #defined in the generated dcmtk/config/osconfig.h
by Jan Schlamelcher
Thu, 2017-07-20, 16:46
Forum: DCMTK - Installation
Topic: Compiling DCMTK 3.6.2 on Fedora 25: invalid conversion
Replies: 7
Views: 7740

Re: Compiling DCMTK 3.6.2 on Fedora 25: invalid conversion

You could test to simply remove the "+0" and see whether that gives us any better error output (or just works). DCMTK 3.6.2 uses a newer version of log4cplus than 3.6.0, so this perhaps explains it, still seems strange to me though. EDIT: In case you don't enable multi threading, DCMTK_LOG...
by Jan Schlamelcher
Thu, 2017-07-20, 16:34
Forum: DCMTK - Installation
Topic: Compiling DCMTK 3.6.2 on Fedora 25: invalid conversion
Replies: 7
Views: 7740

Re: Compiling DCMTK 3.6.2 on Fedora 25: invalid conversion

This looks strange, the code seems to add zero to the pointer returned from the new statement, meaning this is a pointer offset operation and no conversion should be necessary. Two explanations come to my mind regarding that: 1. Your compiler does not understand C++, what compiler are you using? (lo...
by Jan Schlamelcher
Fri, 2017-07-14, 09:24
Forum: DCMTK - General
Topic: Working on automated Windows builds. Support libraries?
Replies: 1
Views: 2207

Re: Working on automated Windows builds. Support libraries?

We have exactly that (continuous integration, implementation details are different) up and running for quite some time now, but did not make it official yet. The last step I did was to automate creation of the support libraries for win32 and win64 ;-). Maybe we can merge our approaches, but I'm quit...
by Jan Schlamelcher
Thu, 2017-07-06, 11:58
Forum: DCMTK - General
Topic: Static linking an c++ application with DCMTK
Replies: 11
Views: 13663

Re: Static linking an c++ application with DCMTK

That's for you to answer. One can see in that output that dcmtk links the following libraries in the following order: ../../lib/libdcmnet.a ../../lib/libdcmdata.a ../../lib/liboflog.a ../../lib/libofstd.a ../../lib/libdcmtls.a ../../lib/libdcmnet.a -lwrap ../../lib/libdcmdata.a ../../lib/liboflog.a ...
by Jan Schlamelcher
Wed, 2017-07-05, 10:08
Forum: DCMTK - General
Topic: Static linking an c++ application with DCMTK
Replies: 11
Views: 13663

Re: Static linking an c++ application with DCMTK

Perhaps have a look at how dcmtk links one of its own applications, e.g. storescu. If you are using CMake, after building DCMTK go to dcmnet/apps and execute 'make clean'. Then run 'make VERBOSE=1 storescu'. You should be able to see the exact command lines how storescu is compiled and linked.
by Jan Schlamelcher
Tue, 2017-07-04, 13:39
Forum: DCMTK - General
Topic: Error while Loading of DICOMDICT file
Replies: 7
Views: 6974

Re: Error while Loading of DICOMDICT file

J. Riesmeier wrote:Jan, you mean this commit? Seemed to be an issue for CMake configurations only, right? Autoconf should always have worked since this was tested for the previous releases of the DCMTK.
I don't think Autoconf ever worked for MinGW...
by Jan Schlamelcher
Tue, 2017-07-04, 13:38
Forum: DCMTK - General
Topic: Static linking an c++ application with DCMTK
Replies: 11
Views: 13663

Re: Static linking an c++ application with DCMTK

It seems that you configured DCMTK to use the ICU library for character set conversions. That means you will also have to link the ICU library to your application.
by Jan Schlamelcher
Tue, 2017-07-04, 13:36
Forum: DCMTK - General
Topic: question on DCMTK version
Replies: 4
Views: 4090

Re: question on DCMTK version

zack wrote:When comes the new release? June is already over.
Soon. We are currently performing last minute fixes and checks.
by Jan Schlamelcher
Fri, 2017-06-30, 17:37
Forum: DCMTK - General
Topic: Error while Loading of DICOMDICT file
Replies: 7
Views: 6974

Re: Error while Loading of DICOMDICT file

It seems to me that your DCMTK falsely uses ':' as the path separator although it should be ';' on Windows. Are you perhaps using MinGW? It was like this for MinGW until I recently fixed it.