Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
config.make openframeworks PhysX3.3 NVIDIA
PHYSX = /path/PhysXSDK/
var = -I$(PHYSX)/Include
var += -L$(PHYSX)/Lib/linux64
var += -L$(PHYSX)/Bin/linux64
var += -L$(PHYSX)/Snippets/lib/linux64
var += -DPHYSX_PROFILE_SDK
var += -DRENDER_SNIPPET
var += -DPX_DEBUG
var += -DPX_CHECKED
var += -DPX_SUPPORT_VISUAL_DEBUGGER
var += -lSnippetRenderDEBUG
var += -lSnippetUtilsDEBUG
var += -lPhysX3DEBUG_x64
var += -lPhysX3CommonDEBUG_x64
var += -lPhysX3CookingDEBUG_x64
var += -lPhysX3CharacterKinematicDEBUG_x64
var += -lPhysX3ExtensionsDEBUG
var += -lPhysX3VehicleDEBUG
var += -lPhysXProfileSDKDEBUG
var += -lPhysXVisualDebuggerSDKDEBUG
var += -lPxTaskDEBUG
var += -lSnippetUtilsDEBUG
var += -lSnippetRenderDEBUG
PROJECT_CFLAGS = $(var)
PROJECT_LDFLAGS = -Wl,--start-group $(var) -Wl,--end-group
#Patch error compile: replace enum None with XNone and enum Success with XSuccess
#PATH_PHYSXSDK/Include/physxprofilesdk/PxProfileCompileTimeEventFilter.h: XNone, // the filter setting to kill all events
#PATH_PHYSXSDK/Include/physxvisualdebuggersdk/PvdObjectModelBaseTypes.h: struct XNone
#PATH_PHYSXSDK/Include/physxvisualdebuggersdk/PvdObjectModelBaseTypes.h: Option( XNone nothing = XNone() ) : mHasValue( false ) { (void)nothing; }
#PATH_PHYSXSDK/Include/physxvisualdebuggersdk/PvdObjectModelBaseTypes.h: XNone = 0,
#PATH_PHYSXSDK/Include/physxvisualdebuggersdk/PvdErrorCodes.h: XSuccess = 0,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.