【问题标题】:Build protobuf-c, libprotobuf-c, for mbed LPC1768 arm-none-eabi-g++为 mbed LPC1768 arm-none-eabi-g++ 构建 protobuf-c、libprotobuf-c
【发布时间】:2015-04-17 23:48:31
【问题描述】:

我正在尝试为 mbed 平台构建 libprotobuf-c,但 ./configure 设置存在一些问题。我想我需要更多编译标志,但不确定要包括什么。任何帮助将非常感激。谢谢!

./configure arm-none-eabi --disable-protoc

【问题讨论】:

  • 您收到了哪些错误消息?
  • 配置:警告:您应该使用 --build、--host、--target ... 检查 arm-none-eabi-gcc ... arm-none-eabi-gcc 检查是否C 编译器工作...没有配置:错误:在/Users/edward/c/protobuf-c-1.1.1': configure: error: C compiler cannot create executables See config.log' 了解更多详情

标签: c++ c embedded mbed protobuf-c


【解决方案1】:

只是将 protobuf-c.h/c 文件直接包含到我的项目中。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-05-01
    • 2020-07-16
    • 1970-01-01
    • 1970-01-01
    • 2017-03-24
    • 1970-01-01
    相关资源
    最近更新 更多