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

kaa.beacon.libthumb fails to compile with libpng-1.6 #1

Open
g1itch opened this issue Jul 20, 2014 · 0 comments
Open

kaa.beacon.libthumb fails to compile with libpng-1.6 #1

g1itch opened this issue Jul 20, 2014 · 0 comments

Comments

@g1itch
Copy link

g1itch commented Jul 20, 2014

I installed libpng-1.2, 1.5 and 1.6 but kaa.beacon.libthumb tries to compile with libpng-1.6 and fails. The messages are:

building 'kaa.beacon.libthumb' extension
x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/usr/include/libpng16 -I/usr/include/python2.7 -c src/extensions/libthumb.c -o build/temp.linux-x86_64-2.7/src/extensions/libthumb.o -Wall
src/extensions/libthumb.c: In function ‘epeg_thumbnail’:
src/extensions/libthumb.c:103:5: warning: passing argument 2 of ‘_png_write’ discards ‘const’ qualifier from pointer target type [enabled by default]
src/extensions/libthumb.c:54:12: note: expected ‘unsigned int *’ but argument is of type ‘const void *’
src/extensions/libthumb.c: In function ‘initlibthumb’:
src/extensions/libthumb.c:269:15: warning: variable ‘m’ set but not used [-Wunused-but-set-variable]
x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/usr/include/libpng16 -I/usr/include/python2.7 -c src/extensions/libpng.c -o build/temp.linux-x86_64-2.7/src/extensions/libpng.o -Wall
src/extensions/libpng.c: In function ‘_png_write’:
src/extensions/libpng.c:74:11: error: dereferencing pointer to incomplete type
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
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

1 participant