so i try to refresh back what i'd learned about irrlicht.
i opened dev-c++ 4.9.9.2, and started to write codes which are similar to irrlicht hello world tutorial. but when i tried to compile... i got this error:
these 2 lines... obviously no error? i'd checked a few times, by referring to the hello world tutorial.In function `int main()':
`ISceneManager' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function it appears in.)
`smgr' undeclared (first use this function)
`IGUIEnvironment' undeclared (first use this function)
`guienv' undeclared (first use this function)
[Build Error] [main.o] Error 1
Code: Select all
ISceneManager* smgr = device->getSceneManager();
IGUIEnvironment* guienv = device->getGUIEnvironment();
and at the top of my script, i had included the header file
#include <irrlicht.h>
i have no idea what is going wrong.
i remember few months ago it worked.