CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler
"/home/odroid/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-g++" is
not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/odroid/src/Firmware/build/px4_fmu-v3_default/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_b270d"
[1/2] Building CXX object CMakeFiles/cmTC_b270d.dir/testCXXCompiler.cxx.obj
FAILED:
/home/odroid/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-g++ -o
CMakeFiles/cmTC_b270d.dir/testCXXCompiler.cxx.obj -c testCXXCompiler.cxx
/home/odroid/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-g++: 1:
/home/odroid/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-g++:
ELF: not found
/home/odroid/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-g++: 1:
/home/odroid/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-g++:
Syntax error: Unterminated quoted string
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:263 (project)
-- Configuring incomplete, errors occurred!
See also "/home/odroid/src/Firmware/build/px4_fmu-v3_default/CMakeFiles/CMakeOutput.log".
See also "/home/odroid/src/Firmware/build/px4_fmu-v3_default/CMakeFiles/CMakeError.log".
Error: /home/odroid/src/Firmware/build/px4_fmu-v3_default is not a directory
Makefile:200: recipe for target 'px4_fmu-v3' failed
make: *** [px4_fmu-v3] Error 1
Я следовал обучающему дрон-коду , и я застрял на этапе создания программного обеспечения px4. Я загрузил программное обеспечение для сборки ниндзя, а также скачал и обновил компилятор gcc. Я не могу понять, что здесь происходит не так.