Errors when trying to compile code.

Started by MrHello, 03 July 2013, 02:50:19

MrHello

Trying out TGUI for the first time after being dissapointed with SFGUI and its issues with rendering.

Getting these errors, any obvious reason why?

1>main.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall tgui::Group::~Group(void)" (??1Group@tgui@@UAE@XZ) referenced in function "public: virtual __thiscall tgui::Gui::~Gui(void)" (??1Gui@tgui@@UAE@XZ)
1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall tgui::Group::setGlobalFont(class sf::Font const &)" (?setGlobalFont@Group@tgui@@QAEXABVFont@sf@@@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall tgui::Gui::Gui(class sf::RenderWindow &)" (??0Gui@tgui@@QAE@AAVRenderWindow@sf@@@Z) referenced in function _main
1>C:\CplusplusProjects\SpaceInvaders - Copy\Debug\Starter.exe : fatal error LNK1120: 3 unresolved externals


MrHello

Lulz, damnit. I forgot to add tgui-s-d.lib to the linker -_-. Amateur hour.