CHollingworth / Lampray

Linux Application Modding Platform. A native Linux mod manager.
https://www.nexusmods.com/baldursgate3/mods/2169
The Unlicense
174 stars 16 forks source link

Can't Build #117

Open Mement0Mori opened 8 months ago

Mement0Mori commented 8 months ago

So I can't build this. I thought I did it right. I'll copy and paste my terminal. I'm not sure what to do.

Terminal Window ❯ git clone https://github.com/CHollingworth/Lampray.git Cloning into 'Lampray'... remote: Enumerating objects: 1355, done. remote: Counting objects: 100% (478/478), done. remote: Compressing objects: 100% (239/239), done. remote: Total 1355 (delta 314), reused 319 (delta 229), pack-reused 877 Receiving objects: 100% (1355/1355), 8.47 MiB | 1.07 MiB/s, done. Resolving deltas: 100% (670/670), done. ❯ cd Lampray ❯ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S ./ -B ./Build -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.0") -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/darwin/Lampray/Build ❯ cd Build ❯ ninja [2/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Filesystem/lampUpdate.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Filesystem/lampUpdate.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Filesystem/lampUpdate.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Filesystem/lampUpdate.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Filesystem/lampUpdate.cpp.o -c /home/darwin/Lampray/Lampray/Filesystem/lampUpdate.cpp In file included from /home/darwin/Lampray/Lampray/Filesystem/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:10, from /home/darwin/Lampray/Lampray/Filesystem/lampUpdate.cpp:4: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 145 | std::array<std::vector<std::string>, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~~~~~ [3/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Control/lampConfig.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Control/lampConfig.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Control/lampConfig.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Control/lampConfig.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Control/lampConfig.cpp.o -c /home/darwin/Lampray/Lampray/Control/lampConfig.cpp In file included from /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Control/../../game-data/gameControl.h:11, from /home/darwin/Lampray/Lampray/Control/lampConfig.h:10, from /home/darwin/Lampray/Lampray/Control/lampConfig.cpp:4: /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 145 | std::array<std::vector<std::string>, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/list:73, from /home/darwin/Lampray/Lampray/Control/lampConfig.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~~~~~ [6/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Filesystem/lampTrack.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Filesystem/lampTrack.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Filesystem/lampTrack.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Filesystem/lampTrack.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Filesystem/lampTrack.cpp.o -c /home/darwin/Lampray/Lampray/Filesystem/lampTrack.cpp In file included from /home/darwin/Lampray/Lampray/Filesystem/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:10, from /home/darwin/Lampray/Lampray/Filesystem/lampTrack.cpp:5: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 145 | std::array<std::vector<std::string>, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /usr/include/c++/13.2.1/stdexcept:39, from /usr/include/c++/13.2.1/system_error:43, from /usr/include/c++/13.2.1/bits/fs_fwd.h:35, from /usr/include/c++/13.2.1/filesystem:48, from /home/darwin/Lampray/Lampray/Filesystem/lampTrack.cpp:4: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~~~~~ [12/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Control/lampControl.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Control/lampControl.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Control/lampControl.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Control/lampControl.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Control/lampControl.cpp.o -c /home/darwin/Lampray/Lampray/Control/lampControl.cpp In file included from /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Control/../../game-data/gameControl.h:11, from /home/darwin/Lampray/Lampray/Control/lampControl.h:10, from /home/darwin/Lampray/Lampray/Control/lampControl.cpp:4: /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 145 | std::array<std::vector<std::string>, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/list:73, from /home/darwin/Lampray/Lampray/Control/lampControl.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~~~~~ [13/23] Building CXX object CMakeFiles/Lampray.dir/game-data/C77/C77.cpp.o FAILED: CMakeFiles/Lampray.dir/game-data/C77/C77.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/game-data/C77/C77.cpp.o -MF CMakeFiles/Lampray.dir/game-data/C77/C77.cpp.o.d -o CMakeFiles/Lampray.dir/game-data/C77/C77.cpp.o -c /home/darwin/Lampray/game-data/C77/C77.cpp In file included from /home/darwin/Lampray/game-data/C77/../../Lampray/Base/lampBase.h:14, from /home/darwin/Lampray/game-data/C77/../gameControl.h:11, from /home/darwin/Lampray/game-data/C77/C77.h:8, from /home/darwin/Lampray/game-data/C77/C77.cpp:5: /home/darwin/Lampray/game-data/C77/../../Lampray/Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 145 | std::array<std::vector<std::string>, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /home/darwin/Lampray/game-data/C77/../gameControl.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/game-data/C77/../../Lampray/Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/game-data/C77/../../Lampray/Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/game-data/C77/../../Lampray/Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/game-data/C77/../../Lampray/Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~~~~~ [14/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Filesystem/lampShare.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Filesystem/lampShare.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Filesystem/lampShare.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Filesystem/lampShare.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Filesystem/lampShare.cpp.o -c /home/darwin/Lampray/Lampray/Filesystem/lampShare.cpp In file included from /home/darwin/Lampray/Lampray/Filesystem/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:10, from /home/darwin/Lampray/Lampray/Filesystem/lampShare.cpp:7: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 145 | std::array<std::vector<std::string>, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~~~~~ [15/23] Building CXX object CMakeFiles/Lampray.dir/game-data/BG3/BG3.cpp.o FAILED: CMakeFiles/Lampray.dir/game-data/BG3/BG3.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/game-data/BG3/BG3.cpp.o -MF CMakeFiles/Lampray.dir/game-data/BG3/BG3.cpp.o.d -o CMakeFiles/Lampray.dir/game-data/BG3/BG3.cpp.o -c /home/darwin/Lampray/game-data/BG3/BG3.cpp In file included from /home/darwin/Lampray/game-data/BG3/../../Lampray/Base/lampBase.h:14, from /home/darwin/Lampray/game-data/BG3/../gameControl.h:11, from /home/darwin/Lampray/game-data/BG3/BG3.h:7, from /home/darwin/Lampray/game-data/BG3/BG3.cpp:6: /home/darwin/Lampray/game-data/BG3/../../Lampray/Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 145 | std::array<std::vector<std::string>, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /usr/include/c++/13.2.1/bitset:52, from /usr/include/c++/13.2.1/regex:40, from /home/darwin/Lampray/game-data/BG3/BG3.cpp:5: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/game-data/BG3/../../Lampray/Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/game-data/BG3/../../Lampray/Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/game-data/BG3/../../Lampray/Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/game-data/BG3/../../Lampray/Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~~~~~ /home/darwin/Lampray/game-data/BG3/BG3.cpp: In member function ‘virtual Lamp::Game::lampReturn Lamp::Game::BG3::deployment()’: /home/darwin/Lampray/game-data/BG3/BG3.cpp:423:1: warning: no return statement in function returning non-void [-Wreturn-type] 423 | } | ^ [16/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Filesystem/lampExtract.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Filesystem/lampExtract.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Filesystem/lampExtract.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Filesystem/lampExtract.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Filesystem/lampExtract.cpp.o -c /home/darwin/Lampray/Lampray/Filesystem/lampExtract.cpp In file included from /home/darwin/Lampray/Lampray/Filesystem/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:10, from /home/darwin/Lampray/Lampray/Filesystem/lampExtract.cpp:6: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 145 | std::array<std::vector<std::string>, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /usr/include/c++/13.2.1/bitset:52, from /usr/include/c++/13.2.1/regex:40, from /home/darwin/Lampray/Lampray/Filesystem/lampExtract.cpp:5: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~~~~~ [17/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Menu/lampMenu.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Menu/lampMenu.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Menu/lampMenu.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Menu/lampMenu.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Menu/lampMenu.cpp.o -c /home/darwin/Lampray/Lampray/Menu/lampMenu.cpp In file included from /home/darwin/Lampray/Lampray/Menu/../Filesystem/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Menu/../Filesystem/lampFS.h:10, from /home/darwin/Lampray/Lampray/Menu/lampMenu.h:9, from /home/darwin/Lampray/Lampray/Menu/lampMenu.cpp:4: /home/darwin/Lampray/Lampray/Menu/../Filesystem/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 145 | std::array<std::vector<std::string>, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /home/darwin/Lampray/Lampray/Menu/../Filesystem/lampFS.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Menu/../Filesystem/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Menu/../Filesystem/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Menu/../Filesystem/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Menu/../Filesystem/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~~~~~ [18/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Filesystem/lampIO.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Filesystem/lampIO.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Filesystem/lampIO.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Filesystem/lampIO.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Filesystem/lampIO.cpp.o -c /home/darwin/Lampray/Lampray/Filesystem/lampIO.cpp In file included from /home/darwin/Lampray/Lampray/Filesystem/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:10, from /home/darwin/Lampray/Lampray/Filesystem/lampIO.cpp:6: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 145 | std::array<std::vector<std::string>, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_map.h:63, from /usr/include/c++/13.2.1/map:63, from /home/darwin/Lampray/Lampray/Filesystem/lampIO.cpp:4: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~~~~~ [19/23] Building CXX object CMakeFiles/Lampray.dir/main.cpp.o FAILED: CMakeFiles/Lampray.dir/main.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/main.cpp.o -MF CMakeFiles/Lampray.dir/main.cpp.o.d -o CMakeFiles/Lampray.dir/main.cpp.o -c /home/darwin/Lampray/main.cpp In file included from /home/darwin/Lampray/Lampray/Lang/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Lang/lampLang.h:12, from /home/darwin/Lampray/main.cpp:4: /home/darwin/Lampray/Lampray/Lang/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 145 | std::array<std::vector<std::string>, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /home/darwin/Lampray/Lampray/Lang/lampLang.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::__cxx11::basic_string<char> >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Lang/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Lang/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Lang/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Lang/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~~~~~ ninja: build stopped: subcommand failed.

