I've confirmed I followed the steps in the README & installed ninja beforehand.
$ ninja
[1/73] Building CXX object CMakeFiles/Dorito.dir/src/cpu/Memory.cpp.o
FAILED: CMakeFiles/Dorito.dir/src/cpu/Memory.cpp.o
/usr/bin/c++ -DGRAPHICS_API_OPENGL_33 -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DPLATFORM_DESKTOP -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -I../src -Isrc/common -I../src/external -I../src/external/imgui -I../src/external/imgui/backends -I_deps/zep-src/include -I_deps/raylib-src/src -I_deps/raylib-src/src/external/glfw/include -isystem vcpkg_installed/x64-linux/include -Wall -Wextra -pthread -std=gnu++2a -MD -MT CMakeFiles/Dorito.dir/src/cpu/Memory.cpp.o -MF CMakeFiles/Dorito.dir/src/cpu/Memory.cpp.o.d -o CMakeFiles/Dorito.dir/src/cpu/Memory.cpp.o -c ../src/cpu/Memory.cpp
../src/cpu/Memory.cpp: In member function ‘void dorito::Memory::Reset()’:
../src/cpu/Memory.cpp:55:5: error: ‘memset’ was not declared in this scope
55 | memset(&m_Ram[0], 0, m_MemorySize);
| ^~~~~~
../src/cpu/Memory.cpp:6:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
5 | #include "core/events/EventManager.h"
+++ |+#include <cstring>
6 |
[2/73] Building CXX object CMakeFiles/Dorito.dir/src/display/Display.cpp.o
FAILED: CMakeFiles/Dorito.dir/src/display/Display.cpp.o
/usr/bin/c++ -DGRAPHICS_API_OPENGL_33 -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DPLATFORM_DESKTOP -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -I../src -Isrc/common -I../src/external -I../src/external/imgui -I../src/external/imgui/backends -I_deps/zep-src/include -I_deps/raylib-src/src -I_deps/raylib-src/src/external/glfw/include -isystem vcpkg_installed/x64-linux/include -Wall -Wextra -pthread -std=gnu++2a -MD -MT CMakeFiles/Dorito.dir/src/display/Display.cpp.o -MF CMakeFiles/Dorito.dir/src/display/Display.cpp.o.d -o CMakeFiles/Dorito.dir/src/display/Display.cpp.o -c ../src/display/Display.cpp
../src/display/Display.cpp: In member function ‘void dorito::Display::Reset()’:
../src/display/Display.cpp:27:5: error: ‘memset’ was not declared in this scope
27 | memset(&m_Buffer[0][0], 0, 128 * 64);
| ^~~~~~
../src/display/Display.cpp:4:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
3 | #include <iostream>
+++ |+#include <cstring>
4 |
../src/display/Display.cpp: In member function ‘void dorito::Display::Clear()’:
../src/display/Display.cpp:45:7: error: ‘memset’ was not declared in this scope
45 | memset(&m_Buffer[layer][0], 0, 128 * 64);
| ^~~~~~
../src/display/Display.cpp:45:7: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
[4/73] Building CXX object CMakeFiles/Dorito.dir/src/widgets/AudioWidget.cpp.o
In file included from ../src/core/layers/GameLayerStack.h:6,
from ../src/core/Dorito.h:12,
from ../src/layers/UI.h:8,
from ../src/widgets/AudioWidget.cpp:3:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
27 | virtual void Update(double timestep) {}
| ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/mode_repl.h:3,
from ../src/external/zep/ZepEditor.h:7,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/AudioWidget.cpp:3:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
161 | virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/AudioWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
44 | const float font_size = m_pFont->FontSize;
| ^~~~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/AudioWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
| ^~~~~~~~~~~
[5/73] Building CXX object CMakeFiles/Dorito.dir/src/widgets/DisassemblyWidget.cpp.o
In file included from ../src/core/layers/GameLayerStack.h:6,
from ../src/core/Dorito.h:12,
from ../src/layers/UI.h:8,
from ../src/widgets/DisassemblyWidget.cpp:3:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
27 | virtual void Update(double timestep) {}
| ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/mode_repl.h:3,
from ../src/external/zep/ZepEditor.h:7,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/DisassemblyWidget.cpp:3:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
161 | virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/DisassemblyWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
44 | const float font_size = m_pFont->FontSize;
| ^~~~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/DisassemblyWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
| ^~~~~~~~~~~
[6/73] Building CXX object CMakeFiles/Dorito.dir/src/widgets/ColorEditorWidget.cpp.o
In file included from ../src/core/layers/GameLayerStack.h:6,
from ../src/core/Dorito.h:12,
from ../src/layers/UI.h:8,
from ../src/widgets/ColorEditorWidget.cpp:3:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
27 | virtual void Update(double timestep) {}
| ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/mode_repl.h:3,
from ../src/external/zep/ZepEditor.h:7,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/ColorEditorWidget.cpp:3:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
161 | virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/ColorEditorWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
44 | const float font_size = m_pFont->FontSize;
| ^~~~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/ColorEditorWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
| ^~~~~~~~~~~
[7/73] Building CXX object CMakeFiles/Dorito.dir/src/widgets/RegistersWidget.cpp.o
In file included from ../src/core/layers/GameLayerStack.h:6,
from ../src/core/Dorito.h:12,
from ../src/layers/UI.h:8,
from ../src/widgets/RegistersWidget.cpp:3:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
27 | virtual void Update(double timestep) {}
| ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/mode_repl.h:3,
from ../src/external/zep/ZepEditor.h:7,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/RegistersWidget.cpp:3:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
161 | virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/RegistersWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
44 | const float font_size = m_pFont->FontSize;
| ^~~~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/RegistersWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
| ^~~~~~~~~~~
[8/73] Building CXX object CMakeFiles/Dorito.dir/src/system/Bus.cpp.o
FAILED: CMakeFiles/Dorito.dir/src/system/Bus.cpp.o
/usr/bin/c++ -DGRAPHICS_API_OPENGL_33 -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DPLATFORM_DESKTOP -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -I../src -Isrc/common -I../src/external -I../src/external/imgui -I../src/external/imgui/backends -I_deps/zep-src/include -I_deps/raylib-src/src -I_deps/raylib-src/src/external/glfw/include -isystem vcpkg_installed/x64-linux/include -Wall -Wextra -pthread -std=gnu++2a -MD -MT CMakeFiles/Dorito.dir/src/system/Bus.cpp.o -MF CMakeFiles/Dorito.dir/src/system/Bus.cpp.o.d -o CMakeFiles/Dorito.dir/src/system/Bus.cpp.o -c ../src/system/Bus.cpp
In file included from ../src/core/layers/GameLayerStack.h:6,
from ../src/core/Dorito.h:12,
from ../src/system/Bus.cpp:6:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
27 | virtual void Update(double timestep) {}
| ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/mode_repl.h:3,
from ../src/external/zep/ZepEditor.h:7,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/system/Bus.cpp:8:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
161 | virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/system/Bus.cpp:8:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
44 | const float font_size = m_pFont->FontSize;
| ^~~~~~~~~
../src/system/Bus.cpp: In member function ‘void dorito::Bus::HandleClearRecentSources(const dorito::Events::UIClearRecentSources&)’:
../src/system/Bus.cpp:586:74: warning: unused parameter ‘event’ [-Wunused-parameter]
586 | void Bus::HandleClearRecentSources(const Events::UIClearRecentSources &event) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../src/system/Bus.cpp: In static member function ‘static void dorito::Bus::LowpassFilterCallback(void*, uint32_t)’:
../src/system/Bus.cpp:647:20: error: ‘cosf’ is not a member of ‘std’; did you mean ‘cosh’?
647 | float c = std::cosf(2 * pi * cutoff);
| ^~~~
| cosh
../src/system/Bus.cpp:648:34: error: ‘sqrtf’ is not a member of ‘std’; did you mean ‘sqrt’?
648 | const float k = c - 1 + std::sqrtf(c * c - 4 * c + 3);
| ^~~~~
| sqrt
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/system/Bus.cpp:8:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
| ^~~~~~~~~~~
[9/73] Building CXX object CMakeFiles/Dorito.dir/src/widgets/EditorWidget.cpp.o
In file included from ../src/external/zep/mode_repl.h:3,
from ../src/external/zep/ZepEditor.h:7,
from ../src/widgets/EditorWidget.h:6,
from ../src/widgets/EditorWidget.cpp:1:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
161 | virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/widgets/EditorWidget.cpp:1:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
44 | const float font_size = m_pFont->FontSize;
| ^~~~~~~~~
In file included from ../src/core/layers/GameLayerStack.h:6,
from ../src/core/Dorito.h:12,
from ../src/layers/UI.h:8,
from ../src/widgets/EditorWidget.cpp:6:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
27 | virtual void Update(double timestep) {}
| ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/widgets/EditorWidget.cpp:1:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
| ^~~~~~~~~~~
[10/73] Building CXX object CMakeFiles/Dorito.dir/src/widgets/MainMenuWidget.cpp.o
In file included from ../src/core/layers/GameLayerStack.h:6,
from ../src/core/Dorito.h:12,
from ../src/layers/UI.h:8,
from ../src/widgets/MainMenuWidget.cpp:5:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
27 | virtual void Update(double timestep) {}
| ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/mode_repl.h:3,
from ../src/external/zep/ZepEditor.h:7,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/MainMenuWidget.cpp:5:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
161 | virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/MainMenuWidget.cpp:5:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
44 | const float font_size = m_pFont->FontSize;
| ^~~~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
from ../src/widgets/EditorWidget.h:6,
from ../src/layers/UI.h:24,
from ../src/widgets/MainMenuWidget.cpp:5:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
| ^~~~~~~~~~~
ninja: build stopped: subcommand failed.