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

use of undeclared identifier '_window' #45

Open
NoonePauseferg opened this issue Mar 10, 2022 · 1 comment
Open

use of undeclared identifier '_window' #45

NoonePauseferg opened this issue Mar 10, 2022 · 1 comment

Comments

@NoonePauseferg
Copy link

when I try to make pangolin, I get this error:
pangolin/src/display/device/PangolinNSGLView.mm:75:54: error: use of undeclared identifier '_window'

this part of code:
-(void)reshape
1 {
74 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
1 if ( [self wantsBestResolutionOpenGLSurface] && [_window respondsToSelector:@selector(backingScaleFactor) ] )
2 backing_scale = [_window backingScaleFactor];
3 else
4 #endif
5 backing_scale = 1.0;
6
7 pangolin::process::Resize(self.bounds.size.width * backing_scale, self.bounds.size.height * backing_scale);
8
9 [[self openGLContext] update];
10 }

I try to just comment this stuff and all was cool, but when I run HellowPangolin.py, I get only red window

help plz, mb I need to rename this variable?

@freeklinssen
Copy link

same problem :(

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