I used the tutorial on irrXML's website:
Code: Select all
IrrXMLReader* xml = createIrrXMLReader("../../../config/preferences.xml");
When I compile and test in XCode, the Working directory is where the executable is, and thus this line worked. However, when I run the .app, the Working Directory is set to "/", and I believe that cerateIrrXMLReader doesn't automatically use the relative path (unlike getTexture).
My question is, how do I use the XML reader using relative paths? I want to create the Driver after, because the XML will contain the screen resolution, color depth, etc.
Thanks
