Really dumb question

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
RRain
Posts: 5
Joined: Sun Apr 06, 2008 8:39 pm

Really dumb question

Post by RRain »

Ok I have actually been using the engine for a little while now and even after searching I still cannot find the answer to my question. Everytime I try and compile things with

"using namespace irr" I get an error even though irrlicht.h is in my include directory.

How do I solve my problem?

thanks
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

What's the error and what's the exact code you use?

And do you have #include <irrlicht.h> before using namespace irr?
Image Image Image
twilight17
Posts: 362
Joined: Sun Dec 16, 2007 9:25 pm

Post by twilight17 »

make sure its after #include <irrlicht.h> and #pragma comment(lib, "irrlicht.lib") if you use it.
Post this userbar I made on other websites to show your support for Irrlicht!
Image
http://img147.imageshack.us/img147/1261 ... wernq4.png
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Re: Really dumb question

Post by rogerborg »

RRain wrote:How do I solve my problem?
Your core problem is dealt with comprehensively here.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Post Reply