Horde3D

Next-Generation Graphics Engine
It is currently 28.03.2024, 10:24

All times are UTC + 1 hour




Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: 20.04.2011, 08:26 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
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!


Top
 Profile  
Reply with quote  
 Post subject: Re: Compile Fixes
PostPosted: 28.08.2011, 14:39 
Offline

Joined: 15.09.2010, 18:31
Posts: 53
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 1062 times
Top
 Profile  
Reply with quote  
 Post subject: Re: Compile Fixes
PostPosted: 09.03.2012, 02:05 
Offline

Joined: 27.02.2012, 10:49
Posts: 4
(Editor) there's a missing #include <stdio.h> in HordeSceneEditor/QStdOutListener.cpp

btw any plans to use a DVCS?


Top
 Profile  
Reply with quote  
 Post subject: Re: Compile Fixes
PostPosted: 09.03.2012, 08:31 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Thanks for the report. Currently we don't plan to change the vcs.


Top
 Profile  
Reply with quote  
 Post subject: Re: Compile Fixes
PostPosted: 27.03.2012, 18:59 
Offline

Joined: 27.02.2012, 10:49
Posts: 4
(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;


Top
 Profile  
Reply with quote  
 Post subject: Re: Compile Fixes
PostPosted: 21.11.2012, 20:34 
Offline

Joined: 08.06.2010, 14:17
Posts: 63
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Compile Fixes
PostPosted: 23.11.2012, 19:44 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Thanks, fixed it!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group