-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile on M1 using Xcode #543
Comments
The override compiler error was solved by adding below code in physx/source/compiler/cmake/Mac/CMakeLists.txt #TODO: Fix warnings IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") Although, most of the compiler errors were gone, it's throwing errors in SnippetRenderer.h #if PX_WINDOWS while compiling on m1 Mac, the code takes us to the #error platform not supported. I commented whole part expect #include<GLUT/glut.h> but while compiling, |
I am currently trying to compile on M1, did you ever figure this out? Also, the text to solve the first issue is weird, could you email it to me? I have been working on this for a couple of hours, a little frustrated. |
Eventually I was able to compile 2 of the Xcode projects but was unable to link them all together with the core Editor build. Give me sometime, will update here with the steps. |
Throws error "overrides a function but not marked 'override'"
Tried almost every possible solution found. Like adding '-Wno-inconsistent-missing-override' inside Xcode c++ other flags & updating the Cmakefile.txt inside Xcode project. Still the issue seems to persist.
example semantic error in XCode (must be more than 200+):
PhysX/physx/source/foundation/include/PsBroadcast.h:146:10: '~Broadcast' overrides a destructor but is not marked 'override'
Using terminal it throws following error:
CompileC /PhysX/physx/compiler/mac64/sdk_source_bin/PhysXSDK.build/debug/PhysXFoundation.build/Objects-normal/x86_64/PsUnixMutex.o PhysX/physx/source/foundation/src/unix/PsUnixMutex.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'PhysXFoundation' from project 'PhysXSDK')
The text was updated successfully, but these errors were encountered: