NVIDIAGameWorks / PhysX-3.4

NVIDIA PhysX SDK 3.4
https://www.nvidia.com/
2.35k stars 273 forks source link

XCode 10 Compile Error stdlibc++ #78

Closed scisci closed 5 years ago

scisci commented 5 years ago

When trying to compile under XCode 10 for osx 64 I am getting the following errors which seem to indicate PhysX requires libstc++ however it was removed in xcode 10.

Are there any plans to upgrade to libc++?

error: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Werror,-Wstdlibcxx-not-found]
In file included from /Users/xxxxxx/xcode/PhysX-3.4/PhysX_3.4/Source/LowLevel/software/src/PxsDefaultMemoryManager.cpp:30:
In file included from ../../LowLevel/software/include/PxsDefaultMemoryManager.h:34:
In file included from ../../LowLevel/software/include/PxsMemoryManager.h:34:
../../../../PxShared/include/foundation/PxPreprocessor.h:35:10: fatal error: 'ciso646' file not found
#include <ciso646>  
         ^~~~~~~~~
2 errors generated.
AlesBorovicka commented 5 years ago

Yes, hopefully in next patch update we try to address this issue. Regards, Ales

AlesBorovicka commented 5 years ago

This issue should be resolved with latest patch