Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

iOS and MacOS / Semantic Issue - Call to 'CreateSprite' is ambiguous in Xcode 4

Author
Message
ThrOtherJoJo
12
Years of Service
User Offline
Joined: 24th Mar 2012
Location: California
Posted: 26th Dec 2012 07:03
These two lines are throwing the above error.

iLoadingTagSprite = agk::CreateSprite(0);
agk::CreateSprite(leqSprite,0);

I'm using ver 1.07 of AGK.
ThrOtherJoJo
12
Years of Service
User Offline
Joined: 24th Mar 2012
Location: California
Posted: 26th Dec 2012 07:29
Ok. I fix that error. Apparently xcode doesn't like agk::CreateSprite(0), but when I used a variable name (agk::CreateSprite(iBlackImg) as the argument it didn't complain anymore.
tornado
18
Years of Service
User Offline
Joined: 21st Jul 2005
Location:
Posted: 27th Dec 2012 23:53 Edited at: 27th Dec 2012 23:57
agk::CreateSprite(uint(0)); worked, seems to be fixed in 1.08

Login to post a reply

Server time is: 2024-04-16 10:56:30
Your offset time is: 2024-04-16 10:56:30