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
cmake faied #3
Comments
Hi Vincent630, did you solve this error? I run into the same problem... please help, thank you |
if (NOT TARGET ${DST}) |
Go to the following directory in libtorch you installed, "libtorch/share/cmake/Caffe2/public". Open "utils.cmake", on line #16, change that line to if (NOT TARGET ${DST}) |
Thanks @CalvinPaean |
it seems you reference the lib of libtorch and that makes this error ,but i am not sure how to fix this issue ,can you give me some help about this and i wil appreciate it.
CMake Error at /home/suning/libtorch/share/cmake/Caffe2/public/utils.cmake:16 (add_library):
add_library cannot create target "torch_library" because another target
with the same name already exists. The existing target is an interface
library created in source directory
"/home/suning/libtorch-yolov3-deepsort-master/detection". See
documentation for policy CMP0002 for more details.
The text was updated successfully, but these errors were encountered: