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

Error Running sh make.sh #106

Open
sinamlk opened this issue Jan 29, 2020 · 7 comments
Open

Error Running sh make.sh #106

sinamlk opened this issue Jan 29, 2020 · 7 comments

Comments

@sinamlk
Copy link

sinamlk commented Jan 29, 2020

Hello,

I am a beginner deep learning and trying to follow the guiding steps. However, when I try to run sh make.sh, I get a lot of warning messages like the followings:

/home/sinamlk/anaconda3/envs/tf-gpu-cuda8/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1288): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/sinamlk/anaconda3/envs/tf-gpu-cuda8/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.

1 error detected in the compilation of "/tmp/tmpxft_000024cf_00000000-6_average_distance_loss_op_gpu.cu.cpp1.ii".
g++: error: average_distance_loss_op_gpu.cu.o: No such file or directory
average_distance_loss

1 error detected in the compilation of "/tmp/tmpxft_000024d9_00000000-6_hough_voting_gpu_op.cu.cpp1.ii".
g++: error: hough_voting_gpu_op.cu.o: No such file or directory
hough_voting_gpu_layer
In file included from hough_voting_op.cc:25:0:
ransac.h:31:10: fatal error: nlopt.hpp: No such file or directory
#include <nlopt.hpp>
compilation terminated.
hough_voting_layer

and at the end, I get the following error message:

/usr/bin/ld: cannot find -ltensorflow_framework
collect2: error: ld returned 1 exit status
build computing label layer

Can someone please help me with this? I really need and appreciate your help.

@Lin1225
Copy link

Lin1225 commented Feb 9, 2020

@sinamlk
did you solve it ?

@Ixion46
Copy link

Ixion46 commented May 12, 2020

Did anybody know how to solve this please?

@dhruvsasuke
Copy link

Did anyone solve it yet?

@520xyxyzq
Copy link

@renjiahao0928
Copy link

Same errors,did anybody know how to solve this error?

@sophiewitt
Copy link

I have the same error: /usr/bin/ld: cannot find -ltensorflow_framework
collect2: error: ld returned 1 exit status
build computing label layer

Can anybody help?

@aee-aee
Copy link

aee-aee commented Nov 8, 2022

using tensorflow > 2.0 I changed "-ltensorflow_framework" for "-fPIC" in make.sh

The build didn't show that error again but still running the demo.

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

8 participants