Comments (15)
This is because Arch uses a newer version of libpng. Patches welcome. We want to maintain compatibility with Linux distributions that are already working though (at least Debian/sid x86_64 which is what I'm using).
from gtkradiant.
Current version of Ubuntu, most popular Linux now can't compile Radiant. They will update for sure libpng more in the April, when 12.04 will hit the stores. It's not only Arch Linux problem. Which version of libpng is needed? I have a couple of them as extra packages:
http://aur.archlinux.org/packages.php?O=0&K=libpng&do_Search=Go
from gtkradiant.
Do you know what version you are attempting to use right now?
This is what's in Debian: http://packages.debian.org/source/sid/libpng
You may be using 3, so I'd recommend trying 1.2 and going further down
if needed.
On a side note, it would make sense to write a debian package skeleton
for GtkRadiant. It's something I've stayed away in the past but it
would help control library dependencies, of which we have many. Same
for rpm based environments.
On Mon, Mar 19, 2012 at 9:10 AM, Majki
[email protected]
wrote:
Current version of Ubuntu, most popular Linux now can't compile Radiant. They will update for sure libpng more in the April, when 12.04 will hit the stores. It's not only Arch Linux problem. Which version of libpng is needed? I have a couple of them as extra packages:
http://aur.archlinux.org/packages.php?O=0&K=libpng&do_Search=Go
Reply to this email directly or view it on GitHub:
#9 (comment)
from gtkradiant.
I have installed libpng12:
[michal@localhost aur-gtkradiant-svn]$ pacman -Qs libpng
local/libpng 1.5.9-1
A collection of routines used to create PNG format graphics files
local/libpng12 1.2.48-1
A collection of routines used to create PNG format graphics files
Still the same.
from gtkradiant.
Patches welcome. Eventually I'll find the time to spin up an ubuntu instance somewhere and fix it.
from gtkradiant.
Did a brief compile attempt on Ubuntu 12.04, but it fails at the first link (radiant.bin) because of the order in which it puts the libraries on the link line. Not sure why I'm having that problem on this build system and you don't.
EDIT: Resolved - use binutils-gold linker. Wouldn't hurt to fix scons to pass the libs in the right order still.
from gtkradiant.
Ended up compiling everything with no problem on Ubuntu 12.04:
apt-get install libjpeg62-dev
Majki, maybe Arch doesn't have that package, or you have other libjpeg62-dev packages installed that conflict?
from gtkradiant.
I still can't compile it
[michal@localhost ~]$ yaourt -Qs libjpeg
extra/libjpeg-turbo 1.2.0-1
libjpeg derivative with accelerated baseline JPEG compression and decompression
local/libjpeg6 6b-9
Library of JPEG support functions
Problem must be elsewhere.
As for binutils-gold, it's in the Arch Linux by default in bilutils package: http://www.archlinux.org/packages/core/i686/binutils/
as
usr/bin/ld
usr/bin/ld.bfd
usr/bin/ld.gold
from gtkradiant.
Try removing libjpeg-turbo maybe. I saw that package on ubuntu and ignored it. It could be putting incompatible headers in the include path.
I don't see the usefulness/work ratio for this getting anywhere, so I don't plan to work on this specific problem further. I expect providing Linux binaries directly will solve this #12
from gtkradiant.
So, I commited two files and gtkradiant has compile ok. (arch)
from gtkradiant.
So now if I yaourt gtkradiant it will compile, yes?
from gtkradiant.
in AUR pkgbuild is outdated (uses SVN, instead git). I will fix it.
In my patch-1 i see only one file, but I have edit /tools/quake3/q3map2/image.c too. How can I add second file?
from gtkradiant.
I have add new pull. With right patches of both files. I have download my fork and it compiles ok. I will fix PKGBUILD later.
from gtkradiant.
Thank you. I merged the change after checking that this still compiled on Debian/Sid. I would like someone to confirm that the Windows compilation hasn't broken before closing.
from gtkradiant.
Windows is compiling fine still. Radiant locks up while loading q3dm17sample on a jpg file, but I confirmed this wasn't caused by this change.
from gtkradiant.
Related Issues (20)
- Player height
- Warning messages when item is placed in map
- Build fails. image.so
- Windows compiling guide needs to be updated HOT 6
- Images don't load / Entities not rendering w/ Windows build HOT 2
- Buffer overflow in q3map2 when parsing malformed MAP file
- Doesn't Build On Compilers Which Default To C++17 HOT 5
- HOWTO producing Debian/Ubuntu packages HOT 2
- CRASH+workaround when editing/moving certain edges
- Grid views do not match up with program in 4k resolution, scaling does not work HOT 1
- `ERROR: patch has too many plane points` with Unvanquished `parpax.map` HOT 4
- scons fails with `OSError: 'pkg-config glu --cflags --libs' exited 1` HOT 1
- switch to XDG_CONFIG_HOME for config writes HOT 1
- A dependency for gtkradiant seems completely unobtainable in Xubuntu 22.04 HOT 1
- segfault on release build since XDG_STATE_HOME change HOT 4
- Radiant on RPI/ARM HOT 1
- bytebool.h error: two or more data types in declaration specifiers HOT 1
- error: ‘nullptr’ was not declared in this scope HOT 1
- Integrate bspc into the source tree.
- Hardcoded directory paths
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 gtkradiant.