Game Development Community

physics.h': No such file or directory (solved)

by Aaron ward · in Game Mechanics Kit · 08/16/2011 (2:15 pm) · 3 replies

Solution for anyone else: Make sure you use the current files that support the current build of T3D or this will happen.

I have been trying for the past few hours to get GMK to work with the latest build of T3D.
Using Visual studio 2008; I follow the steps in the installation precisely but I always get the same error:

Error 1
fatal error C1083: Cannot open include file: 'T3D/logickingMechanics/physics/physics.h': No such file or directory
C:/game_mechanics_kit_1_2_8T3DEnginesourceT3DlogickingMechanicsphysicssoftBody.cpp
5 FPS Example DLL

(and 9 other similar not found errors)

Basically why can't these files be found even though I have included them in the both the project and the additional directories for both the C/C++ and the Linker.



Is this because the current version of T3D is not compatible with GMK out of the box?


One final problem I found: when I run the gmk.exe I get a square at the top right side of the playgui where it seems to have no lighting effects, I turned simple lighting on and it went away then I turned advanced lighting back on and the box appeared again, taking up 1/4 of my screen space.

As always, any help is greatly appreciated.



#1
08/17/2011 (11:27 pm)
did you physically add the files and folders to the source as well?
excuse the pun.
#2
08/19/2011 (9:22 am)
Yeah I did.
Also when I run the test mission the AI movement is stuttering a lot.
#3
08/24/2011 (11:52 am)
I was using the old files with the new build. Me = Stupid. Sorry