Search found 9 matches
- Thu, 2017-06-15, 13:48
- Forum: DCMTK - General
- Topic: byte array to DicomImage
- Replies: 1
- Views: 2482
byte array to DicomImage
Hello, great software. My question is how does one create a DicomImage object from a byte array? This byte array contains a dcm file read from the filesystem. The intention is to return the processed image to some java code with createJavaAWTBitmap. Now for example I already have the DcmInputBufferS...
- Wed, 2017-05-10, 10:24
- Forum: DCMTK - Installation
- Topic: Android installation
- Replies: 14
- Views: 16019
Re: Android installation
Well, it doesn't yet. I thought that the header files located in the include directory will be linked to the libraries during the cmake build process.Jan Schlamelcher wrote:I am sorry, then I still do not understand. How does your project use the DCMTK libraries without C++ source code that links to them?
- Wed, 2017-05-10, 08:30
- Forum: DCMTK - Installation
- Topic: Android installation
- Replies: 14
- Views: 16019
Re: Android installation
I see, so we talked about different things the whole time. The CMake Exports step ist for including DCMTK in your own C++ Android project. If this is not what you want, please clarify instead what is. If you "simply" want to use the dcmtk command line tools, you can copy them to the devic...
- Wed, 2017-05-10, 06:54
- Forum: DCMTK - Installation
- Topic: Android installation
- Replies: 14
- Views: 16019
Re: Android installation
As I did not create any additional cpp files (executables or libs), I defined the executable like this: add_executable(android "") set_target_properties(android PROPERTIES LINKER_LANGUAGE CXX) SET(DCMTK_DIR "C:/Program Files (x86)/DCMTK/lib/cmake/dcmtk") find_package(DCMTK CONFIG...
- Tue, 2017-05-09, 08:23
- Forum: DCMTK - Installation
- Topic: Android installation
- Replies: 14
- Views: 16019
Re: Android installation
Modify your CMakeLists.txt to use find_package() in CONFIG mode, as explained here . - find_package(DCMTK) + find_package(DCMTK CONFIG) Thank you. However I am still not familiar with cmake builds. CmakeLists.txt looks like this: SET(DCMTK_DIR "C:/Program Files (x86)/DCMTK/lib/cmake/dcmtk"...
- Mon, 2017-05-08, 11:59
- Forum: DCMTK - Installation
- Topic: Android installation
- Replies: 14
- Views: 16019
Re: Android installation
Ok, I built dcmtk from the latest commit and used ndk r12b. Got an error when building with make in the #ifdef HAVE_GETPWNAM_R block (the method was missing I suppose), but rectified it by commenting it out. Now I can't seem to be able to build with cmake in my project with the following output: -- ...
- Fri, 2017-05-05, 06:11
- Forum: DCMTK - Installation
- Topic: Android installation
- Replies: 14
- Views: 16019
Re: Android installation
You should consider it, if you want to be able to update to new DCMTK versions in the future. The main difference of the current code is that you need to provide your own Android Toolchain file (the one included in DCMTK was removed since it was outdated and we do not have the resources to maintain...
- Thu, 2017-05-04, 12:58
- Forum: DCMTK - Installation
- Topic: Android installation
- Replies: 14
- Views: 16019
Re: Android installation
It of course depends on your application. I would recommend using the find_package() mechanism of CMake together with our CMake Exports to include and link DCMTK to your project. But this of course only works if your project uses CMake... Also, did you build DCMTK for Android from our git repositor...
- Wed, 2017-05-03, 07:37
- Forum: DCMTK - Installation
- Topic: Android installation
- Replies: 14
- Views: 16019
Android installation
Hello. So I have built an x86 version of dcmtk 3.6.1. Now, after make install I have a bunch of header files and shared libraries in the ndk toolchains directory. How do I use them in my application?