Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • VisualDL
  • Issue
  • #439

V
VisualDL
  • 项目概览

PaddlePaddle / VisualDL
大约 2 年 前同步成功

通知 89
Star 4655
Fork 642
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 10
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 2
  • Wiki 5
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
V
VisualDL
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 10
    • Issue 10
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 2
    • 合并请求 2
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 5
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 4月 28, 2018 by saxon_zh@saxon_zhGuest

Build fail with error 'google/protobuf/stubs/common.h' file not found on MacOS

Created by: higis927

OS version: System Version: macOS 10.13.2 (17C88) Kernel Version: Darwin 17.3.0 Python version: 2.7.10 cmake version: 3.11.0 protoc version: 3.5.1 gcc version: Apple LLVM version 9.0.0 (clang-900.0.39.2) It failed with the error during running 'python setup.py build as following. It seemes it does not find google/protobuf/text_format.h. However, there is indeed google/protobuf/text_format.h in gcc system include library.

Errors: Building CXX object visualdl/storage/CMakeFiles/binary_record.dir/binary_record.cc.o In file included from /Users/amy.sy/code/VisualDL/visualdl/storage/binary_record.cc:15: In file included from /Users/amy.sy/code/VisualDL/visualdl/storage/binary_record.h:22: /Users/amy.sy/code/VisualDL/visualdl/utils/filesystem.h:18:10: fatal error: 'google/protobuf/text_format.h' file not found #include <google/protobuf/text_format.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[2]: *** [visualdl/storage/CMakeFiles/binary_record.dir/binary_record.cc.o] Error 1 make[1]: *** [visualdl/storage/CMakeFiles/binary_record.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... ^Cinterrupted make[2]: *** [third_party/eigen3/src/extern_eigen3-stamp/extern_eigen3-download] Interrupt: 2 make[1]: *** [CMakeFiles/extern_eigen3.dir/all] Interrupt: 2 make: *** [all] Interrupt: 2

my gcc system library: ls -alt /usr/local/include/google/protobuf/text_format.h -rw-r--r--@ 1 root admin 24051 4 28 17:48 /usr/local/include/google/protobuf/text_format.h

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/VisualDL#439
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7