"basePath" cannot be a relative path

Problems building or running the engine, queries about how to use features etc.
Post Reply
SanchezPluz
Gnoblar
Posts: 8
Joined: Mon May 12, 2014 5:57 pm

"basePath" cannot be a relative path

Post by SanchezPluz »

Hello everyone!

I know that this question has been asked repeatedly.

I'm new in OGRE3D. I installed Microsoft Visual Studio 2012 Express, installed OGRE 1.9 SDK(32-bit) and set up a project on this and this links.
But when I build the project, the compiler writes a successful assembly. So, press "F5" and... receive an error: "basePath" cannot be a relative path".
How to solve this problem? I'd like to use engine. :(

I don't want to install OgreAppWizard!!!
User avatar
c6burns
Beholder
Posts: 1512
Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines
x 138

Re: "basePath" cannot be a relative path

Post by c6burns »

Did you put a relative path as the working directory for the debugger?

I don't know why you wouldn't want to use the app wizard, but to each their own. The app wizard will set your working directory to:
$(OGRE_HOME)\Bin\$(Configuration)

The default for a VS project is probably something like:
$(ProjectDir)\$(Configuration)
SanchezPluz
Gnoblar
Posts: 8
Joined: Mon May 12, 2014 5:57 pm

Re: "basePath" cannot be a relative path

Post by SanchezPluz »

The problem was solved. I just wrote the wrong environment variable.
Post Reply