【28】执行以下命令 cmake -H. -Bbuild 就卡着一直不动了

报错提示:
执行以下命令

cmake -H. -Bbuild

就卡着一直不动了

root@nx:/work/06-oak/my_oak/depthai-core-v2.17.4# cmake -H. -Bbuild
-- Generating new toolchain...
-- Using toolchain file: /work/06-oak/my_oak/depthai-core-v2.17.4/build/generated/toolchain.cmake
-- The CXX compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Setting build type to 'Release' as none was specified.
-- Found Git: /usr/bin/git (found version "2.17.1")
DEBUGGit root dir (128):
DEBUGDepthAI as downloaded sources: ON
-- [hunter] Calculating Toolchain-SHA1
-- [hunter] Calculating Config-SHA1
-- [hunter] HUNTER_ROOT: /root/.hunter
-- [hunter] [ Hunter-ID: cb0ea1f | Toolchain-ID: 08f9145 | Config-ID: 66f7275 ]
-- [hunter] NLOHMANN_JSON_ROOT: /root/.hunter/_Base/cb0ea1f/08f9145/66f7275/Install (ver.: 3.9.1)

解决方法:
网络问题,需要翻墙。

小技巧:如出现下载卡住、下载很慢等情况,请检查网络哦。部分下载地址是在国外的,需要科学上网才行。

其他常见报错:
请查看


OAK中国
| OpenCV AI Kit在中国区的官方代理商和技术服务商
| 追踪AI技术和产品新动态

戳「+关注」获取最新资讯↗↗

猜你喜欢

转载自blog.csdn.net/oakchina/article/details/127220468
今日推荐