What steps will reproduce the problem?
Compile using cmake .
What is the expected output? What do you see instead?
During compilation, the following error message occurs:
error: ‘int_p_NULL’ was not declared in this scope
What version of the product are you using? On what operating system?
gilviewer revision 120
Arch Linux, kernel 2.6.35
gcc 4.5
libpng 1.4.3
Please provide any additional information below.
This is an issue within the GIL extension; libpng 1.4 dropped declaration for
int_p_NULL; the following needs to be added within GIL or before inclusion of
GIL headers:
#define int_p_NULL (int*)NULL
Reference: http://libpng.sourceforge.net/ANNOUNCE-1.4.1.txt