中国 · 南京 · 栖霞区紫东路2号紫东国际创意园B3-2幢5F
+86-18994094214 (仅工作日:8:30~17:30)
contact@oakchina.cn

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

View Categories

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

< 1 min read

报错提示:

执行以下命令: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)

解决方法:

网络问题,需要翻墙。

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