hypeartist / fog

Automatically exported from code.google.com/p/fog
0 stars 0 forks source link

Build failed on debian amd64 #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Check out the SVN at r622
2. cd fog-read-only/Fog; mkdir build; cd build; cmake../
3. make

What is the expected output? What do you see instead?
A nominal compilation is expected. The out-of-tree build failed with:
In file included from 
/home/renaud/svnco/fog-read-only/Fog/Fog/Graphics/ImageIO/ImageIO_Png.cpp:28:
/home/renaud/svnco/fog-read-only/Fog/Fog/Graphics/ImageIO/ImageIO_Png_p.h:77: 
error: ‘png_longjmp_ptr’ has not been declared
/home/renaud/svnco/fog-read-only/Fog/Fog/Graphics/ImageIO/ImageIO_Png.cpp: In 
member function ‘virtual err_t 
Fog::ImageIO::PngDecoderDevice::readHeader()’:
/home/renaud/svnco/fog-read-only/Fog/Fog/Graphics/ImageIO/ImageIO_Png.cpp:284: 
error: invalid conversion from ‘void (*)(__jmp_buf_tag*, int)throw ()’ to 
‘int’
/home/renaud/svnco/fog-read-only/Fog/Fog/Graphics/ImageIO/ImageIO_Png.cpp: In 
member function ‘virtual err_t 
Fog::ImageIO::PngDecoderDevice::readImage(Fog::Image&)’:
/home/renaud/svnco/fog-read-only/Fog/Fog/Graphics/ImageIO/ImageIO_Png.cpp:355: 
error: invalid conversion from ‘void (*)(__jmp_buf_tag*, int)throw ()’ to 
‘int’
/home/renaud/svnco/fog-read-only/Fog/Fog/Graphics/ImageIO/ImageIO_Png.cpp: In 
member function ‘virtual err_t 
Fog::ImageIO::PngEncoderDevice::writeImage(const Fog::Image&)’:
/home/renaud/svnco/fog-read-only/Fog/Fog/Graphics/ImageIO/ImageIO_Png.cpp:546: 
error: invalid conversion from ‘void (*)(__jmp_buf_tag*, int)throw ()’ to 
‘int’
make[2]: *** [CMakeFiles/Fog.dir/Fog/Graphics/ImageIO/ImageIO_Png.cpp.o] Erreur 
1
make[1]: *** [CMakeFiles/Fog.dir/all] Erreur 2
make: *** [all] Erreur 2

What version of the product are you using? On what operating system?
SVN r622 on debian amd64 testing/unstable

Please provide any additional information below.

g++ (Debian 4.4.5-10) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cmake version 2.8.3

Original issue reported on code.google.com by renaud.a...@gmail.com on 15 Feb 2011 at 10:03

GoogleCodeExporter commented 8 years ago
Additional information: libpng version 1.2.44.

Original comment by renaud.a...@gmail.com on 15 Feb 2011 at 11:44

GoogleCodeExporter commented 8 years ago
Build complete using libpng version 1.5.1 (custom build).

Original comment by renaud.a...@gmail.com on 15 Feb 2011 at 11:52

GoogleCodeExporter commented 8 years ago
Thank you, marking as accepet. I think that there should be some message about 
a required version of libpng.

Original comment by kobalicek.petr on 11 Mar 2011 at 8:39