Package Details: stratagus 2.4.3-1

Git Clone URL: (read-only, click to copy)
Package Base: stratagus
Description: A free cross-platform real-time strategy gaming engine
Upstream URL:
Licenses: GPL
Submitter: encelo
Maintainer: encelo
Last Packager: encelo
Votes: 26
Popularity: 0.000000
First Submitted: 2005-05-11 02:54
Last Updated: 2020-05-11 12:22

Latest Comments

1 2 3 4 Next › Last »

encelo commented on 2020-05-11 12:22

Updated to 2.4.3

encelo commented on 2019-10-28 17:24

I have added glu in the makedepends array. I have also included the two missing headers in the package.

nvllsvm commented on 2019-10-26 03:16

Please include all the header files in the package. They're needed to build wargus.

The missing two:

  cp ${srcdir}/stratagus/gameheaders/stratagus-gameutils.h ${pkgdir}/usr/include
  cp ${srcdir}/stratagus/gameheaders/stratagus-tinyfiledialogs.h ${pkgdir}/usr/include

BluePeril commented on 2019-10-21 08:31

Could you please add glu as dependency as it won't build without it in a clean environment. Thanks

encelo commented on 2019-10-20 13:35

I have added a patch to fix the SDL redefinition of GL_GLEXT_VERSION

uw5fl commented on 2019-10-19 12:42

"/usr/include/SDL/SDL_opengl.h:116: error: "GL_GLEXT_VERSION" redefined [-Werror]" The error is fixed by applying the following patch: In case the link doesn't work, here are the lines to add to the /usr/include/SDL/SDL_opengl.h (they are marked with a plus): @@ -33,6 +33,8 @@ #endif #include <windows.h> #endif +/ mesa changes GL_GLEXT_VERSION, use system glext.h instead via GL/gl.h / +#define NO_SDL_GLEXT #ifndef NO_SDL_GLEXT #define __glext_h_ / Don't let gl.h include glext.h / #endif

htm commented on 2019-07-24 21:51

please update !

VanLaser commented on 2019-01-17 10:40

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

Updated to 2.4.2

necroromnt commented on 2018-08-14 14:28

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:

  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' {} +