Irrlicht basics tutorial [Note: HUGE POST]
-
- Posts: 1
- Joined: Tue Mar 03, 2009 9:05 pm
- Location: Canada
sorry for asking this again if it has already been posted but im getting an
error saying. . ...
error C2259: 'MyEventReceiver' : cannot instantiate abstract class
ummmm. . ..any help ???
its on this line in the third chapter:
doing this for a project ... any quick help would be gr8. . thnx.....
btw gr8 tute...
oh yeah one more thing ... u said this code isnt oop .... how could i make an oop code using these basics ???
u no... lyk make my own classes nd functions nd stuff....
error saying. . ...
error C2259: 'MyEventReceiver' : cannot instantiate abstract class
ummmm. . ..any help ???
its on this line in the third chapter:
Code: Select all
MyEventReceiver rv;
device->setEventReceiver(&rv);
btw gr8 tute...
oh yeah one more thing ... u said this code isnt oop .... how could i make an oop code using these basics ???
u no... lyk make my own classes nd functions nd stuff....
-
- Posts: 2
- Joined: Mon May 31, 2010 6:22 am
hello
i started to play around with tut
but...
when i made a cube at the begining
all i got was a black screen
i know for a fact that the cube is where the black
came from
but...
i go to move it away from the camera i got to "vector3df(0,0,7)"
and it disapear?
sorry but im a noob with programing
and can anyone explain?
i started to play around with tut
but...
when i made a cube at the begining
all i got was a black screen
i know for a fact that the cube is where the black
came from
but...
i go to move it away from the camera i got to "vector3df(0,0,7)"
and it disapear?
sorry but im a noob with programing
and can anyone explain?
GameDude wrote:Also, if your using the wxDev-CPP IDE, then you don't need the pragma comment, you can just link to it in the linker options. Just thought I'd put that up as a side note
Code: Select all
#pragma comment(lib, Irrlicht.lib);
So if you follow Project-> Properties-> Linker-> Input, then add Irrlicht.lib to the line in Additional Dependencies, you can remove the #pragma line from your code.
Thought I'd share.