Hi I’ve been trying to get a project up and running all night but I cant get it to work.
I’ve been following the “Building Urho3D” to build the Urho3D engine and samples. Then I’ve continued with the “Using Urho3D as external library”.
Everything has been fine untill I come to the CMake configure step.
My source is /home/marcus/Dev/Urho3d/build
and my target build is /home/marcus/Dev/Urho3dSandbox
my source is built from the Urho3Ds repository which i’ve stored at /home/marcus/Dev/Urho3d/rep
The error I’m getting when trying to configure with CMake is “CMake Error: The source directory “/home/marcus/Dev/Urho3d/build” does not appear to contain CMakeLists.txt.”
Should I add this CMakeLists.txt manually or should this file have been generated from the previous step when I was building the Urho3D engine? Isn’t the CMake configure supposed to use the CMakeLists.txt file in target which are shown in the “Using Urho3D as external library” documentation? When I tried to put the CMakeLists.txt in the source folder (instead of the target) the configure works, but then when trying to generate it throws another error: “CMake Error: Cannot determine link language for target “SandboxExec”.”. I managed to get this fixed by adding the main.cpp into the source folder but then the project setup is becomes completely wrong.
I’m new here and I’ve tried to find answers for this issue but haven’t found any and I hope I can get some help from you guys.
I’m using Ubuntu 16 if that helps.
Best regards.