bartoszek / AUR-mve-git

0 stars 0 forks source link

New TBB version can not be found #2

Open strayedelectron opened 2 years ago

strayedelectron commented 2 years ago

I am using Arch and tried to build the mve-git aur package but it fails due to the new TBB version:

CMake Error at elibs/tbb/FindTBB.cmake:187 (file): file failed to open for reading (No such file or directory):

/usr/include/tbb/tbb_stddef.h

Call Stack (most recent call first): CMakeLists.txt:16 (FIND_PACKAGE)

bartoszek commented 2 years ago

I've posted an upstream issue, but it's not a trivial fix as tbb::task was removed in the latest oneTBB release ¯\_(ツ)_/¯ Let's see what's they have to say about it, before start patching on our own. https://github.com/dthuerck/mapmap_cpu/issues/30

dthuerck commented 2 years ago

https://github.com/dthuerck/mapmap_cpu/commit/4614b77690a0d7c5425752209ada218f26de8e38

It's been taken care of - hope that fixes things for you.

strayedelectron commented 2 years ago

Thanks for your effort. Unfortunately still the same error occurs when I build the AUR package. I can only assume that the latest git is not pulled from the PKGBUILD. Error occurs when it starts: ==> build texrecon build-texrecon-err.log

dthuerck commented 2 years ago

Have you installed oneTBB? If so, please remember to set TBB_DIR accordingly, i.e. in CMake for a standard oneTBB installation I've linked to in the mapMAP readme it's set(TBB_DIR "/opt/intel/oneapi/tbb/latest/lib/cmake/tbb/").

dthuerck commented 2 years ago

Hey, I've modified the CMake again (see c5e22bc). After this change, you don't need to have TBB installed, but its necessary parts are build with mapmap automatically. Does that help?