Project

General

Profile

Bug #3069

Wt compile error: cannot convert ‘PangoFontMap*’ to ‘PangoFT2FontMap*’ for argument ‘1’ to ‘PangoContext* pango_ft2_font_map_create_context

Added by Anonymous over 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05/05/2014
Due date:
% Done:

0%

Estimated time:

Description

Ran into this error well into a build of Wt libraries:

Building CXX object src/CMakeFiles/wt.dir/Wt/FontSupportPango.o

/home/keith/boost1.55.0_inst/wt-3.3.2/src/Wt/FontSupportPango.C: In constructor 'Wt::FontSupport::FontSupport(Wt::WPaintDevice*)':

/home/keith/boost1.55.0_inst/wt-3.3.2/src/Wt/FontSupportPango.C:105: error: cannot convert 'PangoFontMap*' to 'PangoFT2FontMap*' for argument '1' to 'PangoContext* pango_ft2_font_map_create_context(PangoFT2FontMap*)'

make[2]: * [src/CMakeFiles/wt.dir/Wt/FontSupportPango.o] Error 1

make[1]: * [src/CMakeFiles/wt.dir/all] Error 2

make: * [all] Error 2

I'm building static libs to use on an embedded system. I started the build like this:

cmake \

-D MULTI_THREADED=ON \

-D RUNDIR=/var/www/wt \

-D WEBUSER=tkweb \

-D WEBGROUP=tkweb \

-D BOOST_ROOT=/home/keith/boost1.55.0_inst/boost_1_55_0/stage \

-D BOOST_LIBRARYDIR=/home/keith/boost1.55.0_inst/boost_1_55_0/stage/lib \

-D BOOST_INCLUDEDIR=/home/keith/boost1.55.0_inst/boost_1_55_0/boost \

-D SHARED_LIBS=OFF \

-D CONNECTOR_FCGI=OFF \

-D CONNECTOR_HTTP=ON \

-D USERLIB_PREFIX=lib \

-D Boost_USE_STATIC_LIBS=ON \

-D Boost_USE_STATIC_RUNTIME=ON \

-D CONFIGDIR=/etc/wt \

-D CMAKE_INSTALL_PREFIX=/home/keith/boost1.55.0_inst/boost_1_55_0/stage \

../

make


Files

pango.patch (452 Bytes) pango.patch Patch for old pango Alan Finley, 09/04/2014 04:12 PM

Also available in: Atom PDF