Skip to content

Build on relatively-up-to-date gentoo required some changes #348

Description

@danwills

I got SHADERed to build after the following changes (this is a git diff):

diff --git a/libs/cppdap/include/dap/any.h b/libs/cppdap/include/dap/any.h
index 187ca5d..c33fe55 100644
--- a/libs/cppdap/include/dap/any.h
+++ b/libs/cppdap/include/dap/any.h
@@ -16,7 +16,7 @@
 #define dap_any_h
 
 #include "typeinfo.h"
-
+#include <stdint.h>
 #include <assert.h>
 
 namespace dap {
diff --git a/libs/cppdap/src/io.cpp b/libs/cppdap/src/io.cpp
index 3ee972e..b4133e5 100644
--- a/libs/cppdap/src/io.cpp
+++ b/libs/cppdap/src/io.cpp
@@ -21,6 +21,7 @@
 #include <cstring>  // strlen
 #include <deque>
 #include <mutex>
+#include <string>
 
 namespace {
 
diff --git a/src/SHADERed/Engine/AudioPlayer.h b/src/SHADERed/Engine/AudioPlayer.h
index 7085699..e6c01a5 100644
--- a/src/SHADERed/Engine/AudioPlayer.h
+++ b/src/SHADERed/Engine/AudioPlayer.h
@@ -2,6 +2,7 @@
 #include <misc/miniaudio.h>
 #include <string>
 #include <string.h>
+#include <cstdint>
 
 namespace ed {
 	namespace eng {
@@ -66,4 +67,4 @@ namespace ed {
 			ma_pcm_rb m_rb;
 		};
 	}
-}
\ No newline at end of file
+}

This is mainly just to help others I guess.. feel free to ignore! Or if you want I'll make a Merge Request? Let me know.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions