• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

iOS Duplicate Symbol in XCode

Z

Zither

Guest
Hi,

I tried to export XCode project with YYC compiler and I got linking error when I compile.

Code:
duplicate symbol _gs_ret27 in:
   ../gml_Object_obj_player1_Draw_0.gml.o
    ../gml_Object_obj_player2_Create_0.gml.o
In the source code file of .gml file, that variable is defined under
Code:
#ifndef __YYNODEFS
It works fine on windows test mode. Only problem with XCode.
Project with few objects does not occur such problem. It occurs when there are many objects in project.

I am using Game Maker Studio 2.

PS: VM compiler causes crash at the beginning of game loading and cannot use in XCode now.

Thanks
 
Last edited by a moderator:
Top