sei

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Compile of OpenCV 3.1 for Raspberry Pi fails #7665
    sei
    Participant

    I am running an evaluation of GDB and trying to cross compile opencv3.1 for the Raspberry Pi on a Windows 10, 64bit machine using Visual Studio 2015 Community Edition.  cmake is version 3.4.3

    I have successfully followed the camera test tutorial so the Visual Studio/VisualGDB installation seems to be alright.

    The errors occur when trying to build at step 8 – ABI info seems to be the problem.
    1> — The CXX compiler identification is GNU 4.9.2
    1> — The C compiler identification is GNU 4.9.2
    1> — Check for working CXX compiler: C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-g++.exe
    1> — Check for working CXX compiler: C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-g++.exe — works
    1> — Detecting CXX compiler ABI info
    1> — Detecting CXX compiler ABI info – failed
    1> — Detecting CXX compile features
    1> — Detecting CXX compile features – done
    1> — Check for working C compiler: C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-gcc.exe
    1> — Check for working C compiler: C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-gcc.exe — works
    1> — Detecting C compiler ABI info
    1> — Detecting C compiler ABI info – failed
    1> — Detecting C compile features
    1> — Detecting C compile features – done
    1> CMake Error at CMakeLists.txt:107 (message):
    1> CMake fails to deterimine the bitness of target platform.
    1>
    1> Please check your CMake and compiler installation. If you are crosscompiling then ensure that your CMake toolchain file correctly sets the compiler details.

     

     

Viewing 1 post (of 1 total)