-
I can't compile or run latest stratagus SVN revision 8003 on Windows. Enclosed is the patch I used to compile and run stratagus under Windows. This patch also fixes other general issues in latest SVN version blocking user to play Wargus in stratagus, hope is OK.
General Information
-------------------
I using Visual C++ 2008 under Windows 7 x64. My laptop has a Intel Cuo Duo 2 processor.
2009-11-10 11:57:48 UTC by ppttz
-
In lastest stratagus SVN r8003, there is an access violation in map_fog.cpp:CViewport::DrawMapFogOfWar() when accessing VisibleTable.
In CMap::InitFogOfWar(), if UseOpenGL is false, then VisibleTable remain NULL without assigned to an allocated address. However in later CViewport::DrawMapFogOfWar() processing, VisibleTable is accessed regardless of the value of UseOpenGL.
My VC2008 debug...
2009-11-08 06:11:09 UTC by ppttz
-
In unit_draw.cpp:DecorationCclRegister(), memset is used to initialize DecoSprite, which is defined as following:
class DecoSpriteType {
public:
std::vector Name; /// Name of the sprite.
std::vector SpriteArray; /// Sprite to display variable.
};
static DecoSpriteType DecoSprite;
However, DecoSprite is not a POD in C++, which cannot be...
2009-11-08 05:46:05 UTC by ppttz
-
mng support is removed, but still mng.cpp referenced in stratagus.vcproj. making VC2008 unable to build the project.
--- stratagus.vcproj.orig Sun Nov 8 13:09:26 2009
+++ stratagus.vcproj Sun Nov 8 06:12:27 2009
@@ -3367,28 +3368,6 @@
-
2009-11-08 05:15:19 UTC by ppttz
-
I was trying to build lastest SVN r8003 under VC2008, and got these error while compiling src\stratagus\until.cpp:
.\src\stratagus\util.cpp(367) : error C2065: 'CF_TEXT' : undeclared identifier
.\src\stratagus\util.cpp(367) : error C3861: 'IsClipboardFormatAvailable': identifier not found
.\src\stratagus\util.cpp(367) : error C3861: 'OpenClipboard': identifier not found...
2009-11-08 05:01:37 UTC by ppttz
-
some of the text files; autogen.sh for example, are in DOS. Which messes up compiling in linux. I also suspect that the below given line is also due to this issue.
src/unit/upgrade.cpp:180: warning: deprecated conversion from string constant to ‘char*’
There's been several of these lines during MAKE.
2009-10-28 06:16:27 UTC by nobody
-
What is the ASCII code for virtual key CHANGE MOUSE BUTTON? Thx in advance.
2009-08-02 23:44:38 UTC by nobody
-
tlh2000 committed revision 8003 to the Stratagus SVN repository, changing 3 files.
2009-06-17 18:45:12 UTC by tlh2000
-
tlh2000 committed revision 8002 to the Stratagus SVN repository, changing 8 files.
2009-06-17 18:29:31 UTC by tlh2000
-
tlh2000 committed revision 8001 to the Stratagus SVN repository, changing 9 files.
2009-06-12 21:52:21 UTC by tlh2000