• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

 [SOLVED] YYC Compile Error When Using Fonts.

Ubu

Member
After creating a font, I get this error message when compiling to YYC:

E:/PROGRAMMING/GameMakerStudio2/__Cache/Mages_7160A9AA/Mages/default/Scripts/gml_Object_oLevel_Draw_64.gml.cpp:50:63: error: use of undeclared identifier 'kVARID_self_font_0'
YYRValue& sself_font_0 = ((CInstanceBase*)pSelf)->GetYYVarRef(kVARID_self_font_0);
^
1 error generated.
Stats : GMA : Elapsed=1670.6198
Stats : GMA : sp=7,au=0,bk=0,pt=0,sc=0,sh=0,fo=1,tl=0,ob=3,ro=1,da=0,ex=0,ma=4,fm=0x10008001092000A0

It works fine when compiling to VM.

Note: I have Visual Studio 14 installed.
 

rwkay

GameMaker Staff
GameMaker Dev.
Try cleaning the project and recompiling... that should fix it

Russell
 
  • Like
Reactions: Ubu
Top