Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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~~

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

No branches or pull requests

1 participant