frauzufall / ofxGuiExtended

ofParameter based GUI addon for openFrameworks; derived from the core OF ofxGui addon and ofxDOM.
MIT License
113 stars 30 forks source link

problem compiling examples #7

Closed martialgallorini closed 9 years ago

martialgallorini commented 9 years ago

I downloaded the source and gave it a try. I was unable to build the examples. Compiler throws the following error :

.../ofxGuiExtended/src/ofxCanvas.cpp:23:5: Use of undeclared identifier 'setNeedsRedraw'

frauzufall commented 9 years ago

Thanks for trying! That's strange. It works for me and the function is part of the inherited class ofxBaseGui. Is your repository up to date? I had not pushed all commits to github when I wrote the blog post.

martialgallorini commented 9 years ago

note : i am using oF 0.8.4 under OSX Yosemite and Xcode 6.1.1 i just grabbed the latest source from github I think you may use a different version (like the latest 0.9) as some functions seems deprecated

frauzufall commented 9 years ago

That's it. I use the current git version of OF. This also means I can't do anything about it, I'm sorry. I will include a note about this in the readme.

martialgallorini commented 9 years ago

Yes. There are also some deprecated functions like

img.loadImage() in oF 084 instead of img.load() in oF 09

ofRect() in oF 084 instead of ofDrawRectangle() in oF 09

and so on...

I just tried, and it is ok with oF 0.9 nightly

thanks