Package Details: stratagus 3.3.2-2

Git Clone URL: https://aur.archlinux.org/stratagus.git (read-only, click to copy)
Package Base: stratagus
Description: A free cross-platform real-time strategy gaming engine
Upstream URL: https://github.com/Wargus/stratagus
Licenses: GPL
Submitter: encelo
Maintainer: encelo
Last Packager: encelo
Votes: 27
Popularity: 0.000000
First Submitted: 2005-05-11 02:54 (UTC)
Last Updated: 2025-04-23 23:06 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

VanLaser commented on 2019-01-17 10:40 (UTC) (edited on 2019-01-17 10:56 (UTC) by VanLaser)

I get an error when trying to build 2.4.2 (this doesn't happen if I set the github tag to 2.4.1, i.e. the message is still present, but as a warning):

/usr/include/SDL/SDL_opengl.h:116: error: "GL_GLEXT_VERSION" redefined [-Werror]

This suggests somewhere in the CMake rules the -Werror was being added. I'm not familiar with cmake, can anyone show how to fix this, preferably from the PKGBUILD? Thanks!

EDIT: the warning also seems to be related with a CMake policy about choosing an OpenGL library (Policy CMP0072, FindOpenGL), which suggests using cmake_policy() in a CMake file (can I set it system-wide or something?)

encelo commented on 2018-10-07 14:42 (UTC)

Updated to 2.4.2

necroromnt commented on 2018-08-14 14:28 (UTC) (edited on 2018-08-14 15:07 (UTC) by necroromnt)

I was get some errors "invalid string operator _C_"

stratagus/src/stratagus/src/ai/ai_plan.cpp:346:13: ошибка: невозможно найти
 оператор строкового литерала «operator""_C_» с аргументами «const char [43]», «long unsigned int»  
  DebugPrint("%d: Planning for force #%lu of player #%d\n"_C_ player.Index  

I separated string and _C_ using space:

prepare()
{
  find $srcdir -type f -name '*.h' -exec  sed -i -- 's/"_C_/" _C_/g' {} +
  find $srcdir -type f -name '*.cpp' -exec  sed -i -- 's/"_C_/" _C_/g' {} +
}

encelo commented on 2017-06-07 21:03 (UTC) (edited on 2017-06-07 21:03 (UTC) by encelo)

Updated to 2.4.1

<deleted-account> commented on 2016-08-05 16:02 (UTC)

Because it isn't: https://github.com/Wargus/stratagus/blob/master/CMakeLists.txt#L33-L39

AnbuBlack commented on 2016-08-05 12:11 (UTC)

Why is flagged when the last verrsion in 2.3.0?

encelo commented on 2015-04-08 22:03 (UTC)

Updated to 2.3.0

encelo commented on 2014-06-15 12:10 (UTC)

- makedepends array updated for tolua++ - Installation of stratagus-game-launcher.h moved to the package() function

salviati commented on 2014-05-01 08:54 (UTC)

mkdir: cannot create directory ‘/tmp/yaourt-tmp-user/aur-stratagus/pkg’: Permission denied

Samsagax commented on 2013-11-09 23:54 (UTC)

You need to change toluapp -> tolua++ in the makedepends array.