GLBasic forum

Main forum => GLBasic - en => Topic started by: Warwick on 2014-Sep-11

Title: Undefined symbols for SETFONT and ALLOWESCAPE in iPhone build after upgrade
Post by: Warwick on 2014-Sep-11
G'day,

Since upgrading from GLBasic 12.096 to 12.312, I'm getting some error messages when I attempt to build an iPhone project in Xcode.

Code (glbasic) Select
Undefined symbols for architecture armv7:
"__GLBASIC__::ALLOWESCAPE(int)"
"__GLBASIC__::SETFONT(int, float)"


I've made no changes to my project since upgrading, and if I downgrade back to 12.096 then it works fine again.

Does anyone know what might be happening here? I tried specifying two parameters for SETFONT rather than one, but it didn't make any difference.

Thanks,

Warwick
Title: Re: Undefined symbols for SETFONT and ALLOWESCAPE in iPhone build after upgrade
Post by: spacefractal on 2014-Sep-11
make sure to delete libGLBasiciPhone-egl.a and libpng-gf.a in distribute\iPhone\XCode\Lib.
Title: Re: Undefined symbols for SETFONT and ALLOWESCAPE in iPhone build after upgrade
Post by: Warwick on 2014-Sep-11
Thanks! That fixed it.