请问 不用vs和cygwin ,Eclipse 编译后出现错误
cocos2d-x 2.2.2
ndk 9
jni/../../Classes/Player.cpp: In member function 'virtual void Player::ccTouchMoved(cocos2d::CCTouch*, cocos2d::CCEvent*)':
jni/../../Classes/Player.cpp:75:17: error: 'max' was not declared in this scope
jni/../../Classes/Player.cpp:75:17: note: suggested alternative:
D:/cocos2d-x/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_algobase.h:254:5: note: 'std::max'
jni/../../Classes/Player.cpp:76:17: error: 'min' was not declared in this scope
jni/../../Classes/Player.cpp:76:17: note: suggested alternative:
D:/cocos2d-x/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_algobase.h:233:5: note: 'std::min'
make.exe: *** Error 1
完全不知道怎麼辦…