System Info (please complete the following information): OS: Manjaro Linux x86_64 Host: ROG Zephyrus G14 GA401QM_GA401QM 1.0 Kernel: 6.1.69-1-MANJARO Uptime: 3 days, 15 hours, 23 mins Packages: 1511 (pacman), 49 (flatpak), 17 (snap) Shell: bash 5.2.21 Resolution: 1920x1080 DE: Plasma 5.27.10 WM: kwin Theme: [Plasma], Sweet [GTK2/3] Icons: Lavender-Dark-Icons [Plasma], Lavender-Dark-Icons [GTK2/3] Terminal: konsole Terminal Font: MesloLGS NF 10 CPU: AMD Ryzen 9 5900HS with Radeon Graphics (16) @ 3.300GHz GPU: NVIDIA GeForce RTX 3060 Mobile / Max-Q GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series Memory: 5987MiB / 15395MiB

CHollingworth commented 8 months ago

This one should of been fixed in the latest push to master, apologies I missed the build failure before pushing.

On Tue, 9 Jan 2024, 07:43 Mement0Mori, @.***> wrote:

So I can't build this. I thought I did it right. I'll copy and paste my terminal. I'm not sure what to do.

Terminal Window ❯ git clone https://github.com/CHollingworth/Lampray.git Cloning into 'Lampray'... remote: Enumerating objects: 1355, done. remote: Counting objects: 100% (478/478), done. remote: Compressing objects: 100% (239/239), done. remote: Total 1355 (delta 314), reused 319 (delta 229), pack-reused 877 Receiving objects: 100% (1355/1355), 8.47 MiB | 1.07 MiB/s, done. Resolving deltas: 100% (670/670), done. ❯ cd Lampray ❯ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S ./ -B ./Build -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info

  • done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.0") -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/darwin/Lampray/Build ❯ cd Build ❯ ninja [2/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Filesystem/lampUpdate.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Filesystem/lampUpdate.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Filesystem/lampUpdate.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Filesystem/lampUpdate.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Filesystem/lampUpdate.cpp.o -c /home/darwin/Lampray/Lampray/Filesystem/lampUpdate.cpp In file included from /home/darwin/Lampray/Lampray/Filesystem/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:10, from /home/darwin/Lampray/Lampray/Filesystem/lampUpdate.cpp:4: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::cxx11::basic_string >, 4>’ 145 | std::array<std::vector, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::cxx11::basic_string >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~ [3/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Control/lampConfig.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Control/lampConfig.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Control/lampConfig.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Control/lampConfig.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Control/lampConfig.cpp.o -c /home/darwin/Lampray/Lampray/Control/lampConfig.cpp In file included from /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Control/../../game-data/gameControl.h:11, from /home/darwin/Lampray/Lampray/Control/lampConfig.h:10, from /home/darwin/Lampray/Lampray/Control/lampConfig.cpp:4: /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::cxx11::basic_string >, 4>’ 145 | std::array<std::vector, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/list:73, from /home/darwin/Lampray/Lampray/Control/lampConfig.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::cxx11::basic_string >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~ [6/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Filesystem/lampTrack.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Filesystem/lampTrack.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Filesystem/lampTrack.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Filesystem/lampTrack.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Filesystem/lampTrack.cpp.o -c /home/darwin/Lampray/Lampray/Filesystem/lampTrack.cpp In file included from /home/darwin/Lampray/Lampray/Filesystem/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:10, from /home/darwin/Lampray/Lampray/Filesystem/lampTrack.cpp:5: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::cxx11::basic_string >, 4>’ 145 | std::array<std::vector, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /usr/include/c++/13.2.1/stdexcept:39, from /usr/include/c++/13.2.1/system_error:43, from /usr/include/c++/13.2.1/bits/fs_fwd.h:35, from /usr/include/c++/13.2.1/filesystem:48, from /home/darwin/Lampray/Lampray/Filesystem/lampTrack.cpp:4: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::cxx11::basic_string >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~ [12/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Control/lampControl.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Control/lampControl.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Control/lampControl.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Control/lampControl.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Control/lampControl.cpp.o -c /home/darwin/Lampray/Lampray/Control/lampControl.cpp In file included from /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Control/../../game-data/gameControl.h:11, from /home/darwin/Lampray/Lampray/Control/lampControl.h:10, from /home/darwin/Lampray/Lampray/Control/lampControl.cpp:4: /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::cxx11::basic_string >, 4>’ 145 | std::array<std::vector, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/list:73, from /home/darwin/Lampray/Lampray/Control/lampControl.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::cxx11::basic_string >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Control/../../game-data/../Lampray/Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~ [13/23] Building CXX object CMakeFiles/Lampray.dir/game-data/C77/C77.cpp.o FAILED: CMakeFiles/Lampray.dir/game-data/C77/C77.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/game-data/C77/C77.cpp.o -MF CMakeFiles/Lampray.dir/game-data/C77/C77.cpp.o.d -o CMakeFiles/Lampray.dir/game-data/C77/C77.cpp.o -c /home/darwin/Lampray/game-data/C77/C77.cpp In file included from /home/darwin/Lampray/game-data/C77/../../Lampray/Base/lampBase.h:14, from /home/darwin/Lampray/game-data/C77/../gameControl.h:11, from /home/darwin/Lampray/game-data/C77/C77.h:8, from /home/darwin/Lampray/game-data/C77/C77.cpp:5: /home/darwin/Lampray/game-data/C77/../../Lampray/Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::cxx11::basic_string >, 4>’ 145 | std::array<std::vector, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /home/darwin/Lampray/game-data/C77/../gameControl.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::cxx11::basic_string >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/game-data/C77/../../Lampray/Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/game-data/C77/../../Lampray/Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/game-data/C77/../../Lampray/Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/game-data/C77/../../Lampray/Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~ [14/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Filesystem/lampShare.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Filesystem/lampShare.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Filesystem/lampShare.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Filesystem/lampShare.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Filesystem/lampShare.cpp.o -c /home/darwin/Lampray/Lampray/Filesystem/lampShare.cpp In file included from /home/darwin/Lampray/Lampray/Filesystem/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:10, from /home/darwin/Lampray/Lampray/Filesystem/lampShare.cpp:7: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::cxx11::basic_string >, 4>’ 145 | std::array<std::vector, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::cxx11::basic_string >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~ [15/23] Building CXX object CMakeFiles/Lampray.dir/game-data/BG3/BG3.cpp.o FAILED: CMakeFiles/Lampray.dir/game-data/BG3/BG3.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/game-data/BG3/BG3.cpp.o -MF CMakeFiles/Lampray.dir/game-data/BG3/BG3.cpp.o.d -o CMakeFiles/Lampray.dir/game-data/BG3/BG3.cpp.o -c /home/darwin/Lampray/game-data/BG3/BG3.cpp In file included from /home/darwin/Lampray/game-data/BG3/../../Lampray/Base/lampBase.h:14, from /home/darwin/Lampray/game-data/BG3/../gameControl.h:11, from /home/darwin/Lampray/game-data/BG3/BG3.h:7, from /home/darwin/Lampray/game-data/BG3/BG3.cpp:6: /home/darwin/Lampray/game-data/BG3/../../Lampray/Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::cxx11::basic_string >, 4>’ 145 | std::array<std::vector, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /usr/include/c++/13.2.1/bitset:52, from /usr/include/c++/13.2.1/regex:40, from /home/darwin/Lampray/game-data/BG3/BG3.cpp:5: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::cxx11::basic_string >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/game-data/BG3/../../Lampray/Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/game-data/BG3/../../Lampray/Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/game-data/BG3/../../Lampray/Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/game-data/BG3/../../Lampray/Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~ /home/darwin/Lampray/game-data/BG3/BG3.cpp: In member function ‘virtual Lamp::Game::lampReturn Lamp::Game::BG3::deployment()’: /home/darwin/Lampray/game-data/BG3/BG3.cpp:423:1: warning: no return statement in function returning non-void [-Wreturn-type] 423 | } | ^ [16/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Filesystem/lampExtract.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Filesystem/lampExtract.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Filesystem/lampExtract.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Filesystem/lampExtract.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Filesystem/lampExtract.cpp.o -c /home/darwin/Lampray/Lampray/Filesystem/lampExtract.cpp In file included from /home/darwin/Lampray/Lampray/Filesystem/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:10, from /home/darwin/Lampray/Lampray/Filesystem/lampExtract.cpp:6: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::cxx11::basic_string >, 4>’ 145 | std::array<std::vector, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /usr/include/c++/13.2.1/bitset:52, from /usr/include/c++/13.2.1/regex:40, from /home/darwin/Lampray/Lampray/Filesystem/lampExtract.cpp:5: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::cxx11::basic_string >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~ [17/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Menu/lampMenu.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Menu/lampMenu.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Menu/lampMenu.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Menu/lampMenu.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Menu/lampMenu.cpp.o -c /home/darwin/Lampray/Lampray/Menu/lampMenu.cpp In file included from /home/darwin/Lampray/Lampray/Menu/../Filesystem/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Menu/../Filesystem/lampFS.h:10, from /home/darwin/Lampray/Lampray/Menu/lampMenu.h:9, from /home/darwin/Lampray/Lampray/Menu/lampMenu.cpp:4: /home/darwin/Lampray/Lampray/Menu/../Filesystem/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::cxx11::basic_string >, 4>’ 145 | std::array<std::vector, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /home/darwin/Lampray/Lampray/Menu/../Filesystem/lampFS.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::cxx11::basic_string >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Menu/../Filesystem/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Menu/../Filesystem/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Menu/../Filesystem/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Menu/../Filesystem/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~ [18/23] Building CXX object CMakeFiles/Lampray.dir/Lampray/Filesystem/lampIO.cpp.o FAILED: CMakeFiles/Lampray.dir/Lampray/Filesystem/lampIO.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/Lampray/Filesystem/lampIO.cpp.o -MF CMakeFiles/Lampray.dir/Lampray/Filesystem/lampIO.cpp.o.d -o CMakeFiles/Lampray.dir/Lampray/Filesystem/lampIO.cpp.o -c /home/darwin/Lampray/Lampray/Filesystem/lampIO.cpp In file included from /home/darwin/Lampray/Lampray/Filesystem/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Filesystem/lampFS.h:10, from /home/darwin/Lampray/Lampray/Filesystem/lampIO.cpp:6: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::cxx11::basic_string >, 4>’ 145 | std::array<std::vector, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_map.h:63, from /usr/include/c++/13.2.1/map:63, from /home/darwin/Lampray/Lampray/Filesystem/lampIO.cpp:4: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::cxx11::basic_string >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Filesystem/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~ [19/23] Building CXX object CMakeFiles/Lampray.dir/main.cpp.o FAILED: CMakeFiles/Lampray.dir/main.cpp.o /usr/bin/c++ -I/home/darwin/Lampray/third-party/bit7z/include/include/bit7z -I/home/darwin/Lampray/third-party/nfd/include/include/nfd.h -I/home/darwin/Lampray/third-party/l4z -I/home/darwin/Lampray/third-party/pugixml/src -isystem /usr/include/SDL2 -g -MD -MT CMakeFiles/Lampray.dir/main.cpp.o -MF CMakeFiles/Lampray.dir/main.cpp.o.d -o CMakeFiles/Lampray.dir/main.cpp.o -c /home/darwin/Lampray/main.cpp In file included from /home/darwin/Lampray/Lampray/Lang/../Base/lampBase.h:14, from /home/darwin/Lampray/Lampray/Lang/lampLang.h:12, from /home/darwin/Lampray/main.cpp:4: /home/darwin/Lampray/Lampray/Lang/../Base/../Control/lampNotification.h:145:73: error: field ‘notifications’ has incomplete type ‘std::array<std::vector<std::cxx11::basic_string >, 4>’ 145 | std::array<std::vector, NOTIFTYPE_END_PLACEHOLDER> notifications; | ^~~~~ In file included from /usr/include/c++/13.2.1/bits/memory_resource.h:47, from /usr/include/c++/13.2.1/string:58, from /home/darwin/Lampray/Lampray/Lang/lampLang.h:8: /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<std::vector<std::cxx11::basic_string >, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Lang/../Base/../Control/lampNotification.h:159:67: error: field ‘notificationColorValues’ has incomplete type ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 159 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> notificationColorValues = initNotificationColors(); | ^~~~~~~ /usr/include/c++/13.2.1/tuple:2005:45: note: declaration of ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ 2005 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ /home/darwin/Lampray/Lampray/Lang/../Base/../Control/lampNotification.h:134:91: error: return type ‘struct std::array<Lamp::Core::lampNotification::NotificationColors, 4>’ is incomplete 134 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> initNotificationColors(){ | ^ /home/darwin/Lampray/Lampray/Lang/../Base/../Control/lampNotification.h: In member function ‘void Lamp::Core::lampNotification::initNotificationColors()’: /home/darwin/Lampray/Lampray/Lang/../Base/../Control/lampNotification.h:135:71: error: variable ‘std::array<Lamp::Core::lampNotification::NotificationColors, 4> colArray’ has initializer but incomplete type 135 | std::array<NotificationColors, NOTIFTYPE_END_PLACEHOLDER> colArray = {}; | ^~~~ ninja: build stopped: subcommand failed.

