I am a beginner to using Irrlicht and game programming in general and am now studying tutorial 1 from the Irrlicht website. The software I use is Visual C++ 2005.
I followed the tutorial's steps but the compiler gave errors saying that it cant recognise the Irrlicht's namespaces and identifiers.
What I did is to create an empty project in vc++ 2005, then add a .cpp source file to the project.
I followed the tutorial's steps like setting up the IDE (set up the lib and header directories) and following the code step by step. Below is the code snippet which is added before the main function. The compiler is unable to recognise the namespaces below and all the subsequent identifiers in the main function.
#include <irrlicht.h>
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
#pragma comment(lib,"Irrlicht.lib")
What is the cause of the errors?