Created
September 2, 2014 17:04
-
-
Save toantran-ea/e1de4996e1b8d38eec4a to your computer and use it in GitHub Desktop.
Error on compiling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:02:11 **** Incremental Build of configuration Default for project PenGoPaint **** | |
/Users/toan/androiddev/android-ndk-r10/ndk-build all | |
[armeabi] Compile++ thumb: pengo_ndk <= CurveDrawing.cpp | |
In file included from jni/CurveDrawing.h:2:0, | |
from jni/CurveDrawing.cpp:1: | |
jni/Spline.h:28:2: error: 'size_t' does not name a type | |
size_t getNumPoints() const; | |
^ | |
In file included from jni/Spline.h:37:0, | |
from jni/CurveDrawing.h:2, | |
from jni/CurveDrawing.cpp:1: | |
jni/SplineInline.h:216:1: error: 'size_t' does not name a type | |
size_t Spline<T>::getNumPoints() const | |
^ | |
In file included from jni/CurveDrawing.cpp:1:0: | |
jni/CurveDrawing.h:25:37: error: 'size_t' has not been declared | |
int renderBrushes(Vector4 *points, size_t numPoints); | |
^ | |
jni/CurveDrawing.cpp: In member function 'void CurveRenderer::endRendering()': | |
jni/CurveDrawing.cpp:159:35: error: 'Spline4' has no member named 'getNumPoints' | |
int numPoints = mSmoothingSpline.getNumPoints(); | |
^ | |
jni/CurveDrawing.cpp: In member function 'void CurveRenderer::renderPoint(float, float, float, long int, float)': | |
jni/CurveDrawing.cpp:413:36: error: 'Spline4' has no member named 'getNumPoints' | |
int numPoints = mSmoothingSpline.getNumPoints(); | |
^ | |
jni/CurveDrawing.cpp: At global scope: | |
jni/CurveDrawing.cpp:575:5: error: prototype for 'int CurveRenderer::renderBrushes(Vector4*, size_t)' does not match any in class 'CurveRenderer' | |
int CurveRenderer::renderBrushes(Vector4 *points, size_t numPoints) | |
^ | |
In file included from jni/CurveDrawing.cpp:1:0: | |
jni/CurveDrawing.h:25:6: error: candidates are: int CurveRenderer::renderBrushes(Vector4*, int) | |
int renderBrushes(Vector4 *points, size_t numPoints); | |
^ | |
jni/CurveDrawing.cpp:558:5: error: int CurveRenderer::renderBrushes() | |
int CurveRenderer::renderBrushes() | |
^ | |
jni/CurveDrawing.cpp: In function 'jint Java_com_scopic_pengo_graphic_renderer_controller_CurveController_nativeGetNumSplinePts(JNIEnv*, jobject)': | |
jni/CurveDrawing.cpp:777:57: error: 'const Spline4' has no member named 'getNumPoints' | |
return CurveRenderer::instance()->getSmoothingSpline().getNumPoints(); | |
^ | |
make: *** [obj/local/armeabi/objs/pengo_ndk/CurveDrawing.o] Error 1 | |
00:02:11 Build Finished (took 745ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment