DCMTK and appstore

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
ali.m.habib
Posts: 85
Joined: Sun, 2010-12-26, 17:34

DCMTK and appstore

#1 Post by ali.m.habib »

Hi ,
I submitted my application that use dcmtk to appstore , but it has been rejected for the following reason

Our system has determined your app is using private or undocumented APIs:
Private Symbol References
isinf


do any one have any resolution or explanation for that

Michael Onken
DCMTK Developer
Posts: 2049
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#2 Post by Michael Onken »

Hi,

it seems that you (or DCMTK) uses functions from the Android libraries that are not available for Application use so you are just not permitted to use them. This could be maybe since they are not exepected to be stable over the next Android releases or there might be other reasons.

Best regards,
Michael

Per
Posts: 99
Joined: Mon, 2007-09-03, 10:53
Location: Trondheim, Norway
Contact:

#3 Post by Per »

s/Android/iPhone/g

isinf() is C99, which Apple should support, but they have a long history of slight incompatibilities with these macros. (Don't ask - I don't want to remember.) So I suggest you ask Apple.

ali.m.habib
Posts: 85
Joined: Sun, 2010-12-26, 17:34

#4 Post by ali.m.habib »

Per wrote:s/Android/iPhone/g

isinf() is C99, which Apple should support, but they have a long history of slight incompatibilities with these macros. (Don't ask - I don't want to remember.) So I suggest you ask Apple.
so how to avoid it in building and work with DCMTK

ali.m.habib
Posts: 85
Joined: Sun, 2010-12-26, 17:34

#5 Post by ali.m.habib »

i wanna know where exactly this isinf is used in which classes and can we avoid using any of these classes , i wanna know whether it's used in imaging libraries for example or is it used in all classes ?

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

#6 Post by J. Riesmeier »

Maybe, it's too obvious, but since you have the complete source code: Why don't you just search for "isinf"? Then you'll also see that isinf() is only used if HAVE_ISINF is defined ...

eshwar.ramesh
Posts: 15
Joined: Tue, 2012-08-07, 08:30

Re: DCMTK and appstore

#7 Post by eshwar.ramesh »

Since you asked this question, may I know how you worked around it because I have a similar issue with the iOS store.

I have tried excluding isinf with undef

I guess it goes something like this -->

Code: Select all

#undef HAVE_ISINF
or within comments like this -->

Code: Select all

/* #undef HAVE_ISINF */
and also like this -->

Code: Select all

#define HAVE_ISINF 0 
Not working.

eshwar.ramesh
Posts: 15
Joined: Tue, 2012-08-07, 08:30

Re: DCMTK and appstore

#8 Post by eshwar.ramesh »

Also I need to know about any side effects of removing the presence of isinf from ofstd.cc. Anything?

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest