You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuring cmake on ubuntu 24.04 with clang, the check for libbacktrace doesn't seem to work, even when libbacktrace is installed in the default location.
For reference, gcc puts libbacktrace here: /usr/lib/gcc/x86_64-linux-gnu/13/include/backtrace.h
Configuring with clang, we see:
[build] -- Performing Test BOOST_STACKTRACE_HAS_BACKTRACE
[build] -- Performing Test BOOST_STACKTRACE_HAS_BACKTRACE - Failed
This can be corrected by explicitly telling the library where the header resides (the extra escapes are to pass the literal quotes all the way in to the header file as a define):
Even if the check is modified to look somewhere not in the include path, the library would still not compile without passing -DBOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE:
When configuring cmake on ubuntu 24.04 with clang, the check for libbacktrace doesn't seem to work, even when libbacktrace is installed in the default location.
For reference, gcc puts libbacktrace here:
/usr/lib/gcc/x86_64-linux-gnu/13/include/backtrace.h
Configuring with clang, we see:
This can be corrected by explicitly telling the library where the header resides (the extra escapes are to pass the literal quotes all the way in to the header file as a define):
Can the cmake check of BOOST_STACKTRACE_HAS_BACKTRACE be modified to look at the gcc install location?
The text was updated successfully, but these errors were encountered: