tillt / xcode-mesos

Xcode Workspace for Apache Mesos
Apache License 2.0
15 stars 10 forks source link

mesos.proto file not found (error in "import mesos/mesos.proto") #3

Open guoger opened 8 years ago

guoger commented 8 years ago

I followed readme and tried to build in Xcode, got this error:

mesos/mesos.proto: File not found.
messages.proto: Import "mesos/mesos.proto" was not found or had errors.
messages.proto:45:12: "TaskID" is not defined.
messages.proto:46:12: "FrameworkID" is not defined.
messages.proto:47:12: "ExecutorID" is not defined.
messages.proto:48:12: "SlaveID" is not defined.
messages.proto:49:12: "TaskState" is not defined.
messages.proto:50:12: "Resource" is not defined.
messages.proto:51:12: "TaskStatus" is not defined.
messages.proto:56:12: "TaskState" is not defined.
...

I tried to add $MESOS_HOME/include/mesos to header search path but got no luck. Build from command line works find. Could you point out what might be wrong? Thanks!

xiaods commented 8 years ago

I also came across this issue. @tillt could you do me a favor?

xiaods commented 8 years ago

it seems missing config $MESOS_HOME/include/mesos/mesos.proto, let me try.

xiaods commented 8 years ago

$(PROJECT_DIR)/../include/mesos also add in XCODE search path, there are not found the header also