mvs-texturing
mvs-texturing copied to clipboard
error:ambiguous tbb
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.
I am having the same exact issue with #include <oneapi/tbb/concurrent_vector.h>
. Not sure on how to solve it @will-zzy
Can you pull latest changes in master and rebuild it? One of the dependecies had its repo updated so there is new changes.
Any hint on how to solve this ?