(Gnome) Trying to compile wxPdfDocument ... and failing.  [SOLVED]

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Radek
Super wx Problem Solver
Super wx Problem Solver
Posts: 286
Joined: Sun Sep 11, 2011 7:17 am

(Gnome) Trying to compile wxPdfDocument ... and failing.

Postby Radek » Tue Jun 26, 2012 2:17 pm

fonconfig.h is missing during "make". Subsequently, many symbols, obviously related to font properties (FC_SLANT_OBLIQUE, and so on) are not defined. Error, pdffontmanager.cpp has not compiled, the end. There seems to be no fontconfig.h on my comp. I have browsed the web and found several files fontconfig.h but I don't know which one should I get or what should I install. Does someone know, what to do?

Debian 6, Squeeze, 32-bit Intel, Gnome, Gtk 2.0.

utelle
Moderator
Moderator
Posts: 768
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: (Gnome) Trying to compile wxPdfDocument ... and failing.  [SOLVED]

Postby utelle » Tue Jun 26, 2012 9:11 pm

Radek wrote:fonconfig.h is missing during "make". Subsequently, many symbols, obviously related to font properties (FC_SLANT_OBLIQUE, and so on) are not defined. Error, pdffontmanager.cpp has not compiled, the end. There seems to be no fontconfig.h on my comp. I have browsed the web and found several files fontconfig.h but I don't know which one should I get or what should I install. Does someone know, what to do?

Debian 6, Squeeze, 32-bit Intel, Gnome, Gtk 2.0.


Obviously the fontconfig package (or at least its C/C++ header files) is not installed on your system. I don't know Debian, but on many Linux systems fontconfig is installed by default. Seems not to be the case for your system. So probably you should use the package manager of your system to install fontconfig on your system.

Regards,

Ulrich

Radek
Super wx Problem Solver
Super wx Problem Solver
Posts: 286
Joined: Sun Sep 11, 2011 7:17 am

Re: (Gnome) Trying to compile wxPdfDocument ... and failing.

Postby Radek » Wed Jun 27, 2012 5:29 am

Thanks, Ulrich. fontconfig was installed but not the development package (fontconfig1-dev, static libraries and headers). After installing fontconfig1-dev, wxPdfDocument compiled and installed flawlessly. Now, I am going to see, whether I can make pdf's with it :mrgreen:


Return to “wxCode”

Who is online

Users browsing this forum: No registered users and 1 guest