Game Development Community

Getting Started

by Martin Clancy · in General Game Discussion · 09/18/2003 (9:54 am) · 3 replies

I have just bought the engine and want to start a new project and am unable to. I have started a new win32 console application and copied the 'getting started example'. But when I compile the program I get 40 link errors. Here are some of them. Can anyone help me please?

test.obj : error LNK2001: unresolved external symbol "public: bool __thiscall OS_Device::CreateWindow(class WINDOW_DETAILS const &)" (?CreateWindow@OS_Device@@QAE_NABVWINDOW_DETAILS@@@Z)

test.obj : error LNK2001: unresolved external symbol "public: __thiscall WINDOW_DETAILS::WINDOW_DETAILS(void)" (??0WINDOW_DETAILS@@QAE@XZ)

test.obj : error LNK2001: unresolved external symbol "public: int __thiscall RE_IO::IO_INI::GetString(char const *,char const *,char const *,char *,int,char const *)" (?GetString@IO_INI@RE_IO@@QAEHPBD00PADH0@Z)

test.obj : error LNK2001: unresolved external symbol "public: bool __thiscall OS_Device::GetCommandLineArgument(int,char *)const " (?GetCommandLineArgument@OS_Device@@QBE_NHPAD@Z)

test.obj : error LNK2001: unresolved external symbol "public: void __thiscall OS_Device::HandleAssert(char *,char *,int)" (?HandleAssert@OS_Device@@QAEXPAD0H@Z)

test.obj : error LNK2001: unresolved external symbol "class OS_Device * Device_OS" (?Device_OS@@3PAVOS_Device@@A)

test.obj : error LNK2001: unresolved external symbol "class RE_IO::IO_INI * RE_IO::Device_Ini" (?Device_Ini@RE_IO@@3PAVIO_INI@1@A)

test.obj : error LNK2001: unresolved external symbol "public: void __thiscall OS_Device::SetFrameRate(double)" (?SetFrameRate@OS_Device@@QAEXN@Z)

test.obj : error LNK2001: unresolved external symbol "public: long __thiscall RE_GFX::GFX_Device::InitGFXMode(void)" (?InitGFXMode@GFX_Device@RE_GFX@@QAEJXZ)

test.obj : error LNK2001: unresolved external symbol "public: int __thiscall RE_GFX::GFX_Device::Insert(class RE_GFX::GFX_Render_Object *)" (?Insert@GFX_Device@RE_GFX@@QAEHPAVGFX_Render_Object@2@@Z)

About the author

Recent Threads

  • Camera rotation

  • #1
    09/18/2003 (5:42 pm)
    You have to add the Reaction Engine and Direct X libraries to your linker command line.

    Have a look in the example projects compile settings. In VC6, under the link tab, will be the libraries. Remember to set them for release and debug.

    Also, games for the Reaction Engine should be win32 application, not a console app.

    T.
    #2
    09/21/2003 (1:03 am)
    Thanks, that was a big help.
    Martin
    #3
    09/23/2003 (8:15 am)
    Thanks for catching this Tom.

    Good luck Martin