|
1、板子是toybrick的板子。
2、yolo demo 是论坛上的下载的,想编译C-yolov3
3、报错 The C compiler "/bin/cc" is not able to compile a simple test program.
4、使用cmake .. -DCMAKE_C_COMPILER=$(which cc)指定编译器,但还是无法解决。指定为gcc也不行。
5、详细log如下:
toybrick@debian10:~/yolov3_demo/C-yolov3/build$ cmake ..
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /bin/cc
CMake Error: Generator: execution of make failed. Make command was: "/bin/gmake" "cmTC_289ef/fast"
-- Check for working C compiler: /bin/cc -- broken
CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/toybrick/yolov3_demo/C-yolov3/build/CMakeFiles/CMakeTmp
Run Build Command:"/bin/gmake" "cmTC_289ef/fast"
No such file or directory
Generator: execution of make failed. Make command was: "/bin/gmake" "cmTC_289ef/fast"
CMake will not be able to correctly generate this project.
-- Configuring incomplete, errors occurred!
|
|