Ask Your Question

Revision history [back]

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

  • do make a build directory and then change your command to at least cmake -DCMAKE_TOOLCHAIN_FILE=../arm-gnueabi.toolchain.cmake .. without the slash.
  • or just move into your source code directory and do cmake -DCMAKE_TOOLCHAIN_FILE=../arm-gnueabi.toolchain.cmake .