Forum:Can't compile xex files

I tried to compile the 'hello world' script, but the linker keeps giving me problems. These errors come up:

Error 1 error LNK2019: unresolved external symbol "public: virtual void __cdecl ATG::Console::Format(char const *,...)" (?Format@Console@ATG@@UAAXPBDZZ) referenced in function "void __cdecl init(void)" (?init@@YAXXZ) world.obj Error 2 error LNK2019: unresolved external symbol "public: long __cdecl ATG::Console::Create(char const *,unsigned long,unsigned long,unsigned int)" (?Create@Console@ATG@@QAAJPBDKKI@Z) referenced in function "void __cdecl init(void)" (?init@@YAXXZ) world.obj Error 3 error LNK2019: unresolved external symbol "public: static struct ATG::GAMEPAD * __cdecl ATG::Input::GetMergedInput(unsigned long,unsigned long *)" (?GetMergedInput@Input@ATG@@SAPAUGAMEPAD@2@KPAK@Z) referenced in function main world.obj Error 4 error LNK2019: unresolved external symbol "public: __cdecl ATG::Console::Console(void)" (??0Console@ATG@@QAA@XZ) referenced in function "void __cdecl `dynamic initializer for 'g_console(void)" (??__Eg_console@@YAXXZ) world.obj  Error 5 error LNK2019: unresolved external symbol "public: __cdecl ATG::Console::~Console(void)" (??1Console@ATG@@QAA@XZ) referenced in function "void __cdecl `dynamic atexit destructor for 'g_console(void)" (??__Fg_console@@YAXXZ) world.obj  Error 6 fatal error LNK1120: 5 unresolved externals Debug\world.exe