Comments (8)
I assume you mean June, not July, as that date hasn't been reached yet...
from cataclysm-dda.
Yeah, of course it's June. Sorry for a typo.
from cataclysm-dda.
/confirmed
Include order changed for some reason so the SDL library we need isn't picked up anymore. Maybe this can fix it
diff --git a/Makefile b/Makefile
index 0dd15eb9fb..fbcaff729b 100644
--- a/Makefile
+++ b/Makefile
@@ -778,7 +778,8 @@ ifeq ($(TILES), 1)
endif
endif
else ifneq ($(NATIVE),emscripten)
- CXXFLAGS += $(shell $(PKG_CONFIG) --cflags sdl2 SDL2_image SDL2_ttf)
+ CXXFLAGS += $(shell $(PKG_CONFIG) --cflags sdl2)
+ CXXFLAGS += $(shell $(PKG_CONFIG) --cflags SDL2_image SDL2_ttf)
ifeq ($(STATIC), 1)
LDFLAGS += $(shell $(PKG_CONFIG) sdl2 --static --libs)
EDIT: it needs a bit more (workflow run)
from cataclysm-dda.
Same with Android builds, #74841 didn't help.
from cataclysm-dda.
Tested andrei8l's proposed solution, didn't work. I looked into this for a bit but couldn't figure out what has changed to break this. First I thought it was related to ubuntu-latest build image moving to a new release but we specifically use 20.4 for the release build, so not that either.
from cataclysm-dda.
It worked for me here; it just needed a bit more work. If that's too invasive, you can try overwriting the system SDL lib with the one we want
Untested
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 3d00a0b20c..fe19417959 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -219,17 +219,16 @@ jobs:
if: runner.os == 'Linux' && matrix.mxe == 'none' && matrix.android == 'none' && !matrix.wasm
run: |
sudo apt-get update
- sudo apt-get install libsdl2-dev
+ sudo apt-get install libsdl2-dev libncursesw5-dev libsdl2-ttf-dev libsdl2-image-dev \
+ libsdl2-mixer-dev libpulse-dev ccache gettext parallel
git clone https://github.com/libsdl-org/SDL.git --branch release-2.0.20 --depth 1
cd SDL
mkdir build
cd build
- ../configure
+ ../configure --prefix=/usr
make -j$((`nproc`+0))
sudo make install
cp ../LICENSE.txt ${{ github.workspace }}/LICENSE-SDL.txt
- sudo apt-get install libncursesw5-dev libsdl2-ttf-dev libsdl2-image-dev \
- libsdl2-mixer-dev libpulse-dev ccache gettext parallel
- name: Install Emscripten (WebAssembly)
if: matrix.wasm
uses: mymindstorm/setup-emsdk@v13
from cataclysm-dda.
Does anyone have a fork with working Linux x64 builds?
EDIT: I just realized that in-between i was playing CDDA and sleeping this was already fixed and successfully merged. I had this issue open in a tab since yesterday and didn't see it was already closed.
from cataclysm-dda.
If builds are broken again, you can always compile it yourself, although it takes quite a long time (which I experienced just yesterday). Even if you are not on Arch, you have working build instructions with this PKGBUILD: https://aur.archlinux.org/packages/cataclysm-dda-git
from cataclysm-dda.
Related Issues (20)
- wielding an item with hands full while standing on a car door causes the previously wielded item to despawn permanently HOT 2
- `npctalk` error during player proficiency training HOT 11
- Crafting chainmail is very stupid
- BLOCK_WHILE_WORN redirects damage to arms, regardless of where the item is worn HOT 3
- Segfault on unloading bottle of antacid tablets HOT 1
- I am not a marshmellow! let me jump over small fires... HOT 3
- Hunger display is broken again
- Aftershock light exosuit frame gets damaged in combat
- #74169 cause to fps freeze while game generate new map tiles HOT 4
- Zombies using stairs to teleport through floors HOT 1
- Foldable solar panel HOT 2
- Lack of stealing warning if item is worn directly
- [Xedra Evolved] Paints are used as tool instead of component in the doll repair paste recipe
- Magic Fissile spell hazy cloud lingers for too long indoors
- Grenades dropped by booby traps only explode after loading a save
- Broken map generation w/ roads & creeks on Massachusetts mod
- Self-Determined Missions
- add withdrawals as a distraction
- Cellphones always spawn with full charge
- Inserting menu allows inserting filters into gas mask, causes error
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 cataclysm-dda.