Package Details: stratagus 2.4.2-1

Git Clone URL: https://aur.archlinux.org/stratagus.git (read-only)
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: 26
Popularity: 0.000002
First Submitted: 2005-05-11 02:54
Last Updated: 2018-10-07 14:42

Latest Comments

1 2 3 4 Next › Last »

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: https://github.com/Wargus/stratagus/issues/241 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:

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

Updated to 2.4.1

Anonymous comment on 2016-08-05 16:02

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

AnbuBlack commented on 2016-08-05 12:11

Why is flagged when the last verrsion in 2.3.0?

encelo commented on 2015-04-08 22:03

Updated to 2.3.0

encelo commented on 2014-06-15 12:10

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