Problem with installing Ogre sdk?

前端 未结 2 1971
不思量自难忘°
不思量自难忘° 2021-02-10 22:35

I\'m new to Ogre and tried to run the first tutorial, but I have faced a problem getting the error message

OGRE EXCEPTION(6:FileNotFoundException): \'res

2条回答
  •  闹比i
    闹比i (楼主)
    2021-02-10 22:56

    CMake is critical for building the ogre sdk from source - I would not try to configure the installation yourself. If you are using the prebuilt sdk, cmake is probably unnecessary.

    As far as your error goes, it happens to be that you are trying to load resources from the resources.cfg. I am unaware of your operating system, however, be sure that your resources.cfg is in the same directory as your binary. If you are using MSVC and running it through the debugger, make sure your working directory (found in Project Properties -> Debugging -> Working Directory) is set to the directory of your executable.

提交回复
热议问题