1 | initial version |
Here is quite the nice guide on cross compiling OpenCV 3 on Raspberri Pi. As to your code, you are probably not in the folder with the source code, because there is no CMakeLists.txt.
Either
cmake -DCMAKE_TOOLCHAIN_FILE=../arm-gnueabi.toolchain.cmake ..
without the slash.cmake -DCMAKE_TOOLCHAIN_FILE=../arm-gnueabi.toolchain.cmake .