Horde3D
http://horde3d.org/forums/

Compile Fixes
http://horde3d.org/forums/viewtopic.php?f=3&t=1082
Page 3 of 3

Author:  marciano [ 20.04.2011, 08:26 ]
Post subject:  Re: Using strcmp without including cstring

mihai wrote:
The title says it all, <cstring> should be included or use its C++ 'compare' counterpart instead.

The old gcc vs VS headers problem ;) Thanks!

Author:  shd [ 28.08.2011, 14:39 ]
Post subject:  Re: Compile Fixes

I'm attaching patch, with my changes to build horde3d editor on linux.
changes:
1. (ENGINE) openal libs should be in AL/al.h not al.h (etc.)
2. (EDITOR) Horde3D.pro isn't updated after switch to rapidxml, so i changed from utXMLParser.h
3. (EDITOR) I've uncommented +CONFIG += sound, but i'm not sure if this is change you want, so - your decision.

Attachments:
editor.patch [4.14 KiB]
Downloaded 1098 times

Author:  fooguy [ 09.03.2012, 02:05 ]
Post subject:  Re: Compile Fixes

(Editor) there's a missing #include <stdio.h> in HordeSceneEditor/QStdOutListener.cpp

btw any plans to use a DVCS?

Author:  Volker [ 09.03.2012, 08:31 ]
Post subject:  Re: Compile Fixes

Thanks for the report. Currently we don't plan to change the vcs.

Author:  fooguy [ 27.03.2012, 18:59 ]
Post subject:  Re: Compile Fixes

(GameEngine/DominoDemo)

in Tools/GameEngine/Samples/DominoDemo/main.cpp

1. missing for printf etc
Code:
#include <stdio.h>


2. _stricmp is apparently not POSIX and was missing on my linux system (-> compiler error), fix: add
Code:
#include <strings.h>

and change line ~54 to
Code:
fullScreen = strcasecmp(fullC, "0") != 0 && strcasecmp(fullC, "false") != 0;

Author:  worstplayer [ 21.11.2012, 20:34 ]
Post subject:  Re: Compile Fixes

egRendererBase doesn't compile in VS2008 release config because of this line:
Code:
assert( depth > 0 );
Replacing it with ASSERT( depth > 0 ); seems to fix it.

Author:  Volker [ 23.11.2012, 19:44 ]
Post subject:  Re: Compile Fixes

Thanks, fixed it!

Page 3 of 3 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/