Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Instantiation of function 'x' required here, here but no definition is available

$
0
0

@hamoid wrote:

Hi!

Why are these warnings shown by qtcreator in the editor, but it still compiles fine?
How should the code be changed so the warnings are gone?

    gui.setup();
    gui.add(nPasses.setup("nPasses",1,0,10)); // instantiation of function 'ofxSlider<int>::setup' required here, but no definition is available
    gui.add(offset.setup("offset",1.0,0,20.0));  // instantiation of function 'ofxSlider<float>::setup' required here, but no definition is available
    gui.loadFromFile("settings.xml");

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles