{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3330","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3330/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3330/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3330/events","html_url":"https://github.com/tensorflow/tensorflow/issues/3330","id":165813003,"number":3330,"title":"tensorflow based shared library can't link to other project","user":{"login":"qazmichaelgw","id":8761378,"avatar_url":"https://avatars.githubusercontent.com/u/8761378?v=3","gravatar_id":"","url":"https://api.github.com/users/qazmichaelgw","html_url":"https://github.com/qazmichaelgw","followers_url":"https://api.github.com/users/qazmichaelgw/followers","following_url":"https://api.github.com/users/qazmichaelgw/following{/other_user}","gists_url":"https://api.github.com/users/qazmichaelgw/gists{/gist_id}","starred_url":"https://api.github.com/users/qazmichaelgw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qazmichaelgw/subscriptions","organizations_url":"https://api.github.com/users/qazmichaelgw/orgs","repos_url":"https://api.github.com/users/qazmichaelgw/repos","events_url":"https://api.github.com/users/qazmichaelgw/events{/privacy}","received_events_url":"https://api.github.com/users/qazmichaelgw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-15T15:23:36Z","updated_at":"2016-07-15T18:14:29Z","closed_at":null,"body":"Problem:\r\nI create a project in tensorflow/tensorflow/my_project. Then create a library by cc_library of bazel. I can compile it and create the library. For example, test.a, test.so in tensorflow/bazel-bin/my_project. But if I use the library in another project by linking it. It would raise a problem of finding the header file.\r\n```\r\nfatal error: tensorflow/core/framework/graph.pb.h: No such file or directory\r\n```\r\ntest.h:\r\n```\r\n#include \"tensorflow/core/framework/graph.pb.h\"\r\n#include \"tensorflow/core/framework/tensor.h\"\r\n#include \"tensorflow/core/public/session.h\"\r\n#include \"tensorflow/core/platform/env.h\"\r\n\r\nblabla...\r\n```"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/233027085","html_url":"https://github.com/tensorflow/tensorflow/issues/3330#issuecomment-233027085","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3330","id":233027085,"user":{"login":"jmchen-g","id":15792374,"avatar_url":"https://avatars.githubusercontent.com/u/15792374?v=3","gravatar_id":"","url":"https://api.github.com/users/jmchen-g","html_url":"https://github.com/jmchen-g","followers_url":"https://api.github.com/users/jmchen-g/followers","following_url":"https://api.github.com/users/jmchen-g/following{/other_user}","gists_url":"https://api.github.com/users/jmchen-g/gists{/gist_id}","starred_url":"https://api.github.com/users/jmchen-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmchen-g/subscriptions","organizations_url":"https://api.github.com/users/jmchen-g/orgs","repos_url":"https://api.github.com/users/jmchen-g/repos","events_url":"https://api.github.com/users/jmchen-g/events{/privacy}","received_events_url":"https://api.github.com/users/jmchen-g/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T18:14:29Z","updated_at":"2016-07-15T18:14:29Z","body":"@martinwicke Do you know what is the recommended way to do such thing?"}}
{"actor":{"display_login":"jmchen-g"}}