Bit of an idiot question. - Root directories

I'm trying to load a texture for a game I'm working on using the Irrlicht API. I'm using Code::Blocks IDE with GCC compiler.

 
platform->setMaterialTexture(0,cdriver->getTexture("/media/platform.png"));


This seems more like a general C++ question, so I guess I'd ask here. I have a media folder with platform.png in my project directory, and in my bin/Debug (not Release, yet) directory. However, my console outputs that the file can't be found in said directory.


Thanks!

-UglyIgloo
Topic archived. No new replies allowed.