Posts tagged Games
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. For default installations of Mac OS X, this isn’t going to cause any problems. But for people (like me) that chose to format their Mac’s hard drive as case-sensitive, there will be some initial build errors. Here are the ones I ran into with iT2D 1.4.1 and iT2D 1.5 Preview 1:
File: t2d/t2dParticleEffect.cc
Replace:
#include "math/mrect.h"
With:
#include "math/mRect.h"
File: platformiPhone/platformGL.h
Replace:
#include "platformIPhone/iPhoneGL2ES.h"
With:
#include "platformiPhone/iPhoneGL2ES.h"
File: platformiPhone/iPhoneProfiler.h
Replace:
#include "core/TorqueConfig.h"
With:
#include "core/torqueConfig.h"
File: platformiPhone/iPhoneUtil.h
Replace:
#include "game/net/tcpobject.h"
With:
#include "game/net/tcpObject.h"
File: platformiPhone/iPhoneConsole.h
Replace:
#include "Platform/event.h"
With:
#include "platform/event.h"
File: platformiPhone/iPhoneFont.mm
Replace:
#include "Math/mRect.h"
With:
#include "math/mRect.h"
File: platformiPhone/iPhoneMutex.mm
Replace:
#include "util/safedelete.h"
With:
#include "util/safeDelete.h"
File: platformiphone/menus/popupMenu.m”
Replace:
#include "platform/menus/popupmenu.h"
With:
#include "platform/menus/popupMenu.h"
