×
分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

Could NOT find GFlags (missing: GFLAGS_LIBRARY) lozenyin2022-06-27 20:38:10 回复 2 查看 技术答疑 使用求助 经验交流
Could NOT find GFlags (missing: GFLAGS_LIBRARY)
分享到:

【寒武纪硬件产品型号】:MLU220


【出错信息】:在编译阶段,进行交叉编译【cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/cross-compile.cmake ..】时,出现一下报错

-- Found Threads: TRUE

-- Performing Test COMPILER_SUPPORTS_CXX11

-- Performing Test COMPILER_SUPPORTS_CXX11 - Success

-- Could NOT find GFlags (missing: GFLAGS_LIBRARY)

CMake Error at cmake/FindGFlags.cmake:97 (message):

  gflags not found!

Call Stack (most recent call first):

  work/CMakeLists.txt:31 (include)



-- Configuring incomplete, errors occurred!

image.png【参考配置文档链接】选填

https://www.cambricon.com/docs/cnstream/user_guide_html/index.html


---

已经运行过pre_required_helper.sh脚本,输出如下:

image.png




版权所有 © 2022 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