Package Details: return-to-the-roots-git r4467.3af7f7c76-1

Git Clone URL: (read-only, click to copy)
Package Base: return-to-the-roots-git
Description: Free/libre implementation of The Settlers II game engine
Upstream URL:
Licenses: GPL3
Conflicts: return-to-the-roots, s25rttr, s25rttr-nightly-bin
Provides: return-to-the-roots
Submitter: Peuc
Maintainer: Peuc
Last Packager: Peuc
Votes: 2
Popularity: 0.000001
First Submitted: 2018-02-15 15:48
Last Updated: 2019-10-17 16:34

Required by (3)

Sources (14)

Latest Comments

1 2 Next › Last »

igno2k commented on 2020-06-06 06:37

Package does not build with the following error:

Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/<user>/git/return-to-the-roots-git/src/s25client/build/CMakeFiles/CMakeTmp

From CMakeError.log:

/usr/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1,--sort-common,--as-nee ded,-z,relro,-z,now CMakeFiles/cmTC_8caae.dir/CheckFunctionExists.c.o -o cmTC_8caae -lpthreads /usr/bin/ld: cannot find -lpthreads

Any ideas what is wrong?

ubmarco commented on 2019-05-03 06:24

Thanks, I did a full recompile and it works now.

Peuc commented on 2019-05-02 21:18

Updated, it should work now.

ubmarco commented on 2019-05-02 20:06

I'm getting

==> Starting build()...
sed: can't read src/libGamedata/CMakeLists.txt: No such file or directory
==> ERROR: A failure occurred in build().
Error making: return-to-the-roots-git

dreieck commented on 2018-08-24 11:00

You might consider adding siedler2-data as optdepend.

dreieck commented on 2018-08-24 10:59

Yes it did auto-enable SSE/ SSE2. However, the menu in ccmake also provides sse3 and sse4, which do not seem to get auto-enabled.

Peuc commented on 2018-08-23 15:43

At build time, we don't have much information on CPU used to run the game beside it's x86-64 - so can't do anything with RTTR_OPTIMZATION_TUNE. Concerning RTTR_OPTIMZATION_VECTOR_EXT, GCC will auto-enable SSE and SSE2.

dreieck commented on 2018-08-22 21:08

Yes, thanks.

Btw., it seems that the cmake-options -DRTTR_OPTIMZATION_TUNE and -DRTTR_OPTIMZATION_VECTOR_EXT do not get automatically set to what the system where it is compiled on provides. Maybe there is a way to automatically detect the best settings in the build()-function?

Peuc commented on 2018-08-22 18:48

Updated, it should work again.

dreieck commented on 2018-08-22 16:46

There is no build/-directory in $srcdir/s25rttr by default, but the build()-function expects one.

Please make sure it get's created before, e.g. in prepare() or at the beginning of build().

Also, there is no