Comments (4)
Fixed by doing two things
cd ./lib/cglm
git checkout 2a4748d # As mentioned in https://github.com/recp/cglm/issues/240
cd ../../
make libs
Editing file src/util/ivec2s.h
and disabling the union type
#if 0
typedef union ivec2s {
ivec2 raw;
#if CGLM_USE_ANONYMOUS_STRUCT
struct {
int x;
int y;
};
#endif
} ivec2s;
#endif
The game then compiles normally
from minecraft-weekend.
Just delete the definition in ivec2s.h
from minecraft-weekend.
Try checking out cglm branch v0.8.4:
cd ./lib/cglm
git checkout v0.8.4
cd ../../
make libs
make
./bin/game
from minecraft-weekend.
I don't have clang and didn't wanna install it so I change the CC
to gcc
and just removed -fbracket-depth=1024
from the Makefile
.
All works great, except I tried digging down for a while and this happened, not sure if it's related but cool none the less!
game: src/world/world.c:191: world_heightmap_recalculate: Assertion `world_in_bounds(self, (ivec3s) {{ p.x, 0, p.y }})' failed.
from minecraft-weekend.
Related Issues (20)
- The crosshair "disappeares" in front of bright backgrounds like snow. 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
- 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
- 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?
- Error compiling HOT 4
- 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.