I am trying to build Urho3D with one of the provided scripts.
This is command I’m using:
.\cmake_mingw.bat Build -DURHO3D_OPENGL=1 -DURHO3D_WIN32_CONSOLE=1
and the response:
CMake Deprecation Warning at CMakeLists.txt:31 (cmake_policy):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:35 (cmake_policy):
The OLD behavior for policy CMP0063 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Error at CMake/Modules/FindDirectX.cmake:84 (message):
Could not find MinGW system root. Use MINGW_SYSROOT environment variable
or build option to specify the location of system root.
Call Stack (most recent call first):
CMake/Modules/UrhoCommon.cmake:470 (find_package)
CMakeLists.txt:45 (include)
-- Configuring incomplete, errors occurred!
See also "D:/Gamedev/Urho3D/Build/CMakeFiles/CMakeOutput.log".
Please help!