Compiling for the raspberry pi has proven to be a problem. It keeps throwing this error
./cmake_generic.sh: line 30: /home/rahul/Documents/3dGraph/.bash_helpers.sh: No such file or directory
CMake Error at CMake/Toolchains/RaspberryPi.cmake:81 (message):
Could not find Raspberry Pi cross compilation tool. Use RPI_PREFIX
environment variable or build option to specify the location of the
toolchain.
for reference, my environment variables are as follows: RPI_PREFIX=/home/rahul/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/bin
RPI_SYSROOT=/home/rahul/rpi-sysroot
I tried using this:
But the prefix path specified above does not exist; it doesn’t point to a folder, but the bin folder does point to a folder with a bunch of files starting with arm-linux-gnueabihf.
I’m guessing the SYSROOT works because it threw that error first but after setting the variable it stopped.
I did download rpi-sysroot and I compiled crosstool-ng for ARM processors, though I did not use that compiled folder because I had no idea where to point the variable from that folder (named x-tools)
The RPI CI on Travis is setup as per document in the link above. The CI works as expected. You can use the .travis.yml at the root of Urho source tree as a guide to quickly get your development environment setup. HTH.
I’m sorry. I don’t know what you mean by that. I tried looking for .travis.yml everywhere and couldn’t find it (looked in repos and in my Linux VM). Am I missing a file? Is this file Urho source the RPI_PREFIX environment variable? Also is the link above the one I posted, because I don’t know what you mean by that. Sorry if this is annoying.
So, do I add that to where my project is and then build using the cmake_rpi.sh script? Or do I somehow run the .yml file? No idea how to use the travis.config file either. Is there anywhere I can find how to run or use the file?
EDIT: Figured out how to use Travis, but now it wants a Rakefile and I don’t know what that is nor can I get any info on it
No, you can’t run the file directly (as far as I know) but you can find a lot of useful stuff there - basically a bunch of commands that you can run to get your build up and running