Skip to content
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

Building PhysX with cland v14 #587

Open
z80 opened this issue Jul 22, 2022 · 1 comment
Open

Building PhysX with cland v14 #587

z80 opened this issue Jul 22, 2022 · 1 comment

Comments

@z80
Copy link

z80 commented Jul 22, 2022

Hello!

On Ubuntu 22.04 the only clang available is v14. There are 2 problems using PhysX:

  1. Build fails with multiple errors saying method xxx is overriden but has no 'override' specifier. This can be fixed by removing "-Werror" flag from "physx/source/compiler/cmake/linux/CMakeLists.txt" line 31.

  2. Calling PxArticulationReducedCoordinate::computeGeneralizedMassMatrix( PxCache * ) method causes an executable to crash.

Both 1) and 2) do not happen on Ubuntu 20.02 with clang v10. It compiles without a problem and simulation runs with no issues.

Would one please recommend the right way to use PhysX with modern OS versions?

If it matters, the PhysX repository commit I'm using is "c3d5537bdebd6f5cd82fcaf87474b838fe6fd5fa".

Thank you!

@litezzzout
Copy link

I'm having the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants