solved
Last edited on
Just a guess, SolutionNLE::getSolution() needs to be declared like this @ line 4:
float getSolution() const;
At line 22, you are declaring a static member function that returns a const pointer. You can only call const functions on that pointer.