8000 use of undeclared identifier '_window' · Issue #45 · uoip/pangolin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
use of undeclared identifier '_window' #45
Open
@NoonePauseferg

Description

@NoonePauseferg

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0