Hi Lenin,
it has to be generated somewhere while building the package.
I made it work by removing "/usr/lib/x86_64-linux-gnu/libcublas_device.a;" from
the IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE properties of caffe in line 11.
Or alternatively the following fix in CMakeLists.txt:
find_package(Caffe)
if(Caffe_FOUND)
find_package(CUDA)
if(CUDA_FOUND)
if((CUDA_VERSION VERSION_GREATER "10.0") OR (CUDA_VERSION VERSION_EQUAL
"10.0"))
get_target_property(${PROJECT_NAME}_libraries caffe
IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE)
list(REMOVE_ITEM ${PROJECT_NAME}_libraries
"/usr/lib/x86_64-linux-gnu/libcublas_device.a")
set_target_properties(caffe PROPERTIES
IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE
"${${PROJECT_NAME}_libraries}"
)
endif()
endif()
endif()
Many greetings,
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1812522
Title:
libcaffe-cuda-dev does not work with CUDA 10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/caffe-contrib/+bug/1812522/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs