0

我正在使用本机代码(使用 JNI)开发一个 android 应用程序。

我尝试在eclipse中构建我的c项目并得到这个错误:

/Users/e/MyWorkspace/Client/src/android/java/jni/../../../protobuf/w/inbox.pb-c.h:6:42: fatal error: g/protobuf-c/protobuf-c.h: No such file or directory

这是收件箱.pb-ch:6:42:

    /* Generated by the protocol buffer compiler.  DO NOT EDIT! */

    #ifndef PROTOBUF_C_inbox_2eproto__INCLUDED
    #define PROTOBUF_C_inbox_2eproto__INCLUDED

42:    #include <g/protobuf-c/protobuf-c.h>

    PROTOBUF_C_BEGIN_DECLS

用mac的索引搜索我看到这个文件存在。

这很奇怪,因为它在几个小时前突然停止工作,而我没有接触这个文件。

我该如何解决这个问题?

4

0 回答 0