You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2014/06/18 04:44:05 UTC
[jira] [Created] (MESOS-1504) mesos.pb.h header include is
problematic.
Benjamin Mahler created MESOS-1504:
--------------------------------------
Summary: mesos.pb.h header include is problematic.
Key: MESOS-1504
URL: https://issues.apache.org/jira/browse/MESOS-1504
Project: Mesos
Issue Type: Bug
Components: build, c++ api
Reporter: Benjamin Mahler
After installing mesos:
{noformat}
$ cat test.cpp
#include <mesos/mesos.hpp>
int main() {
return 0;
}
$ g++ test.cpp -I /usr/local/include
In file included from test.cpp:1:
/usr/local/include/mesos/mesos.hpp:22:10: error: 'mesos.pb.h' file not found with <angled> include; use "quotes" instead
#include <mesos.pb.h> // ONLY USEFUL AFTER RUNNING PROTOC.
^~~~~~~~~~~~
"mesos.pb.h"
In file included from test.cpp:1:
In file included from /usr/local/include/mesos/mesos.hpp:22:
/usr/local/include/mesos/mesos.pb.h:9:10: fatal error: 'google/protobuf/stubs/common.h' file not found
#include <google/protobuf/stubs/common.h>
^
2 errors generated.
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)