Comments (3)
- Not sure what's going on there. It looks like it's only set to search under /usr/local/include/libpng. How'd you solve that?
- Not sure about this one, I believe I'm running the development library attainable from the website.
add the output of sdl2-config --cflags to the makefile?
You mean add it to CMakeLists.txt?
from barony.
You mean add it to CMakeLists.txt?
Probably, I am not familiar with with CMake. What I meant was that instead of hard-coding the path to the SDL libraries the build system should use the path returned by sdl2-config --cflags
.
A similar thing can be done for LibPNG using pkg-config --cflags libpng
, but one cannot rely on pkg-config being aware of LibPNG. How about a gradual approach? First try pkg-config --cflags libpng
, and if the exit status is not zero use a hard-coded path and hope for the best.
from barony.
If somebody would like to take a look at this and other Mac build issues, feel free to open up a PR for perusal. I must admit there's leftover cruft and some bad practice in there just from my experimentation in making everything work properly on Mac. The biggest issue is I've only been able to test it on my computer.
from barony.
Related Issues (20)
- Restart after last player dies, game over screen appears after restart HOT 4
- [Linux] Cannot compile source code HOT 5
- Torches being used whilst transformed with no effect HOT 1
- ally repeat command while reading tutorial sign crashes game HOT 1
- Missing Images Directory HOT 1
- [Linux] Missing Menu Text on Unchanged Build HOT 3
- [Linux] [Steamworks] [4.0.2] Cannot build with steamworks HOT 1
- Surround sound backwards in Windows
- Asset Replacement Bug: Player, Item, and Block Replacement by Green Orb HOT 1
- Crash in Tinkering Tutorial HOT 3
- [Bug] Light Level Calculated incorrectly for low Stealth and negative perception
- [Windows][Multiplayer] Unplayable multiplayer via Steam: very long wait for interaction, weird teleportation between levels
- [Switch] Game crashes when attempting to view skill list HOT 2
- Broken textures: everything looks like green ball HOT 1
- Add NOGDI define for building on Windows
- [Switch] cant write in a online lobby
- Fix game stutters upon doing something for the first time HOT 3
- Debian 12 - GOG edition - Failed loading libpng12.so.0 HOT 1
- BUG: Some iterator out-of-bound access bugs HOT 1
- Some parts of the torch only displays ASCII characters. HOT 4
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 barony.