Basic Problems

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
rodmc
Posts: 3
Joined: Sat Mar 06, 2004 12:37 pm

Basic Problems

Post by rodmc »

I've installed the software and am using Kdevelop but keep getting problems with the very first tutorial so that it wont compile. I've attached the only error I get below

main.cpp:50: error: `SetMaterialFlag' undeclared (first use this function)

I also get a series of warning in the .h files which come with Irrlicht and the following message as well:

main.cpp:26: warning: ignoring #pragma comment

The Irrlicht.h file is included at the start and the libraries appear in the project browser so I assume everything is there.

Any pointers welcome.

Rod
IT Public Relations and Usability Consultant
Tels
Posts: 65
Joined: Fri Feb 27, 2004 7:56 pm
Location: Antarctica
Contact:

Re: Basic Problems

Post by Tels »

rodmc wrote:I've installed the software and am using Kdevelop but keep getting problems with the very first tutorial so that it wont compile. I've attached the only error I get below

main.cpp:50: error: `SetMaterialFlag' undeclared (first use this function)

I also get a series of warning in the .h files which come with Irrlicht and the following message as well:

main.cpp:26: warning: ignoring #pragma comment

The Irrlicht.h file is included at the start and the libraries appear in the project browser so I assume everything is there.

Any pointers welcome.

Rod
The second warning you can ignore, it is from the "lib" pragma comment and this is ignored by gcc/g++.

I don't know about the first one. Can you give us more details, settings etc? maybe post some screenshots. Which KDevelop version do you use? Did you install the Irrlicht header files somewhere (I put them in "/usr/local/include/Irrlicht")

best wishes,

Tels
Perl + Irrlicht + Audiere = Game: http://bloodgate.com/perl/game
Post Reply