Hello,
Here what i have done. i downloaded the Dark_Physics_GDK_260509
update and copied them in the lib and Include folders.
Then i added DarkPhysics.lib dxFluidRenderLib.lib to the Linker input denpendices.
Now it will complie but the Physics will not work.
Here is my Code.
#include "DarkGDK.h"
#include "DarkPhysics.h"
void DarkGDK ( void )
{
dbPhyStart ( );
dbSyncOn ( );
dbSyncRate ( 60 );
dbMakeObjectBox (1, 50, 1, 50);
//dbPhyMakeRigidBodyStaticBox ( 1 );
dbMakeObjectCube (2, 5);
dbPositionObject (2, 0, 10, -26);
dbPhyMakeRigidBodyStaticBox ( 2 );
dbPositionCamera (0, 10, -50);
while ( LoopGDK ( ) )
{
dbPhyUpdate ( );
if ( dbUpKey ( ) )
dbMoveCamera ( 1 );
if ( dbDownKey ( ) )
dbMoveCamera ( -1 );
dbSync ( );
}
return;
}
Here is my Error log
Build Log Build started: Project: phytest, Configuration: Debug|Win32
Command Lines Creating temporary file "c:\Documents and Settings\leroy\Desktop\testingmonitor\phytest\phytest\Debug\RSP00000534042160.rsp" with contents
[
/FD /EHsc /MTd /Fo"Debug\\" /Fd"Debug\vc90.pdb" /c /ZI /TP ".\Main.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\leroy\Desktop\testingmonitor\phytest\phytest\Debug\RSP00000534042160.rsp" /nologo /errorReport:prompt"
Creating temporary file "c:\Documents and Settings\leroy\Desktop\testingmonitor\phytest\phytest\Debug\RSP00000634042160.rsp" with contents
[
/OUT:"Debug\phytest.exe" /MANIFEST /MANIFESTFILE:"Debug\phytest.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /NODEFAULTLIB:"libcmtd" /NODEFAULTLIB:"msvcrt" /NODEFAULTLIB:"atls" /NODEFAULTLIB:"libcpmtd" /DEBUG /PDB:"c:\Documents and Settings\leroy\Desktop\testingmonitor\phytest\phytest\Debug\phytest.pdb" /SUBSYSTEM:WINDOWS /DYNAMICBASE /NXCOMPAT DarkPhysics.lib dxFluidRenderLib.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
".\Debug\Main.obj"
]
Creating command line "link.exe @"c:\Documents and Settings\leroy\Desktop\testingmonitor\phytest\phytest\Debug\RSP00000634042160.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Creating temporary file "c:\Documents and Settings\leroy\Desktop\testingmonitor\phytest\phytest\Debug\RSP00000734042160.rsp" with contents
[
/outputresource:".\Debug\phytest.exe;#1" /manifest
".\Debug\phytest.exe.intermediate.manifest"
]
Creating command line "mt.exe @"c:\Documents and Settings\leroy\Desktop\testingmonitor\phytest\phytest\Debug\RSP00000734042160.rsp" /nologo"
Creating temporary file "c:\Documents and Settings\leroy\Desktop\testingmonitor\phytest\phytest\Debug\BAT00000834042160.bat" with contents
[
@echo Manifest resource last updated at %TIME% on %DATE% > ".\Debug\mt.dep"
]
Creating command line """c:\Documents and Settings\leroy\Desktop\testingmonitor\phytest\phytest\Debug\BAT00000834042160.bat"""
Output Window Compiling...
Main.cpp
Linking...
DarkPhysics.lib(EngineUpdate.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
Generating code
Finished generating code
dxFluidRenderLib.lib(dxFluidRenderer.obj) : warning LNK4204: 'c:\Documents and Settings\leroy\Desktop\testingmonitor\phytest\phytest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
Embedding manifest...
Results Build log was saved at "file://c:\Documents and Settings\leroy\Desktop\testingmonitor\phytest\phytest\Debug\BuildLog.htm"
phytest - 0 error(s), 1 warning(s)
The box should fall but it just stays there.
Anyone have any idea's?
Thank you,
Leroy
Here i am!!!