System Info (please complete the following information): OS: Manjaro Linux x86_64 Host: ROG Zephyrus G14 GA401QM_GA401QM 1.0 Kernel: 6.1.69-1-MANJARO Uptime: 3 days, 15 hours, 23 mins Packages: 1511 (pacman), 49 (flatpak), 17 (snap) Shell: bash 5.2.21 Resolution: 1920x1080 DE: Plasma 5.27.10 WM: kwin Theme: [Plasma], Sweet [GTK2/3] Icons: Lavender-Dark-Icons [Plasma], Lavender-Dark-Icons [GTK2/3] Terminal: konsole Terminal Font: MesloLGS NF 10 CPU: AMD Ryzen 9 5900HS with Radeon Graphics (16) @ 3.300GHz GPU: NVIDIA GeForce RTX 3060 Mobile / Max-Q GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series Memory: 5987MiB / 15395MiB

— Reply to this email directly, view it on GitHub https://github.com/CHollingworth/Lampray/issues/117, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARGLQVOTF4XQL42T5Y4U3J3YNTYIJAVCNFSM6AAAAABBSUULFWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TCOBQGQZTIMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rykugur commented 7 months ago

I'm also having a similar problem, both on the latest release and building from master. Not sure if it's the same as the OP.

Last few lines:

