Search found 16 matches

by julialecat
Tue, 2015-06-30, 14:24
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Problems when building for Android | dcmtk-3.6.1_2015021

I used your patch sure. I only let my last configuration just in case.
Now you can update the wiki :wink:
by julialecat
Tue, 2015-06-30, 12:00
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Problems when building for Android | dcmtk-3.6.1_2015021

Finally, finished Configure without errors and then Generate :D

Last configuration was:
  • Android NDK: r10d
  • Emulator: API 22
  • ANDROID_NATIVE_API_LEVEL: 17
Thank you so much for your time and efforts!
by julialecat
Tue, 2015-06-30, 09:18
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Problems when building for Android | dcmtk-3.6.1_2015021

Using Android Virtual Device Manager from Android Studio:
  • 2.7" QVGA, 240x320, ldpi
  • API 21, armeabi-v7a, Android 5.0.1
Tried also with API 22, armeabi-v7a, Android 5.1.1
by julialecat
Mon, 2015-06-29, 17:37
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Problems when building for Android | dcmtk-3.6.1_2015021

The famous error is: CMake Error at CMake/GenerateDCMTKConfigure.cmake:773 (MESSAGE): error: only position independent executables (PIE) are supported. Call Stack (most recent call first): CMakeLists.txt:48 (INSPECT_FUNDAMENTAL_ARITHMETIC_TYPES) Here my complete console output (many header files not...
by julialecat
Mon, 2015-06-29, 11:55
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Problems when building for Android | dcmtk-3.6.1_2015021

Ok, I still had your patch so I rolled back with the original android.toolchain.cmake: set( ANDROID_TOOLCHAIN_CONFIG_FILE "${CMAKE_BINARY_DIR}/../android.toolchain.config.cmake" ) Then I got the same error but I guess something was different because I had much less errors in the console th...
by julialecat
Thu, 2015-06-25, 10:54
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Problems when building for Android | dcmtk-3.6.1_2015021

Understood.

Tried both with CMake 2.8.12.2 and CMake 3.2.3.
by julialecat
Thu, 2015-06-25, 09:45
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Problems when building for Android | dcmtk-3.6.1_2015021

I started over with both android-ndk-r10d and android-ndk-r10e with exactly the same result. Btw, I suppose the fact that the cmake variable ANDROID_STL_SHARED_OBJECT is set to ANDROID_STL_SHARED_OBJECT-NOTFOUND is a consequence of the errors without output you mentioned above, right? Do we really g...
by julialecat
Tue, 2015-06-23, 15:21
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Problems when building for Android | dcmtk-3.6.1_2015021

Ooops, updated CMakeError.log in the same link, sorry!
by julialecat
Tue, 2015-06-23, 14:51
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Problems when building for Android | dcmtk-3.6.1_2015021

Nope, different directories for source code and build output. Here is my CMakeError.log http://pastebin.com/7ZTDwqRT and here my CMakeOutput.log: The target system is: Linux - 1 - armv7-a The host system is: Linux - 3.13.0-55-generic - x86_64 Determining if the __sync_add_and_fetch((int*)0,0) exist ...
by julialecat
Tue, 2015-06-23, 13:10
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Problems when building for Android | dcmtk-3.6.1_2015021

Well, I thought it was the last modification but after seeing your edit I realized it was that I didn't clear the cache :oops: Now it seems we moved one step farther but I think something else is missing. Anyway here is the log: CMake Error at CMake/GenerateDCMTKConfigure.cmake:776 (MESSAGE): Change...
by julialecat
Tue, 2015-06-23, 10:44
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Problems when building for Android | dcmtk-3.6.1_2015021

Yep, you are absolutely right. No trace of ANDROID_CXX_FLAGS variable in my generated toolchain config file.
by julialecat
Tue, 2015-06-23, 09:33
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Windows 8.1 x64 | CMake 2.8.12.2 with dcmtk-3.6.1_201502

Weird thing is -fPIC option is already set in the toolchain file: # NDK flags if( ARMEABI OR ARMEABI_V7A ) set( ANDROID_CXX_FLAGS "${ANDROID_CXX_FLAGS} -fpic -funwind-tables" ) And of course my ANDROID_ABI variable is set to "armeabi-v7a". Also tried to add this setting in CMakeL...
by julialecat
Mon, 2015-06-22, 15:29
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Windows 8.1 x64 | CMake 2.8.12.2 with dcmtk-3.6.1_201502

Found the fruit googling a simple search :roll: Indeed I was using last NDK available (r10e) and "ANDROID_NATIVE_API_LEVEL" to 21. So first I tried with "ANDROID_NATIVE_API_LEVEL" to 17 without success and then I downloaded NDK r10d which led me to almost the same point: CMake Er...
by julialecat
Mon, 2015-06-22, 09:08
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Re: Windows 8.1 x64 | CMake 2.8.12.2 with dcmtk-3.6.1_201502

Yes, I am trying to build for Android following the instructions you mentioned from http://support.dcmtk.org/redmine/projec ... ileAndroid.
I followed all steps carefully and used the supplied android.toolchain.cmake file in the last nightly build.
So what do you suggest then?
by julialecat
Fri, 2015-06-19, 13:13
Forum: DCMTK - Installation
Topic: Problems when building for Android | dcmtk-3.6.1_20150217
Replies: 29
Views: 44375

Problems when building for Android | dcmtk-3.6.1_20150217

I got exactly the same error at: CMakeLists.txt:45 (INSPECT_FUNDAMENTAL_ARITHMETIC_TYPES) but apparently it is nothing to do with spaces. I am using Linux (Ubuntu 14.04) and have no spaces in the path but anyway I tried what you suggested without success. If it helps, here is my log: CMake Error at ...