"key" was not declared in this scope #3705
Nashman222
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I got a small error that is preventing me from building:
bullet3/src/LinearMath/btSerializer.h:202:42: error: 'key' was not declared in this scope
There error is in reference to the line
const int* valuePtr = mTypeLookup.find(key);
The line right before that one is:
btHashString key(type);
So key is definitely declared in that scope,
funny enough it does compile fine if I change the name to key1.
This error also didn't show up until I included
btBulletDynamicsCommon.h
in my project and a libLinearMath.a seems to build ok without any changes.Currently tested on two computers running Linux using gcc 9.3
Seems to still happen on the latest version pulled from master aswell
Beta Was this translation helpful? Give feedback.
All reactions