/home/dusty/tmp/Lampray/Lampray/Menu/lampMenu.cpp: In member function ‘void Lamp::Core::lampMenu::ModMenu()’:
/home/dusty/tmp/Lampray/Lampray/Menu/lampMenu.cpp:119:15: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  119 |         system(("pkexec umount \""+Lamp::Games::getInstance().currentGame->KeyInfo()["installDirPath"]+"\"").c_str());
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dusty/tmp/Lampray/Lampray/Menu/lampMenu.cpp:121:15: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  121 |         system(("pkexec umount \""+Lamp::Games::getInstance().currentGame->KeyInfo()["appDataPath"]+"/Mods\"").c_str());
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/dusty/tmp/Lampray/Lampray/Menu/../Control/lampGames.h:8,
                 from /home/dusty/tmp/Lampray/Lampray/Menu/lampMenu.h:10:
/home/dusty/tmp/Lampray/Lampray/Menu/../Control/../../game-data/BG3/BG3.h: In member function ‘virtual void Lamp::Game::BG3::unmount()’:
/home/dusty/tmp/Lampray/Lampray/Menu/../Control/../../game-data/BG3/BG3.h:73:19: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   73 |             system(("pkexec umount \""+KeyInfo()["installDirPath"]+"\"").c_str());
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dusty/tmp/Lampray/Lampray/Menu/../Control/../../game-data/BG3/BG3.h:75:19: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   75 |             system(("pkexec umount \""+KeyInfo()["appDataPath"]+"/Mods\"").c_str());
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
ninja: build stopped: subcommand failed.

image

makiftasova commented 7 months ago

@Mement0Mori could you try this: https://github.com/CHollingworth/Lampray/pull/118

simply adding that single line was enough to fix build for me.

@rykugur Looks like your problem is -Werror=unused-result. Try building with -Wno-error=unused-result flag. Unfortunately I am not well-versed in C++ to properly mark return values as unused.

rykugur commented 7 months ago

@rykugur Looks like your problem is -Werror=unused-result. Try building with -Wno-error=unused-result flag. Unfortunately I am not well-versed in C++ to properly mark return values as unused.

Thanks for the response. I tried passing this to both cmake and ninja, neither worked.