I have followed the instructions according to the documentation on how to build directly on the Raspberry Pi. It states that the build process is similar to the Linux instructions.
http://urho3d.wikia.com/wiki/Build_Urho3D_on_Linux_(GCC)
Instead of using cmake_generic.sh, I used the cmake_rpi.sh to build. When I tried to make in the dev folder, the process reached pretty far, but encountered the following error at 76%
[ 46% ] Built target tolua++
[ 76% ] Built target Urho3D
../../../lib/libUrho3D.a(loslib.c.o): In function 'os_tmpname' :
loslib.c:(.text ox208): warning: the use of 'tmpnam' is dangeUrous, better use 'mkstemp'
../../../lib/libUrho3D.a(loslib.c.o): In function 'Urho3D::Script::Script(Urho3D::Contextx)' :
Script.cpp:(.text 0x2624): undefined reference to 'Urho3D::RegisterInputAPI(asIScriptEnginex)'
Script.cpp:(.text 0x2623c): undefined reference to 'Urho3D::RegisterNextworkAPI(asIScriptEnginex)'
collect2: error: Id returned 1 exit status
Source/Tools/Urho3DPlayer/CMakeFiles/Urho3DPlayer.dir/build.make:92: recipe for target 'bin/Urho3DPlayer' failed
make[2]: xxx [bin/Urho3DPlayer] Error 1
CMakeFiles/MakeFile2:1332: recipe for target 'Source/Tools/Urho3DPlayer/CMakeFiles/Urho3DPlayer.dir/all' failed
make[1]: xxx [Source/Tools/Urho3DPlayer/CMakeFiles/Urho3DPlayer.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: xxx [all] Error 2
If I made a mistake when building on the Pi using cmake_rpi.sh, I am curious as to how I can fix my issue. Should I have just used cmake_generic.sh instead? If so, then what is the proper use of the cmake_rpi.sh?