Comments (5)
Hi,
I tried to fix this in rev #881, but I'm not sure whether it helps, because I
have no access to the Linux machine at the moment (there can be more things
broken).
So please try rev #881 and post here another problems;)
Thanks!
Petr
Original comment by kobalicek.petr
on 3 Feb 2012 at 10:09
- Changed state: Accepted
from fog.
Hi, thanks for your help.
Ok, this error it fixed, but I have another error...
This error appear in revision r881 and r883...
[...]
[ 58%] Building CXX object
CMakeFiles/Fog.dir/Src/Fog/G2d/Imaging/Codecs/PngCodec.cpp.o
In file included from
/home/spire/workspace/fog-r881/Fog/Src/Fog/G2d/Imaging/Codecs/PngCodec.cpp:25:0:
/home/spire/workspace/fog-r881/Fog/Src/Fog/G2d/Imaging/Codecs/PngCodec_p.h:77:65
: error: ‘png_longjmp_ptr’ has not been declared
/home/spire/workspace/fog-r881/Fog/Src/Fog/G2d/Imaging/Codecs/PngCodec.cpp: In
member function ‘virtual err_t Fog::PngDecoder::readHeader()’:
/home/spire/workspace/fog-r881/Fog/Src/Fog/G2d/Imaging/Codecs/PngCodec.cpp:286:7
: error: invalid conversion from ‘void (*)(__jmp_buf_tag*, int)throw ()’ to
‘int’ [-fpermissive]
/home/spire/workspace/fog-r881/Fog/Src/Fog/G2d/Imaging/Codecs/PngCodec.cpp: In
member function ‘virtual err_t Fog::PngDecoder::readImage(Fog::Image&)’:
/home/spire/workspace/fog-r881/Fog/Src/Fog/G2d/Imaging/Codecs/PngCodec.cpp:351:7
: error: invalid conversion from ‘void (*)(__jmp_buf_tag*, int)throw ()’ to
‘int’ [-fpermissive]
/home/spire/workspace/fog-r881/Fog/Src/Fog/G2d/Imaging/Codecs/PngCodec.cpp: In
member function ‘virtual err_t Fog::PngEncoder::writeImage(const
Fog::Image&)’:
/home/spire/workspace/fog-r881/Fog/Src/Fog/G2d/Imaging/Codecs/PngCodec.cpp:542:7
: error: invalid conversion from ‘void (*)(__jmp_buf_tag*, int)throw ()’ to
‘int’ [-fpermissive]
make[2]: *** [CMakeFiles/Fog.dir/Src/Fog/G2d/Imaging/Codecs/PngCodec.cpp.o]
Error 1
make[1]: *** [CMakeFiles/Fog.dir/all] Error 2
make: *** [all] Error 2
Original comment by [email protected]
on 3 Feb 2012 at 1:24
from fog.
Hi,
this issue is known for older versions of libpng. The missing symbols were
added in libpng 1.5. Stable version of Fog is expected for distant future, so
it was decided to build against newer version of libraries to fix potential
issues.
PNG 1.4 -> 1.5 changes are here:
http://www.libpng.org/pub/png/src/libpng-1.4.x-to-1.5.x-summary.txt
So please try to upgrade your libpng version. 1.5 is more than one year old, I
don't think this should be a problem ;)
Hope that helps
Petr
Original comment by kobalicek.petr
on 3 Feb 2012 at 1:36
from fog.
Hi, Wow.
In Ubuntu 11.10/Linux Mint 12 not exist a repository of libpng 1.5.
The standard libpng are 1.2.46.
But ok, I've upgraded from sources.
My new error are:
[ 94%] Building CXX object
CMakeFiles/Fog.dir/Src/Fog/UI/Engine/X11UIEngine.cpp.o
/home/spire/workspace/fog-read-only/Fog/Src/Fog/UI/Engine/X11UIEngine.cpp: In
member function ‘virtual void
Fog::X11UIEngine::doBlitWindow(Fog::UIEngineWindow*)’:
/home/spire/workspace/fog-read-only/Fog/Src/Fog/UI/Engine/X11UIEngine.cpp:988:23
: error: ‘struct Fog::ImageBits’ has no member named ‘size’
make[2]: *** [CMakeFiles/Fog.dir/Src/Fog/UI/Engine/X11UIEngine.cpp.o] Error 1
make[1]: *** [CMakeFiles/Fog.dir/all] Error 2
make: *** [all] Error 2
Thanks!
Original comment by [email protected]
on 3 Feb 2012 at 3:19
from fog.
Oh, okay :)
I tried to fix the error. But anyway, if you are planning to use Fog inside the
Qt application, then you don't need to build Fog-UI module, in that case just
write your own configure script, based on configure-unix-makefiles-dbg.sh and
disable UI (delete FOG_BUILD_UI part from cmake args).
Hope that helps ;)
Btw Fog is not finished library and there is quite poor support for text at the
moment, but the library is improving day by day.
Best
Petr
Original comment by kobalicek.petr
on 3 Feb 2012 at 3:39
from fog.
Related Issues (20)
- Compilation Failed on MinGW HOT 2
- About onPrepare,onPrepare,onPattern HOT 2
- A patch to improve 64-bit and standards compliance for MingW64 target HOT 1
- A Patch for Image Codecs to compile under MingW64 GCC 4.6.2 HOT 4
- Forcing inlining gives an error with MingW64 compiler HOT 12
- windows MinGW release version can't compile HOT 14
- how to render images in skia ] HOT 2
- about layout and button HOT 3
- Framework not compiling on Mac Platform HOT 3
- Support Qt4 bench also on other OSs than Linux HOT 2
- Several files reference files with names in wrong letter case HOT 3
- Compilation errors with OTCore.h HOT 2
- OSX build fails because of two _FOG_NO_COPY() uses HOT 1
- Windows compile error HOT 1
- Image_writeToStream leaks reference to stream HOT 1
- control87 errors on MinGW HOT 2
- Many errors HOT 3
- _FOG_RASTER_IMAGE_PARAMS is incorrect HOT 1
- ‘__m64’ does not name a type on Linux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fog.