「解决」Linux 下 cmake 编译源码报错
Closed this issue · 1 comments
BackMountainDevil commented
版本信息
- cmake:3.22.3-1
- tensorflow : 1.15.0 cpu
$ riscv64-unknown-elf-gcc --version
riscv64-unknown-elf-gcc (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
错误信息
$ cmake .. –DPROJ=hello_world –G "MinGW Makefiles"
CMake Error: The source directory "/home/kearney/Downloads/k210/Yolo-for-k210/seasky_yolo/build/MinGW Makefiles" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
$ cmake .. –DPROJ=hello_world
CMake Error: The source directory "/home/kearney/Downloads/k210/Yolo-for-k210/seasky_yolo/build/–DPROJ=hello_world" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
BackMountainDevil commented
纯属第二次cmake没有先清除build
cd seasky_yolo
rm build -r
mkdir build && cd build
cmake .. -DPROJ=hello_world