Error while building DCMTK lib for ANDROID

Compilation and installation of DCMTK

Moderator: Moderator Team

Message
Author
ashajg
Posts: 30
Joined: Thu, 2018-10-11, 11:10

Re: Error while building DCMTK lib for ANDROID

#46 Post by ashajg » Thu, 2018-11-08, 13:34

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?

Jan Schlamelcher
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 293
Joined: Mon, 2014-03-03, 09:51
Location: Oldenburg, Germany

Re: Error while building DCMTK lib for ANDROID

#47 Post by Jan Schlamelcher » Thu, 2018-11-08, 14:43

ashajg wrote: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.
ashajg wrote:If you are going to update dcmtk according to this change?
I think I will add some code as I posted before that #undefines pw_gecos inside ofpwd.h and defines it back to pw_passwd afterwards as this should be the most robust solution.

ashajg
Posts: 30
Joined: Thu, 2018-10-11, 11:10

Re: Error while building DCMTK lib for ANDROID

#48 Post by ashajg » Fri, 2018-11-09, 11:58

Jan Schlamelcher wrote:
ashajg wrote: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.
ashajg wrote:If you are going to update dcmtk according to this change?
I think I will add some code as I posted before that #undefines pw_gecos inside ofpwd.h and defines it back to pw_passwd afterwards as this should be the most robust solution.
OK sir

Thank you very much for help :D

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest