iDevGames Forums
iT2D 1.x | Build on Case-Sensitive file system - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Programming Languages & Scripting (/forum-8.html)
+--- Thread: iT2D 1.x | Build on Case-Sensitive file system (/thread-8953.html)



iT2D 1.x | Build on Case-Sensitive file system - Nobody - May 14, 2011 12:01 PM

(Pulled from my blog at http://minalien.com/2011/05/itgb-include-case-sensitivity-fix/)

iTGB, the iOS version of GarageGames' Torque 2D game engine (also known as Torque Game Builder), has some case-sensitivity issues within its #include directives.

Here are the ones I ran into with iT2D 1.4.1 and iT2D 1.5 Preview 1:

File: t2d/t2dParticleEffect.cc
Replace:
Code:
#include "math/mrect.h"
With:
Code:
#include "math/mRect.h"

File: platformiPhone/platformGL.h
Replace:
Code:
#include "platformIPhone/iPhoneGL2ES.h"
With:
Code:
#include "platformiPhone/iPhoneGL2ES.h"

File: platformiPhone/iPhoneProfiler.h
Replace:
Code:
#include "core/TorqueConfig.h"
With:
Code:
#include "core/torqueConfig.h"

File: platformiPhone/iPhoneUtil.h
Replace:
Code:
#include "game/net/tcpobject.h"
With:
Code:
#include "game/net/tcpObject.h"

File: platformiPhone/iPhoneConsole.h
Replace:
Code:
#include "Platform/event.h"
With:
Code:
#include "platform/event.h"

File: platformiPhone/iPhoneFont.mm
Replace:
Code:
#include "Math/mRect.h"
With:
Code:
#include "math/mRect.h"

File: platformiPhone/iPhoneMutex.mm
Replace:
Code:
#include "util/safedelete.h"
With:
Code:
#include "util/safeDelete.h"

File: platformiphone/menus/popupMenu.m"
Replace:
Code:
#include "platform/menus/popupmenu.h"
With:
Code:
#include "platform/menus/popupMenu.h"