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

Linux Compile Error - getRelativeTransform #388

Open
GregSlazinski opened this issue Jan 28, 2021 · 1 comment
Open

Linux Compile Error - getRelativeTransform #388

GregSlazinski opened this issue Jan 28, 2021 · 1 comment

Comments

@GregSlazinski
Copy link

In file included from /home/greg/Desktop/Esenthel/ThirdPartyLibs/PhysX/physx/source/geomutils/src/GuMTD.cpp:53:
In file included from /home/greg/Desktop/Esenthel/ThirdPartyLibs/PhysX/physx/source/geomutils/src/pcm/GuPCMContactGen.h:38:
/home/greg/Desktop/Esenthel/ThirdPartyLibs/PhysX/physx/source/geomutils/src/gjk/GuGJKType.h:154:76: error: binding reference of type 'Ps::aos::PsMatTransformV' to value of type 'const Ps::aos::PsMatTransformV' drops 'const' qualifier
                PX_FORCE_INLINE Ps::aos::PsMatTransformV& getRelativeTransform(){ return mAToB; }
                                                                                         ^~~~~
1 error generated.

@GregSlazinski
Copy link
Author

PX_FORCE_INLINE Ps::aos::PsMatTransformV& getRelativeTransform(){ return mAToB; }
should have const?
PX_FORCE_INLINE const Ps::aos::PsMatTransformV& getRelativeTransform(){ return mAToB; }

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

1 participant