build error DynWater.cpp

build error DynWater.cpp

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
nicke
Posts: 42
Joined: 14 Mar 2006, 17:25

build error DynWater.cpp

Post by nicke »

Hi

I can't build latest source code tree from Berlios svn, it seems that the latest update to DynWater.cpp someone forgot about portability.. ie. the header file names are in lowercase like #include "./dynwater." while the filename is DynWater.h, this will not work when building the linux client.
And there is an addition of #include "windows.h" should be replaced by
#include "Platform/Win/win32.h"

/Nicklas

DynWater.cpp, includes should be:
#include "StdAfx.h"
#include "./DynWater.h"
#include "Game/Game.h"
//#include <windows.h>
#include "Platform/Win/win32.h"
#include "Rendering/GL/myGL.h"
#include <math.h>
#include "Game/Camera.h"
#include "Rendering/GL/VertexArray.h"
#include "Sim/Map/ReadMap.h"
#include "Game/UI/InfoConsole.h"
#include "Rendering/Map/BaseGroundDrawer.h"
#include "Rendering/Env/BaseSky.h"
#include "Rendering/UnitModels/UnitDrawer.h"
#include "Sim/Projectiles/ProjectileHandler.h"
#include "Sim/Misc/FeatureHandler.h"
#include "Sim/Map/SmfReadMap.h"
#include "Game/UI/MouseHandler.h"
#include "Game/GameHelper.h"
#include "Sim/Map/SmfReadMap.h"
#include "Rendering/ShadowHandler.h"
#include "Rendering/Textures/Bitmap.h"
#include "Sim/Units/UnitHandler.h"
#include "Sim/Units/Unit.h"

and dynwater.h:
#pragma once
#include "BaseWater.h"
#include <vector>
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Yup, you're right and it's known. Once I boot into linux I'll fix it (which will probably be later today). If you're lucky someone else may fix it. YOu could try to poke someone on #taspring on FreeNode :-)
Post Reply

Return to “Help & Bugs”