Comments (4)
For everyony who wants to compile on Arch Linux in 2024/4:
- modify the file
./Makefile
:
diff --git a/Makefile b/Makefile
index 21fba7c..37775f2 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ CFLAGS = -std=c11 -O3 -g -Wall -Wextra -Wpedantic -Wstrict-aliasing
CFLAGS += -Wno-pointer-arith -Wno-newline-eof -Wno-unused-parameter -Wno-gnu-statement-expression
CFLAGS += -Wno-gnu-compound-literal-initializer -Wno-gnu-zero-variadic-macro-arguments
CFLAGS += -Ilib/cglm/include -Ilib/glad/include -Ilib/glfw/include -Ilib/stb -Ilib/noise -fbracket-depth=1024
+CFLAGS += -Wno-error=implicit-function-declaration
LDFLAGS = lib/glad/src/glad.o lib/cglm/libcglm.a lib/glfw/src/libglfw3.a lib/noise/libnoise.a -lm
- Modify the file
./lib/cglm/CMakeLists.txt
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 378332b..2bd0b8e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,7 +33,7 @@ if(MSVC)
string(REGEX REPLACE "/RTC(su|[1su])" "" ${flag_var} "${${flag_var}}")
endforeach(flag_var)
else()
- add_compile_options(-Wall -Werror -O3)
+ add_compile_options(-Wall -Werror -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=array-parameter -O3)
endif()
from minecraft-weekend.
Removing -Werror from line 36 of the /lib/cglm/CMakeLists.txt file and re-running cmake on it seems to have allowed me to compile the game, though I doubt it's a best practice.
from minecraft-weekend.
Its some sort of cmake error, in the repository only make is supported so its a linking error where cglm has been linked multiple times prob
from minecraft-weekend.
Any updates on this issue? I have ran into the same error and am stuck.
Running Sonoma as well.
Does anyone know what is meant by mismatched bound?
from minecraft-weekend.
Related Issues (20)
- textures HOT 1
- gcc makefile HOT 2
- build on Linux: mismatched bound float[4] HOT 2
- make compile error HOT 1
- NOOB I want to give this a try, But I dont seem to understand the instructions HOT 5
- make compile problem HOT 1
- Compiling dont works because of redefinitions HOT 4
- A problem with "Unix-like" compiling (on macOS 10.13.6)
- A potentially major problem with OSX Compiling HOT 1
- [1] 36812 segmentation fault (core dumped) ./bin/game HOT 3
- User placed blocks disappearing after unloading chunk
- Makefile in src ERRO HOT 1
- 2023 came minecraftweekend HOT 2
- How do i access it HOT 1
- Make Command Not Working HOT 2
- pls tell me how to run on windows. i dont have unix ;( HOT 2
- Why no interpolation?
- undefined reference to `glm_ivec2_div' when building in wsl
- Add arm64 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minecraft-weekend.