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

undefined reference to symbol 'cudaSetDevice' #122

Open
ihg1992 opened this issue Mar 20, 2019 · 0 comments
Open

undefined reference to symbol 'cudaSetDevice' #122

ihg1992 opened this issue Mar 20, 2019 · 0 comments

Comments

@ihg1992
Copy link

ihg1992 commented Mar 20, 2019

when I compile my c++ program with import libcaffe.so,it occur this :py-R-FCN/caffe/build/lib/libcaffe.so: undefined reference to symbol 'cudaSetDevice' /usr/local/cuda/lib64/libcudart.so.8.0: error adding symbols: DSO missing from command line .
has tried many ways ,but can't solve it .can you help me ,thanks so much~~

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