Hello,
I am completely new to openFrameworks and C++ so I am hoping this is not a dumb question :oops:
I am very keen to make a project using Memo’s MSA Fluid however when I try to compile the example I get the following error:
error: no matching function for call to `ofxSimpleGuiToo::addSlider(const char[18], float&, double, double, double)’|
from these 3 lines:
//gui.addSlider(“fs.viscocity”, fluidSolver.viscocity, 0.0, 0.01, 0.5);
//gui.addSlider(“fs.colorDiffusion”, fluidSolver.colorDiffusion, 0.0, 0.0003, 0.5);
//gui.addSlider(“fs.fadeSpeed”, fluidSolver.fadeSpeed, 0.0, 0.1, 0.5);
and this:
undefined reference to `MSA::ColorT::ColorT(MSA::ColorModel, float, float, float)’|
from this line:
fluidSolver.addColorAtIndex(index, drawColor * colorMult);
and I get the same from the similar line in the particle class.
If I comment these lines out then the example complies and runs the rest of the code.
I am using codeblocks on windows 7 and I am pretty sure I have the most recent version of the MSA Libs
Would anyone be able to tell me where I may be going wrong?
Thanks