Currently Online

Latest Posts

Topic: build fails on arch linux 32bit

kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2434
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2019-06-04, 17:50

Have you tried to compile like i proposed some posts above?


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
niektory
Avatar
Joined: 2019-06-03, 20:06
Posts: 206
Ranking
Widelands-Forum-Junkie
Location: Poland
Posted at: 2019-06-04, 17:55

Not yet, I'll try it later.


Top Quote
stonerl
Avatar
Joined: 2018-07-30, 00:03
Posts: 327
Ranking
Tribe Member
Posted at: 2019-06-04, 18:04

The AUR package is pretty outdated.


Top Quote
niektory
Avatar
Joined: 2019-06-03, 20:06
Posts: 206
Ranking
Widelands-Forum-Junkie
Location: Poland
Posted at: 2019-06-04, 18:33

compile.sh worked. I think it's because it used ninja instead of make.


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2434
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2019-06-04, 22:06

stonerl wrote:

The AUR package is pretty outdated.

Don't be confused about the version number. The PKGBUILD grabs always the code from trunk.


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
Fulgen
Avatar
Joined: 2015-08-06, 11:43
Posts: 21
Ranking
Pry about Widelands
Posted at: 2019-06-08, 14:10

niektory wrote:

> [ 25%] Linking CXX executable test_economy
> /usr/bin/ld: ../../graphic/libgraphic_gl_utils.a(initialize.cc.o): undefined reference to symbol 'glDrawBuffer'
> /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib/libGL.so: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> make[2]: *** [src/economy/test/CMakeFiles/test_economy.dir/build.make:499: src/economy/test/test_economy] Error 1
> make[1]: *** [CMakeFiles/Makefile2:10117: src/economy/test/CMakeFiles/test_economy.dir/all] Error 2
> make: *** [Makefile:141: all] Error 2
> ==> ERROR: A failure occurred in build().
>     Aborting...

The build fails because you're building with GLVND rather than the legacy OpenGL library. Setting OpenGL_GL_PREFERENCE=LEGACY in CMake should fix it.

Edited: 2019-06-08, 14:11

Alea iacta est.

Top Quote