linker problemer - muligvis noget directx
er igang med advanced 2d game development, hvor man laver en game engine.har fået lavet core engine, og skal nu have det compilet. men får nogle linker errors
Linking...
Advanced2D.obj : error LNK2019: unresolved external symbol "bool __cdecl game_init(struct HWND__ *)" (?game_init@@YA_NPAUHWND__@@@Z) referenced in function "public: int __thiscall Advanced2D::Engine::Init(int,int,int,bool)" (?Init@Engine@Advanced2D@@QAEHHHH_N@Z)
Advanced2D.obj : error LNK2019: unresolved external symbol "void __cdecl game_update(void)" (?game_update@@YAXXZ) referenced in function "public: void __thiscall Advanced2D::Engine::Update(void)" (?Update@Engine@Advanced2D@@QAEXXZ)
Advanced2D.obj : error LNK2019: unresolved external symbol "void __cdecl game_end(void)" (?game_end@@YAXXZ) referenced in function "public: void __thiscall Advanced2D::Engine::Close(void)" (?Close@Engine@Advanced2D@@QAEXXZ)
Timer.obj : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: __thiscall Advanced2D::Timer::Timer(void)" (??0Timer@Advanced2D@@QAE@XZ)
winmain.obj : error LNK2019: unresolved external symbol "bool __cdecl game_preload(void)" (?game_preload@@YA_NXZ) referenced in function _WinMain@16
c:\Documents and Settings\due\Dokumenter\Visual Studio 2008\Projects\Engine\msvc8\Advanced2D\Advanced2D\..\lib\Advanced2D.lib : fatal error LNK1120: 5 unresolved externals
Build log was saved at "file://c:\Documents and Settings\due\Dokumenter\Visual Studio 2008\Projects\Engine\msvc8\Advanced2D\Advanced2D\Debug\BuildLog.htm"
Advanced2D - 6 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
kan i give nogle ideer til hva det kan være.
så kan jeg måske ledes i den rigtige retning