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

error in latest OF: non-class type ‘ofCoreEvents&() #3

Open
sphaero opened this issue Jun 7, 2012 · 0 comments
Open

error in latest OF: non-class type ‘ofCoreEvents&() #3

sphaero opened this issue Jun 7, 2012 · 0 comments

Comments

@sphaero
Copy link

sphaero commented Jun 7, 2012

In the develop branch it fails on ofEvents...

ofxTwBar.cpp:76:25: error: request for member ‘windowResized’ in ‘ofEvents’, which is of non-class type ‘ofCoreEvents&()’

changing lines like ofAddListener(ofEvents.windowResized, this, &ofxTwBar::resize);

to

ofAddListener(ofEvents().windowResized, this, &ofxTwBar::resize);

fixes it... AFAICT

Also I tested your addon with AntTWB 1.14 and it works fine from what I've found...

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