problem with debug symbols

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
diegoribas
Posts: 8
Joined: Fri Nov 13, 2009 2:08 pm

Post by diegoribas »

I'm trying to compile irrlicht in debug mode with codeblocks and mingw.

I have one error:

crtdbg.h : No such file or directory.

If add the search path for visual studio include directories I have many other errors.

If I comment the code that requires this header Can I have any problems?

CrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF | _CRTDBG_ALLOC_MEM_DF);

Any suggestions?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Please don't post to largely unrelated threads if you have simple compiler problems. I've split your posting from the (also *very* old) thread.
Your problem is simply a missing define you need to add to the compiler flags if you don't use the provided project/makefiles. IIRC it's -DWIN32
Post Reply