Ok! In the AppDelegate.ccp I call the doSomething() static method of the HelloWorld class…
And then in the doSomething() method I set the visibility of a CCSprite object “blueSquare”.
So, compiling the project I get this error: invalid use of member in ‘HelloWorld::blueSquare’ in static member function. Basically I can’t use blueSquare in that function.