Hi guys I need some enlightenment here.
Trying to install Urho3D on macOS 10.13 High Sierra without success.
My steps:
- Mkdir an empty project folder:
- Make a bin folder inside the project root folder and copied folders (CoreData and Data into bin)
- Copied the tutorial CMakeLists.txt inside project root folder
- Set system environment variables. I tried both to STATIC and SHARED versions on .bash_profile file:
export URHO3D_HOME=~/dev/c++/Urho3D/Urho3D-1.7.1-macOS-64bit-<STATIC or SHARED>
Try to compile the CMakeLists.txt in CLion IDEA but not recognise URHO3D_HOME. So I got:
“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.”
Then I tried to specified URHO3D_HOME by myself in CMakeLists.txt using:
# Set URHO3D_HOME
set(ENV{URHO3D_HOME} ~/dev/c++/Urho3D/Urho3D-1.7.1-macOS-64bit-STATIC)
message("URHO3D_HOME: $ENV{URHO3D_HOME}")
I got another error related to regex compiled. I have no clue what is going on and how to make it works. It do not find the URHO3D_HOME. I also have marked define_source_files () but it even reach that because there is no valid URHO3D.
Please, guys, help me out here.
Thanks in advance.