This is the line that fails:
Code: Select all
CEGUI::SchemeManager::getSingleton().loadScheme("../../data/guires/schemes/TaharezLook.scheme");
My app is two levels below the directory holding data/.....
I am running in the debugger but that shouldn't matter. Also,
I tried using an absolute path C:.... and that didn't work either.
Any suggestions? I'm sure this is a pretty basic oversight on my part.
UPDATE:
Upon further debugging it seems its this line:
Code: Select all
std::ifstream dataFile(filename.c_str(), std::ios::binary|std::ios::ate);
Inside ceguidefaultresourceprovider.cpp at line 60 that is failing.
So its failing in trying to load the GUIScheme.xsd file that I guess is implicitly loaded before trying to load my requested TaharezLook.scheme file..
Hope that helps in helping me I'm not sure why it loads for the DX9 sample but not for my app.
UPDATE 2:
I just noticed that the same thing happens when running the DX9 demo, it does fail, I forgot that I have been able to run the DX9 demo by just running the prebuilt binary which does not have any problems. That is very werid, since I imagine they are the same right?