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
Build opencv with cuda error : /usr/bin/ld: cannot find -ltrue #19794
Comments
it seems can not find libtrue.so file... but i googled so long, didnt find any lib have sth to do with that.. |
You have googled wrong instructions. Problem comes from here. |
|
Dear lingcong-k, can you tell me how you solved this problem? I met the same error : /usr/bin/ld: cannot find -ltrue. I haven't solved it yet. This problem has bothered me for a long time. :( Thanks. |
Has a solution to this been reached by anyone |
It is indeed due to -DCUDA_nppicom_LIBRARY=true. Try -DCUDA_nppicom_LIBRARY=false, you'd get an error that goes "/usr/bin/ld: cannot find -lfalse". In my case, as I don't have to have CUDA involved, I simply "switch it off" by adding -DWITH_CUDA:BOOL="0" to the cmake command. And it worked. Hopefully this is helpful. |
Hello, I'm having the same problem as you! Have you solved it? I was really stuck for a long time |
|
The information filled in here may not be 'true' or 'false', but rather the path to a file |
Hi, I am trying to build opencv with cuda support in dockerfile together with other stuff.
But no matter what version of opencv, I always have the following error:
**My environment is:
am using this pytorch container image nvcr.io/nvidia/pytorch:20.12-py3
(I have to use an pytorch container image in order to comply with other stuff)
cuda 11.1.1
python 3.8
ubuntu 20.04
Conda
more detailed info here: https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel_20-12.html#rel_20-12
The cmake outputs looks pretty fine for me (except for one warning):
the command am using is:
Can someone please help, being stuck for 2 days ;( Thanks
The text was updated successfully, but these errors were encountered: