thecocce / fog

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

Linux error when compile #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, I'm not able to complile Fog libraries on my system.
I would like use Fog in my Qt Application because QGraphicsView is very slow 
for my drawings.
Can I help me? Thanks in advance. :D

What steps will reproduce the problem?
1. svn co r880

2. Configure
spire@Johnny /opt/fog-read-only/Fog/Util $ sh configure-unix-makefiles-dbg.sh 
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Created Fog-Framework project (FOG_BUILD_SLAVE not enabled).

== ====================================================
== [Fog-Framework - Normal Build (Debug)]
== ====================================================

-- Build Slave - Disabled
-- Build Nothing - Disabled
-- Build Static - Disabled
-- Build Fog/UI - Enabled
-- Build Fog/UI(X11) - Enabled

-- Initializing FOG_DIR=/opt/fog-read-only/Fog
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Detected Compiler - GNU
-- Performing Test FOG_CC_HAS_CPP0X
-- Performing Test FOG_CC_HAS_CPP0X - Success
-- Performing Test FOG_CC_HAS_FLTO
-- Performing Test FOG_CC_HAS_FLTO - Success
-- Performing Test FOG_CC_HAS_INLINE_FUNCTIONS
-- Performing Test FOG_CC_HAS_INLINE_FUNCTIONS - Success
-- Performing Test FOG_CC_HAS_FMERGE_ALL_CONSTANTS
-- Performing Test FOG_CC_HAS_FMERGE_ALL_CONSTANTS - Success
-- Performing Test FOG_CC_HAS_FNO_KEEP_STATIC_CONSTS
-- Performing Test FOG_CC_HAS_FNO_KEEP_STATIC_CONSTS - Success
-- Performing Test FOG_CC_HAS_WINLINE
-- Performing Test FOG_CC_HAS_WINLINE - Success
-- Performing Test FOG_CC_HAS_WNO_ENUM_COMPARE
-- Performing Test FOG_CC_HAS_WNO_ENUM_COMPARE - Success
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Check size of void*
-- Check size of void* - done
-- Looking for include files FOG_HAVE_FLOAT_H
-- Looking for include files FOG_HAVE_FLOAT_H - found
-- Looking for include files FOG_HAVE_LIMITS_H
-- Looking for include files FOG_HAVE_LIMITS_H - found
-- Looking for include files FOG_HAVE_STDARG_H
-- Looking for include files FOG_HAVE_STDARG_H - found
-- Looking for include files FOG_HAVE_STDINT_H
-- Looking for include files FOG_HAVE_STDINT_H - found
-- Looking for include files FOG_HAVE_UNISTD_H
-- Looking for include files FOG_HAVE_UNISTD_H - found
-- Looking for include files FOG_HAVE_FENV_H
-- Looking for include files FOG_HAVE_FENV_H - found
-- Looking for include files FOG_HAVE_DLFCN_H
-- Looking for include files FOG_HAVE_DLFCN_H - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Configuring Fog/Core
   Added optimized file Src/Fog/Core/Tools/List_SSE2.cpp (SSE2)
-- Configuring Fog/G2d
   Added optimized file Src/Fog/G2d/Geometry/PathClipper_SSE.cpp (SSE)
   Added optimized file Src/Fog/G2d/Geometry/Transform_SSE.cpp (SSE)
   Added optimized file Src/Fog/G2d/Geometry/PathClipper_SSE2.cpp (SSE2)
   Added optimized file Src/Fog/G2d/Geometry/Transform_SSE2.cpp (SSE2)
   Added optimized file Src/Fog/G2d/Imaging/ImageResize_SSE2.cpp (SSE2)
   Added optimized file Src/Fog/G2d/Imaging/Filters/FeColorMatrix_SSE.cpp (SSE)
-- Looking for include files FOG_HAVE_LIBJPEG
-- Looking for include files FOG_HAVE_LIBJPEG - found
-- Looking for include files FOG_HAVE_LIBPNG
-- Looking for include files FOG_HAVE_LIBPNG - found
   Added optimized file Src/Fog/G2d/Painting/RasterPaintEngine_SSE2.cpp (SSE2)
   Added optimized file Src/Fog/G2d/Source/Color_SSE2.cpp (SSE2)
-- Looking for include files FOG_HAVE_FONTCONFIG
-- Looking for include files FOG_HAVE_FONTCONFIG - found
   Added optimized file Src/Fog/G2d/Tools/Region_SSE2.cpp (SSE2)
-- Configuring Fog/UI
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/fog-read-only/Fog/Build
spire@Johnny /opt/fog-read-only/Fog/Util $ 

3. Compile

spire@Johnny /opt/fog-read-only/Fog/Util $ cd ../Build/
spire@Johnny /opt/fog-read-only/Fog/Build $ make
Scanning dependencies of target Fog
[  0%] Building CXX object CMakeFiles/Fog.dir/Src/Fog/Core/Dom/Dom.cpp.o
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘virtual 
size_t Fog::DomElement::_getPropertyIndex(const Fog::InternedStringW&) const’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: ‘<::’ cannot 
begin a template-argument list [-fpermissive]
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: note: ‘<:’ is an 
alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: note: (if you use 
‘-fpermissive’ G++ will accept your code)
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘virtual 
size_t Fog::DomElement::_getPropertyIndex(const Fog::CharW*, size_t) const’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: ‘<::’ cannot 
begin a template-argument list [-fpermissive]
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: note: ‘<:’ is an 
alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘virtual 
err_t Fog::DomElement::_getPropertyInfo(size_t, Fog::PropertyInfo&) const’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: ‘<::’ cannot 
begin a template-argument list [-fpermissive]
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: note: ‘<:’ is an 
alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘virtual 
err_t Fog::DomElement::_getProperty(size_t, Fog::StringW&) const’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: ‘<::’ cannot 
begin a template-argument list [-fpermissive]
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: note: ‘<:’ is an 
alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘virtual 
err_t Fog::DomElement::_setProperty(size_t, const Fog::StringW&)’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: ‘<::’ cannot 
begin a template-argument list [-fpermissive]
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: note: ‘<:’ is an 
alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: expected ‘<’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: expected 
type-specifier before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: expected ‘>’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: expected ‘(’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: expected 
identifier before ‘:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: expected ‘]’ 
before ‘)’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In lambda function:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: expected ‘{’ 
before ‘)’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘virtual 
err_t Fog::DomElement::_setProperty(size_t, const Fog::StringW&)’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: expected ‘)’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘virtual 
err_t Fog::DomElement::_resetProperty(size_t)’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: error: ‘<::’ cannot 
begin a template-argument list [-fpermissive]
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1913:1: note: ‘<:’ is an 
alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘size_t 
Fog::DomElement::_handleProperty(size_t, const void*, void*)’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected ‘<’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected 
type-specifier before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected ‘>’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected ‘(’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected 
identifier before ‘:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected ‘]’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In lambda function:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected ‘{’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘size_t 
Fog::DomElement::_handleProperty(size_t, const void*, void*)’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected ‘)’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected ‘<’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected 
type-specifier before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected ‘>’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected ‘(’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected 
identifier before ‘:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected ‘]’ 
before ‘,’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In lambda function:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1914:3: error: expected ‘{’ 
before ‘,’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘size_t 
Fog::DomElement::_handleProperty(size_t, const void*, void*)’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected ‘<’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected 
type-specifier before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected ‘>’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected ‘(’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected 
identifier before ‘:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected ‘]’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In lambda function:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected ‘{’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘size_t 
Fog::DomElement::_handleProperty(size_t, const void*, void*)’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected ‘)’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected ‘<’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected 
type-specifier before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected ‘>’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected ‘(’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected 
identifier before ‘:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected ‘]’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In lambda function:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected ‘{’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘size_t 
Fog::DomElement::_handleProperty(size_t, const void*, void*)’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1915:3: error: expected ‘)’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected ‘<’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected 
type-specifier before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected ‘>’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected ‘(’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected 
identifier before ‘:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected ‘]’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In lambda function:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected ‘{’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘size_t 
Fog::DomElement::_handleProperty(size_t, const void*, void*)’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected ‘)’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected ‘<’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected 
type-specifier before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected ‘>’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected ‘(’ 
before ‘<:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected 
identifier before ‘:’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected ‘]’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In lambda function:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected ‘{’ 
before ‘;’ token
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp: In member function ‘size_t 
Fog::DomElement::_handleProperty(size_t, const void*, void*)’:
/opt/fog-read-only/Fog/Src/Fog/Core/Dom/Dom.cpp:1916:1: error: expected ‘)’ 
before ‘;’ token
make[2]: *** [CMakeFiles/Fog.dir/Src/Fog/Core/Dom/Dom.cpp.o] Error 1
make[1]: *** [CMakeFiles/Fog.dir/all] Error 2
make: *** [all] Error 2
spire@Johnny /opt/fog-read-only/Fog/Build $ 

What version of the product are you using? On what operating system?
I'm using Linux Mint 12 based on Ubuntu 11.10

Please provide any additional information below.
gcc/g++ 4.6.1

Original issue reported on code.google.com by claudio....@gmail.com on 3 Feb 2012 at 2:09

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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 claudio....@gmail.com on 3 Feb 2012 at 1:24

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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 claudio....@gmail.com on 3 Feb 2012 at 3:19

GoogleCodeExporter commented 8 years ago
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