For windows, the cmake's Ogre search path is defined as this:
Code: Select all
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ENV_OGRE_HOME}/CMake)
So the environment variable name is "OGRE_HOME". You said that you use a source version, that's not the problem, I always use sources versions. But the message give me a good idea about your problem, especially this line:
Code: Select all
Search path: x:/kenshi/ogre_src_v1-7-1/
It seems that you setted your OGRE_HOME environment variable to "x:/kenshi/ogre_src_v1-7-1/" instead of "x:/kenshi/ogre_src_v1-7-1/
sdk", where sdk is the directory where Ogre's files goes when you do the "INSTALL" build in Ogre (I'm pretty sure that you forgot to do that, it's the equivalent of gcc "make install"). I do not remember the default "install" dir, maybe it's something like "Program Files\Ogre\...", you'll have to check your
OGRE CMAKE configuration.
I wish I was clear enough
If you don't succeed, I'll post my cmake generated sln file, but you'll have to change all the directories
...