How can I use Urho in MSVC 2015 as static linking?
I download windows prebuild STATIC 64bit, create project with msvc and add include headers, library, and set up linker with Urho3D.lib
copy-paste first project and build. I got lot errors about missing SDL input headers.
Then I found there some tutorial for set up project in Wiki and download Urho3d-master. It looks easy but following steps are not complete (set up path for urho is missing) and there is old link to 1.6 version. 1.7 is written little differently and there different CMakeLists.txt code.
And in documentation there is written it is for external library. I don’t know what it means, as DLL?
After all i try follow documentation and got this error:
CMake Error at CMake/Modules/FindUrho3D.cmake:346 (message):
Could NOT find compatible Urho3D library in Urho3D SDK installation or
build tree. Use URHO3D_HOME environment variable or build option to
specify the location of the non-default SDK installation or build tree.
Ensure the specified location contains the Urho3D library of the requested
library type.
Call Stack (most recent call first):
CMake/Modules/UrhoCommon.cmake:231 (find_package)
CMakeLists.txt:21 (include)
I tried set up URHO3D_HOME variable in windows, but without effect. On google I found this:
# set(URHO3D_HOME "c:/pathTo/Urho3D-master-BUILD")
I change it to
set(URHO3D_HOME "d:/MyPathTo/Urho 3d/Urho3D-master-BUILD")
but without succes.
Can I set up project only with msvc or I need it with CMake?