C++ Static Const Multiple Declaration Error In Eclipse For Android Ndk
I've read the similar questions, but the one that answers mine applies only to VisualStudio. I am using Eclipse and developing an Android application using Cocos2d-X, which is a fr
Solution 1:
The only way that error could occur is if you're including the .cpp file around. Else, your code is perfectly Standards-compliant. After all, the error implies that the constant was defined in Ball.o
, which I find very unlikely unless you included the cpp.
Post a Comment for "C++ Static Const Multiple Declaration Error In Eclipse For Android Ndk"