[Solved]Class error

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Alx101
Posts: 15
Joined: Sat Feb 11, 2012 7:04 pm

[Solved]Class error

Post by Alx101 »

I keep getting this error when i try to add a custom camera:

Code: Select all

C:\Project\main.cpp|107|error: expected primary-expression before '->' token|
and here is the code

Code: Select all

 
        ICameraSceneNode* camera;
        camera = ControllableCamera->addControllableCamera();
 
Tell me if you need the source to the camera class.
Alx101
Posts: 15
Joined: Sat Feb 11, 2012 7:04 pm

Re: Class error

Post by Alx101 »

Solved it!
Post Reply