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

Does not compile with libpng 1.5 #2

Open
moepman opened this issue Jan 30, 2012 · 1 comment
Open

Does not compile with libpng 1.5 #2

moepman opened this issue Jan 30, 2012 · 1 comment

Comments

@moepman
Copy link

moepman commented Jan 30, 2012

Gish does not compile with libpng 1.5 (on linux) because the full definition of png_info_def is no longer visible to the application.

[ 98%] Building C object CMakeFiles/gish.dir/video/texture.c.o
/home/markus/workspace/gish/video/texture.c: In function ‘loadtexturepng’:
/home/markus/workspace/gish/video/texture.c:98:14: error: dereferencing pointer to incomplete type
/home/markus/workspace/gish/video/texture.c:102:14: error: dereferencing pointer to incomplete type
/home/markus/workspace/gish/video/texture.c:102:61: error: dereferencing pointer to incomplete type
/home/markus/workspace/gish/video/texture.c:106:14: error: dereferencing pointer to incomplete type
/home/markus/workspace/gish/video/texture.c:110:14: error: dereferencing pointer to incomplete type
/home/markus/workspace/gish/video/texture.c:114:14: error: dereferencing pointer to incomplete type
/home/markus/workspace/gish/video/texture.c:114:42: error: dereferencing pointer to incomplete type
/home/markus/workspace/gish/video/texture.c:118:14: error: dereferencing pointer to incomplete type
/home/markus/workspace/gish/video/texture.c:127:21: error: dereferencing pointer to incomplete type
/home/markus/workspace/gish/video/texture.c:128:21: error: dereferencing pointer to incomplete type
make[2]: *** [CMakeFiles/gish.dir/video/texture.c.o] Error 1

@Feared
Copy link

Feared commented Jun 24, 2012

This has been fixed in my fork to work with the latest libpng15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants