That got rid of that error, and brought a new one
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.
Change Dir: /home/rahul/Documents/3dGraph/work/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_3da6f/fast"
/usr/bin/make -f CMakeFiles/cmTC_3da6f.dir/build.make
CMakeFiles/cmTC_3da6f.dir/build
make[1]: Entering directory
'/home/rahul/Documents/3dGraph/work/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_3da6f.dir/CheckUrhoLibrary.cpp.o
/home/rahul/Documents/3dGraph/rpi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++
--sysroot=/home/rahul/Documents/3dGraph/rpi-sysroot -DURHO3D_STATIC_DEFINE
-I/home/rahul/Urho3D/include
-Wl,-rpath-link,"/home/rahul/Documents/3dGraph/rpi-sysroot/opt/vc/lib"
-Wl,-rpath-link,"/home/rahul/Documents/3dGraph/rpi-sysroot/usr/lib/arm-linux-gnueabihf":"/home/rahul/Documents/3dGraph/rpi-sysroot/lib/arm-linux-gnueabihf"
-o CMakeFiles/cmTC_3da6f.dir/CheckUrhoLibrary.cpp.o -c
/home/rahul/Documents/3dGraph/CMake/Modules/CheckUrhoLibrary.cpp
Linking CXX executable cmTC_3da6f
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3da6f.dir/link.txt
--verbose=1
/home/rahul/Documents/3dGraph/rpi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++
--sysroot=/home/rahul/Documents/3dGraph/rpi-sysroot
-Wl,-rpath-link,"/home/rahul/Documents/3dGraph/rpi-sysroot/opt/vc/lib"
-Wl,-rpath-link,"/home/rahul/Documents/3dGraph/rpi-sysroot/usr/lib/arm-linux-gnueabihf":"/home/rahul/Documents/3dGraph/rpi-sysroot/lib/arm-linux-gnueabihf"
CMakeFiles/cmTC_3da6f.dir/CheckUrhoLibrary.cpp.o -o cmTC_3da6f -rdynamic
/home/rahul/Urho3D/lib/libUrho3D.a
/home/rahul/Urho3D/lib/libUrho3D.a: error adding symbols: File format not
recognized
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_3da6f.dir/build.make:98: recipe for target 'cmTC_3da6f'
failed
make[1]: *** [cmTC_3da6f] Error 1
make[1]: Leaving directory
'/home/rahul/Documents/3dGraph/work/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_3da6f/fast' failed
make: *** [cmTC_3da6f/fast] Error 2
Call Stack (most recent call first):
CMake/Modules/UrhoCommon.cmake:238 (find_package)
CMakeLists.txt:21 (include)
-- Configuring incomplete, errors occurred!
See also "/home/rahul/Documents/3dGraph/work/CMakeFiles/CMakeOutput.log".
See also "/home/rahul/Documents/3dGraph/work/CMakeFiles/CMakeError.log".
Relevant environment variables: URHO3D_HOME=/home/rahul/Urho3D
I thought it may have been that my Urho3D hadnt been compiled for the raspi, but when I tried doing that, this happened
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find Broadcom VideoCore firmware (missing: VIDEOCORE_LIBRARIES
VIDEOCORE_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
CMake/Modules/FindVideoCore.cmake:39 (find_package_handle_standard_args)
CMake/Modules/UrhoCommon.cmake:158 (find_package)
CMakeLists.txt:45 (include)
-- Configuring incomplete, errors occurred!
See also "/home/rahul/Urho3D/CMakeFiles/CMakeOutput.log".
See also "/home/rahul/Urho3D/CMakeFiles/CMakeError.log".