Stucuk wrote:Updated with Executor's latest additions:
Changes on 28.06.2010 by Dmitriy Bespalov
+ Updated version to 2.22 (No changes of header from 2.16)
+ Types 'single' replaced to 'float' for correct NEWTON_DOUBLE_PRECISION support
+ Some code style fixes
+ Updated joint library to 2.22 Beta
- Added CustomGetNewtonJoint
- Added DGRaycastVehicleInitNormalizeTireLateralForce
- Added DGRaycastVehicleInitNormalizeTireLongitudinalForce
Thank you, but there is an error on compiling:
...
...
Compiling NewtonImport.pas
delphinewton.inc(208,4) Warning: Illegal compiler directive "$THREADING"
NewtonImport.pas(156,12) Hint: Type "size_t" redefinition
Compiling NewtonImport_JointLibrary.pas
delphinewton.inc(208,4) Warning: Illegal compiler directive "$THREADING"
NewtonImport_JointLibrary.pas(115,146) Error: ENDIF without IF(N)DEF
NewtonImport_JointLibrary.pas(115,147) Fatal: Syntax error, ";" expected but "identifier JOINTLIBRARYDLL" found
and the cursor stops here (
Row #115 of NewtonImport_JointLibrary.pas):
function CustomGetNewtonJoint( const joint : PNewtonUserJoint ) : PNewtonJoint; cdecl; external{#IFDEF __GPC__}name 'CustomGetNewtonJoint'{$ELSE}JointLibraryDLL{$ENDIF __GPC__};
--> {#IFDEF __GPC__} instead of {$IFDEF __GPC__}
fixing this, it compiles and works