-
Notifications
You must be signed in to change notification settings - Fork 74.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bazel target to create C++ library headers #3536
Comments
@martinwicke is this addressed in any planned build system changes? |
No |
Is the target |
The .proto files are not compiled to .pb.h files when I build the
|
@hillegass Sorry, I misunderstood your requirement. |
My fault. The headers were, indeed, in the python directory. (For other lost people, on a Mac the include directory is |
Quick follow up note for others: A couple of the important headers (especially those related to sessions) are not in that include directory, so you will need to copy them from the source tree:
|
Heads-up: there is a dedicated |
Thanks to the
//tensorflow:libtensorflow.so
target, I can now build a shared library that I can use in my C++ programs. I want to install that library in/usr/local/lib
and put the headers for it in/usr/local/include
, but there is no target to build and install those headers. In particular, building the library doesn't build the headers from the proto files, so I haveerror_codes.proto
, but noterror_codes.pb.h
, so I can't even use the source directory for the headers.The text was updated successfully, but these errors were encountered: