I posted a related topic but this one contains the error messages I got when trying to compile the Zool game from "The Game Maker's Companion"
The GMK is for gamemaker 8.
Here is the Error stuff
^ In file included from SHELLmain.cpp:109:0: C:/ProgramData/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h: In member function 'virtual variant enigma::OBJ_obj_zool::myevent_step()': C:/ProgramData/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:397:34: error: 'MAX_FALL_SPEED' was not declared in this scope vspeed = min((enigma::varargs(), MAX_FALL_SPEED, vspeed)); ^ C:/ProgramData/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:398:41: error: 'MAX_HSPEED' was not declared in this scope hspeed = median((enigma::varargs(), - MAX_HSPEED, hspeed, MAX_HSPEED)); ^ C:/ProgramData/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h: In member function 'virtual variant enigma::OBJ_obj_zool_land::myevent_endstep()': C:/ProgramData/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:803:97: error: 'LIFT_SPEED' was not declared in this scope if((argument_relative = 1, action_if_object(obj_platform, 0, max((enigma::varargs(), speed, LIFT_SPEED + 1))))) ^ C:/ProgramData/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h: In member function 'variant enigma::OBJ_obj_zool_ice::myevent_collision_61()': C:/ProgramData/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_objectfunctionality.h:1644:52: error: 'MAX_DRIFT_SPEED' was not declared in this scope action_set_hspeed(median((enigma::varargs(), - MAX_DRIFT_SPEED, hspeed, MAX_DRIFT_SPEED))); ^ mingw32-make.exe[1]: Leaving directory `C:/ENIGMA/enigma-dev/ENIGMAsystem/SHELL' mingw32-make.exe: *** [Game] Error 2
I am not sure what the problem is. I also noticed simpler GMK files will compile but the results don't behave correctly like music objects not playing music or objects being created in solid tiles. Note the games run fine under gamemaker 8.0. well i didn't try the Zool one but the simple ones run as expected.
Please help me out.
Thanks!
|