-
Notifications
You must be signed in to change notification settings - Fork 978
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
My Cmake can't find TBB::tbb and TBB::tbbmalloc #1277
Comments
@tanmayd26 do you have reproducer steps? I am mostly interested in CMakelists.txt. Did you use |
Yes here,
|
I got some extra analysis done. I added a message to print the location and yes it knows that tbb is here in this location.
|
@tanmayd26 that is interesting. Could you please provide more details of your environment: TBB package used for installation and OS? It seems like you are using TBB 2020 based on the name of |
CMake Error: The source directory "/home/tanmay/--debug-find" does not exist. I ran this: |
@tanmayd26 you can use |
|
@tanmayd26 it is hard to tell what went wrong. It seems to me that this is an environment issue. Could you provide more details on your environment (TBB package used, OS, etc)? And could you please rerun your |
`CMake Error at autorally/autorally_core/src/StateEstimator/CMakeLists.txt:14 (add_executable):
Target "StateEstimator" links to target "TBB::tbb" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at autorally/autorally_core/src/StateEstimator/CMakeLists.txt:14 (add_executable):
Target "StateEstimator" links to target "TBB::tbbmalloc" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
`
I have it installed here:
/usr/lib/x86_64-linux-gnu/libtbbmalloc_proxy.so
/usr/lib/x86_64-linux-gnu/libtbbmalloc.so
/usr/lib/x86_64-linux-gnu/libtbb.so.2
/usr/lib/x86_64-linux-gnu/libtbbmalloc.so.2
/usr/lib/x86_64-linux-gnu/libtbbmalloc_proxy.so.2
/usr/lib/x86_64-linux-gnu/libtbb.so
`
libtbbmalloc_proxy.so.2 (libc6,x86-64) => /lib/x86_64-linux-gnu/libtbbmalloc_proxy.so.2
libtbbmalloc_proxy.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libtbbmalloc_proxy.so
libtbbmalloc.so.2 (libc6,x86-64) => /lib/x86_64-linux-gnu/libtbbmalloc.so.2
libtbbmalloc.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libtbbmalloc.so
libtbb.so.2 (libc6,x86-64) => /lib/x86_64-linux-gnu/libtbb.so.2
libtbb.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libtbb.so
`
Can anyone help been struggling to get a working solution.
The text was updated successfully, but these errors were encountered: