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 / Xcode compiler errors with AGK v108 beta 9

Author
Message
Steve O
AGK Bronze Backer
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: The Netherlands
Posted: 26th Mar 2013 01:13
When i try to compile and run the ios_interpreter project that comes with AppGameKit v108 beta 9 in Xcode 4.6.1 with a Tier 1 bytecode.byc file and other media i get the following errors when trying to run in the iPhone Simulator(i386) as well as on a device(armv7):


Am I missing something?

Appify Media - http://www.appifymedia.com
SopiSoft Digital Entertainment - http://www.sopisoft.com
Steve O
AGK Bronze Backer
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: The Netherlands
Posted: 26th Mar 2013 01:55 Edited at: 26th Mar 2013 01:57
It turned out the library search path of the Debug Build Configuration was pointing to libAGKiOS.a in the Debug folder first, but that lib has not been modified since january 2nd 2013, but the libAGKiOS.a in the Release folder has been modified last on march 23 2013, so it did contain all the missing methods in my post above.

The problem did not occur when running the Release Build Config since it is pointing to the updated libAGKiOS.a file in the Release folder first.

One more thing was needed though, I had to add the following line of code after the #ifdef AGKIOS macro:

strcpy ( g_pInterpreterByteCodeFile, "bytecode.byc" );

Appify Media - http://www.appifymedia.com
SopiSoft Digital Entertainment - http://www.sopisoft.com
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 7th May 2013 07:46
In the new version the debug is not more present.
I always used the release version.

Long life to Steve!

Login to post a reply

Server time is: 2024-11-21 13:55:57
Your offset time is: 2024-11-21 13:55:57