Trying to build the latest version I got this error:
[...]
stellarium/src/stellarium-24.3/src/core/modules/SolarSystem.cpp'
In file included from /usr/include/oneapi/tbb/detail/_small_object_pool.h:23,
from /usr/include/oneapi/tbb/detail/_task.h:23,
from /usr/include/oneapi/tbb/parallel_for.h:23,
from /usr/include/tbb/parallel_for.h:17,
from /usr/include/c++/14.2.1/pstl/parallel_backend_tbb.h:25,
from /usr/include/c++/14.2.1/pstl/parallel_backend.h:20,
from /usr/include/c++/14.2.1/pstl/algorithm_impl.h:22,
from /usr/include/c++/14.2.1/pstl/glue_execution_defs.h:50,
from /usr/include/c++/14.2.1/execution:39,
from stellarium/src/stellarium-24.3/src/core/modules/SolarSystem.cpp:51:
/usr/include/oneapi/tbb/profiling.h:229:15: error: expected unqualified-id before ‘)’ token
229 | void emit() { }
Looks like QT's emit
-macro is getting in the way of TBB defining that as a function name.
Wrapping the include in src/core/modules/SolarSystem.cpp
fixes it:
#undef emit
#include <execution>
#define emit
As this seems to be specific to building with TBB, not sure where that should be fixed. Is there even a way to use <execution>
without linking against TBB?
Pinned Comments
carlosal1015 commented on 2022-11-01 05:22 (UTC)
Pre-built binaries of this package and its dependencies can be found in the arch4edu repository.
carlosal1015 commented on 2022-04-02 19:14 (UTC) (edited on 2022-07-07 16:46 (UTC) by carlosal1015)
Important note: Is recommended to receive the following key before to install:
Also is possible skip the verification, adding the flag for (e.g
makepkg
,yay
)--skippgpcheck
,--nopgpfetch
, respectively.