Created
November 10, 2016 23:05
-
-
Save kashimAstro/c2e796ed7185651a98deb40819ba4872 to your computer and use it in GitHub Desktop.
config.make openframeworks PhysX3.3 NVIDIA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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