Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build the android port of servo on Mac and Ubuntu. #3944

Closed
ghost opened this issue Nov 9, 2014 · 0 comments
Closed

Can't build the android port of servo on Mac and Ubuntu. #3944

ghost opened this issue Nov 9, 2014 · 0 comments

Comments

@ghost
Copy link

@ghost ghost commented Nov 9, 2014

ToT currently breaks at:

src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp: In function 'const GrGLInterface* GrGLCreateNativeInterface()': src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp:79:36: error: invalid conversion from 'void (*)(GLuint, GLsizei, const GLchar* const*, const GLint*) {aka void (*)(unsigned int, int, char const* const*, int const*)}' to 'void (*)(unsigned int, int, char const**, int const*)' [-fpermissive] include/gpu/gl/GrGLInterface.h:116:15: error: initializing argument 1 of 'GrGLInterface::GLPtr GrGLInterface::GLPtr::operator=(FNPTR_TYPE) [with FNPTR_TYPE = void (*)(unsigned int, int, char const**, int const*), GrGLInterface::GLPtr = GrGLInterface::GLPtr]' [-fpermissive] make[1]: *** [/Volumes/lab101/FOSS/Servo/ports/android/glut_app/target/arm-linux-androideabi/native/skia-sys-60a65b28f3cfaa09/src/gpu/gl/android/GrGLCreateNativeInterface_android.o] Error 1 make[1]: *** Waiting for unfinished jobs....

I think we need to turn GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE on for resolving the above build errors.

My development environment is:

Mac OS X Yosemite 10.10
Ubuntu 14.04 64 Bits
Android SDK 21
Android NDK r10c
GCC 4.8.2
@ghost ghost changed the title Can't build the android port of servo on Mac OS. Can't build the android port of servo on Mac and Ubuntu. Nov 11, 2014
@ghost ghost closed this Dec 3, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
and others
You can’t perform that action at this time.