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

Error compiling skia on Ubuntu 12.10 64 bits #326

Closed
chesstrian opened this issue Apr 4, 2013 · 6 comments
Closed

Error compiling skia on Ubuntu 12.10 64 bits #326

chesstrian opened this issue Apr 4, 2013 · 6 comments

Comments

@chesstrian
Copy link

@chesstrian chesstrian commented Apr 4, 2013

After install some additional libraries:

sudo apt-get install libpng12-dev libfreetype6-dev libfontconfig1-dev libglib2.0-dev libpango1.0-dev

and compile:

make

I got this error:

/servo/src/skia/src/gpu/gl/GrGLCreateNullInterface.cpp: En la función ‘const GrGLInterface* GrGLCreateNullInterface()’:
/servo/src/skia/src/gpu/gl/GrGLCreateNullInterface.cpp:457:36: error: conversión inválida de ‘GrGLvoid ()(GrGLuint, GrGLsizei, const char__, const GrGLint) {aka void ()(unsigned int, int, const char__, const int)}’ a ‘void ()(unsigned int, int, const char const_, const int_)’ [-fpermissive]
In file included from /servo/src/skia/src/gpu/gl/GrGLCreateNullInterface.cpp:9:0:
/servo/src/skia/include/gpu/gl/GrGLInterface.h:116:15: error: argumento de inicialización 1 de ‘GrGLInterface::GLPtr<FNPTR_TYPE> GrGLInterface::GLPtr<FNPTR_TYPE>::operator=(FNPTR_TYPE) [con FNPTR_TYPE = void ()(unsigned int, int, const char const_, const int_); GrGLInterface::GLPtr<FNPTR_TYPE> = GrGLInterface::GLPtr<void ()(unsigned int, int, const char const*, const int*)>]’ [-fpermissive]

@metajack
Copy link
Contributor

@metajack metajack commented Apr 4, 2013

A fix for this was just committed. Can you try again?

@chesstrian
Copy link
Author

@chesstrian chesstrian commented Apr 4, 2013

Cleaning and compiling again.

Edited: Same error.

@jmgrosen
Copy link

@jmgrosen jmgrosen commented Apr 4, 2013

Same problem here, on OS X 10.8.3 64bit.

@JamieKnight
Copy link
Contributor

@JamieKnight JamieKnight commented Apr 4, 2013

I saw the same issue earlier on mac 10.8.2, was just about to update the other ticket (#322 I think).

Sent from my iPhone

On 4 Apr 2013, at 22:31, jmgrosen notifications@github.com wrote:

Same problem here, on OS X 10.8.3 64bit.


Reply to this email directly or view it on GitHub.

@jdm
Copy link
Member

@jdm jdm commented Apr 4, 2013

Oops, need to update the skia submodule. This can be worked around locally by going into src/skia and pulling.

@chesstrian
Copy link
Author

@chesstrian chesstrian commented Apr 4, 2013

82a728b resolves this issue. 👍

@chesstrian chesstrian closed this Apr 4, 2013
ChrisParis pushed a commit to ChrisParis/servo that referenced this issue Sep 7, 2014
…urce-selection

Add media resource selection tests
glennw pushed a commit to glennw/servo that referenced this issue Jan 16, 2017
clean up a compile error in the border fragment shader
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
5 participants
You can’t perform that action at this time.