Cześć, posiadam Visual Studio 2013 Ultimate i przy kompilowaniu tego kodu:
#include <irrlicht.h>
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
int main()
{
IrrlichtDevice * device = createDevice( EDT_OPENGL, core::dimension2d < u32 >(800, 600),
32, false, false, false, 0);
video::IVideoDriver * video = device->getVideoDriver();
scene::ISceneManager * menage = device->getSceneManager();
menage->addCameraSceneNode(0, vector3df(0, 30, -40), vector3df(0, 5, 0));
while (device->run())
{
video->beginScene(true, true, video::SColor(255, 0, 10, 200));
menage->drawAll();
video->endScene();
}
device->drop();
return 0;
}
Wyrzuca mi to:
1>------ Build started: Project: Irrlicht engine, Configuration: Debug Win32 ------
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>C:\Users\Filip.ACER\Documents\Cpp\Projekty\Irrlicht engine\Debug\Irrlicht engine.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Czy ktoś z was może wie czemu tak się dzieje ??? Próbuje to skonfigurować od tygodnia i za nic w świecie mi się nie udaje :C