GMK 1.2.4 Installation Error
by Boğaz Harbi · in Game Mechanics Kit · 09/11/2009 (10:03 am) · 22 replies
Hi Friends, GMK I got some errors while installing the 1.2.4 version. I have read the installation guide and there I applied exactly as written ones. Also on my computer installed the latest version of PhysX SDK, and ultimately gives an error like this:
Error 59 fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory c:\torque\torque 3d 2009 beta 5\engine\source\t3d\physics\physx\px.h 31 GMK1 DLL
Pointed part of the error code:
Please help me for this problem solving.
Thanks for your attentions.
Error 59 fatal error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory c:\torque\torque 3d 2009 beta 5\engine\source\t3d\physics\physx\px.h 31 GMK1 DLL
Pointed part of the error code:
//
// This PhysX implementation for Torque was originally based on
// the "PhysX in TGEA" resource written by Shannon Scarvaci.
//
// http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12711
//
#ifndef _PHYSX_H_
#define _PHYSX_H_
/*
#ifndef _TORQUE_TYPES_H_
# include "platform/types.h"
#endif
*/
#if defined(TORQUE_OS_MAC) && !defined(__APPLE__)
#define __APPLE__
#elif defined(TORQUE_OS_LINUX) && !defined(LINUX)
#define LINUX
#elif defined(TORQUE_OS_WIN32) && !defined(WIN32)
#define WIN32
#endif
#ifndef NX_PHYSICS_NXPHYSICS
#include <NxPhysics.h>
#endif
#ifndef NX_FOUNDATION_NXSTREAM
#include <NxStream.h>
#endif
#ifndef NX_COOKING_H
#include <NxCooking.h>
#endif
#ifndef NX_FOUNDATION_NXUSEROUTPUTSTREAM
#include <NxUserOutputStream.h>
#endif
#pragma comment(lib, "PhysXLoader.lib")
#pragma comment(lib, "NxCooking.lib")
/// The single global physx sdk object for this process.
extern NxPhysicsSDK *gPhysicsSDK;
enum PxGroups
{
PxGroup_Default,
PxGroup_ClientOnly,
};
#endif // _PHYSX_H_Please help me for this problem solving.
Thanks for your attentions.
About the author
We are working on FPS game project called Boğaz Harbi : Epic of Gallipoli War at Kodgraf Game Studio in Ankara, Turkey. http://www.bogazharbi.com/en http://www.bogazharbigame.com http://twitter.com/bogazharbigame http://facebook.com/bogazharbigame
#22
Finally worked, now I will add the bullet feature. We are looking forward to the new version for T3D 1.0.
10/01/2009 (4:15 am)
@YuriFinally worked, now I will add the bullet feature. We are looking forward to the new version for T3D 1.0.
Torque 3D Owner Yuri Dobronravin
And what about creating a project from Full Template and installing GMK on it? I just wonder whether you able to run GMK without PhysX support or with bullet physics?