Skip to content
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

/bin/ld: cannot find -ltensorflow_framework #3

Open
anjugopinath opened this issue Nov 6, 2021 · 0 comments
Open

/bin/ld: cannot find -ltensorflow_framework #3

anjugopinath opened this issue Nov 6, 2021 · 0 comments

Comments

@anjugopinath
Copy link

anjugopinath commented Nov 6, 2021

I edited the file tf_interpolate_compile.sh inside the folder UniGrasp/point_set_selection/pointnet4/tf_ops/3d_interpolation

TF1.4

g++ -std=c++11 tf_interpolate.cpp -o tf_interpolate_so.so -shared -fPIC -I /s/red/a/nobackup/vision/anju/UniGrasp/unigrasp_pvenv/lib/python3.6/site-packages/tensorflow/include -I /usr/local/cuda/9.1/include -I/s/red/a/nobackup/vision/anju/UniGrasp/unigrasp_pvenv/lib/python3.6/site-packages/tensorflow/include/external/nsync/public -lcudart -L /usr/local/cuda/9.1/lib64/ -L/s/red/a/nobackup/vision/anju/UniGrasp/unigrasp_pvenv/lib/python3.6/site-packages/tensorflow -ltensorflow_framework -O2 -D_GLIBCXX_USE_CXX11_ABI=0

On executing the command sh tf_interpolate_compile.sh I am getting an error:
(unigrasp_pvenv) mercury:/s/red/a/nobackup/vision/anju/UniGrasp/UniGrasp/point_set_selection/pointnet4/tf_ops/3d_interpolation$ sh tf_interpolate_compile.sh
tf_interpolate.cpp: In lambda function:
tf_interpolate.cpp:29:44: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::WithRank(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
c->WithRank(c->input(0), 3, &dims1);
^
In file included from tf_interpolate.cpp:8:
/s/red/a/nobackup/vision/anju/UniGrasp/unigrasp_pvenv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:394:10: note: declared here
Status WithRank(ShapeHandle shape, int64 rank,
^~~~~~~~
tf_interpolate.cpp:31:44: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::WithRank(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result]
c->WithRank(c->input(1), 3, &dims2);
^
In file included from tf_interpolate.cpp:8:
/s/red/a/nobackup/vision/anju/UniGrasp/unigrasp_pvenv/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:394:10: note: declared here
Status WithRank(ShapeHandle shape, int64 rank,
^~~~~~~~
/bin/ld: cannot find -ltensorflow_framework
collect2: error: ld returned 1 exit status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant