Skip to content

undefined reference to symbol 'cudaSetDevice' #122

@ihg1992

Description

@ihg1992

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~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions