Search found 30 matches

by ashajg
Mon, 2018-11-12, 12:57
Forum: DCMTK - Installation
Topic: Errors during adding dcmtk libs in project
Replies: 1
Views: 3097

Errors during adding dcmtk libs in project

hi guys while adding dcmtk libs in my project i am getting these errors C:\Ashish\QTPROJECT\test\include\dcmtk\ofstd\offile.h:310: error: '::fopen64' has not been declared file_ = :: fopen64(filename, modes); ^ C:\Ashish\QTPROJECT\test\include\dcmtk\ofstd\offile.h:425: error: '::freopen64' has not b...
by ashajg
Fri, 2018-11-09, 11:58
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

Just need to know if this will have an impact on later stage Probably not, but one can't be sure. You will run into problems if you use code that depends on the define and also includes (directly or indirectly) ofstd/ofpwd.h. My guess would be that this is very unlikely, but you cannot be 100% sure...
by ashajg
Fri, 2018-11-09, 11:55
Forum: DCMTK - Installation
Topic: UNDEFINED REFERENCE PROBLEM
Replies: 1
Views: 3485

UNDEFINED REFERENCE PROBLEM

Hi I am trying to add DCMTK libs(for android) in my QT project and getting these errors C:\Ashish\dcmtk-3.6.3\dcmnet\libsrc\dul.cc:383: error: undefined reference to 'signal' vrscanl.c:5453: error: undefined reference to 'stdin' vrscanl.c:5453: error: undefined reference to 'stdout' vrscanl.c:6098: ...
by ashajg
Thu, 2018-11-08, 13:34
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

Sir

this #undef pw_gecos fix worked for me.
26 .so files are created.
Just need to know if this will have an impact on later stage and secondly if you are going to update dcmtk according to this change?
by ashajg
Thu, 2018-11-08, 12:20
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

last time on which ndk version you tried and its been how much time back you tried it?
by ashajg
Thu, 2018-11-08, 11:58
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

ok I ll try this and let you know...

By the way older versions of NDK will work??
by ashajg
Thu, 2018-11-08, 11:51
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

adding this patch will remove this issue?
by ashajg
Thu, 2018-11-08, 11:01
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

Now what i did is just Added a bool entry for HAVE_PASSWD_GECOS in my cmake and kept it unchecked so I got this :

/* Define if passwd::pw_gecos is available */
/* #undef HAVE_PASSWD_GECOS */

in my osconfig.h in build directory....

then again I tried to build it to get the same error.
by ashajg
Thu, 2018-11-08, 10:25
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

So for me now the workaround is to go in osconfig.h in sourcecode of dcmtk and undefine HAVE_PASSWD_GECOS compile it again and then see if it is working....
by ashajg
Thu, 2018-11-08, 08:23
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

ok sir. This is my ANDROID CONFIGURATION ANDROID_ABD_PROGRAM :C:/Users/212715008/AppData/Local/Android/Sdk/platform-tools/adb.exe ANDROID_ANDROID_PROGRAM :C:/Users/212715008/AppData/Local/Android/Sdk/tools/android.bat ANDROID_EMULATOR_AVD :NEXUXDCM ANDROID_EMULATOR_PROGRAM :C:/Users/212715008/AppDat...
by ashajg
Wed, 2018-11-07, 10:38
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

ok Sir What I did now is to change CLANG compiler I set ANDROID_TOOLCHAIN_NAME to arm-linux-androideabi-4.9. After configuring and generating build. I used MSYS and passed mingw32-make command to get this..... $ mingw32-make Scanning dependencies of target ofstd [ 0%] Building CXX object ofstd/libsr...
by ashajg
Wed, 2018-11-07, 06:02
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

I tried with NDK r15c and getting these errors C:\Ashish\dcmtkans>make all [ 0%] Building CXX object ofstd/libsrc/CMakeFiles/ofstd.dir/ofstd.cc.o In file included from C:\Ashish\dcmtk-3.6.3\ofstd\libsrc\ofstd.cc:179: C:\Ashish\dcmtk-3.6.3\ofstd\include\dcmtk/ofstd/ofpwd.h:83:14: error: duplicate mem...
by ashajg
Wed, 2018-11-07, 03:55
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

Hi Sir I noticed that while configuring CMAKE is TAKING CLANG COMPILER ANDROID_PLATFORM not set. Defaulting to minimum supported version 16. Check for working C compiler: C:/android-ndk-r18b/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe Check for working C compiler: C:/android-ndk-r18b/toolc...
by ashajg
Tue, 2018-11-06, 12:33
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

Hi sir CMAKE_CXX_STANDARD_LIBRARIES are set to this: -latomic -lm "C:/android-ndk-r18b/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libc++_static.a" "C:/android-ndk-r18b/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libc++abi.a" "C:/android-ndk-r18b/sources/cxx-stl/llvm-libc+...
by ashajg
Tue, 2018-11-06, 12:12
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 57346

Re: Error while building DCMTK lib for ANDROID

So do I have to change CMAKE_CXX_COMPILER_AR and CMAKE_C_COMPILER_AR ??