Open
Description
I've fought with this all morning and couldn't get it to build. I think I've exhausted my C++ abilities.
Here are the changes I've made to CMakeList.txt just to get this far:
diff --git i/CMakeLists.txt w/CMakeLists.txt
index fac7f81..c2f4702 100644
--- i/CMakeLists.txt
+++ w/CMakeLists.txt
@@ -30,6 +30,8 @@ project(
VERSION ${UEBERZUGPP_VERSION})
add_executable(ueberzug)
+add_compile_options(-ftemplate-depth=2048)
+
option(ENABLE_X11 "Enable X11 canvas." ON)
option(ENABLE_XCB_ERRORS "Enable useful logging of XCB errors." OFF)
option(ENABLE_WAYLAND "Enable wayland canvas" OFF)
@@ -84,7 +86,7 @@ endif()
find_package(spdlog QUIET)
if(NOT spdlog_FOUND)
- set(SPDLOG_FMT_EXTERNAL ON)
+ set(SPDLOG_FMT_EXTERNAL OFF)
FetchContent_Declare(
spdlog
URL https://github.com/gabime/spdlog/archive/refs/tags/v1.14.1.tar.gz)
@@ -95,15 +97,7 @@ if(FC_LIBS)
FetchContent_MakeAvailable(${FC_LIBS})
endif()
-find_package(range-v3 QUIET)
-if(NOT range-v3_FOUND)
- FetchContent_Declare(
- range-v3
- URL https://github.com/ericniebler/range-v3/archive/refs/tags/0.12.0.tar.gz)
- FetchContent_Populate(range-v3)
- add_subdirectory(${range-v3_SOURCE_DIR} ${range-v3_BINARY_DIR}
- EXCLUDE_FROM_ALL)
-endif()
+find_package(range-v3 REQUIRED)
if(ENABLE_OPENGL)
target_compile_definitions(ueberzug PRIVATE ENABLE_OPENGL)
I made the change for range-v3 to try using the version installed via apk
(range-v3-dev-0.12.0-r0)
What happens when I try to build is I get a recursive loop with the following output:
/usr/include/meta/meta.hpp:1509:37: error: '_t' was not declared in this scope; did you mean '_v'?
1509 | F<F<F<F<F<F<F<F<F<F<_t<S>, T0>, T1>, T2>, T3>, T4>, T5>, T6>, T7>,
T8>, T9>;
I tried altering meta.hpp (before I made the CMakeList.txt change, editing from the build/_dep
directory) but no luck.
Any ideas on how I can get this to build?
Edit to add: GCC version gcc (Alpine 14.2.0) 14.2.0
Metadata
Metadata
Assignees
Labels
No labels