Skip to content
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

error:ambiguous tbb #197

Open
will-zzy opened this issue Mar 20, 2022 · 3 comments
Open

error:ambiguous tbb #197

will-zzy opened this issue Mar 20, 2022 · 3 comments

Comments

@will-zzy
Copy link

when I was building the project, I met:
1:

/home/will/soft/mvs-texturing/elibs/mapmap/mapmap/header/color.h:13:42: fatal error: oneapi/tbb/concurrent_vector.h: No such file or directory
 #include <oneapi/tbb/concurrent_vector.h>

I have checked the directory:/usr/include and /usr/local/include, but never find "oneapi" library, even using
$:locate oneapi.
but I have tbb in /usr/include (It maybe come from "sudo apt-get install libtbb-dev libtbb2").
And I found there is no difference between my tbb files' name and oneapi/tbb files' name.
so I tried to delete all "oneapi/" in error files.But here is new error:
error:" tbb::feader" has not been declared.
Then I compared and exactly found there are some difference between them.
2:
So I installed the oneTBB from [https://github.com/oneapi-src/oneTBB].
And now there are three tbb in my environment:/usr/include/tbb(from libtbb),and /usr/local/include/tbb /usr/local/include/oneapi/tbb
And then the lateset error appears:

/home/will/soft/mvs-texturing/elibs/mapmap/mapmap/source/graph.impl.h:58:9 error:reference to 'tbb' is ambigous
tbb::concurrent_vector<complet> * complet_out)

this error also appears after I remove the libtbb(delete /usr/include/tbb).
How can I resolve it? Thanks for a lot.

@marcomiglionico94
Copy link

I am having the same exact issue with #include <oneapi/tbb/concurrent_vector.h>. Not sure on how to solve it @will-zzy

@bkhanal-11
Copy link
Contributor

bkhanal-11 commented Apr 7, 2022

Can you pull latest changes in master and rebuild it? One of the dependecies had its repo updated so there is new changes.

@monschine
Copy link

Any hint on how to solve this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants