wxPdfDocument compilation failure  [SOLVED]

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
patverner
Earned a small fee
Earned a small fee
Posts: 11
Joined: Wed Mar 01, 2006 7:57 pm
Location: Gauteng, South Africa
Contact:

wxPdfDocument compilation failure

Postby patverner » Sun Mar 05, 2006 3:18 pm

The environment:
Linux, g++, gcc 3.3.2, wxGTK-2.6.1

I get a compilation error:
makefont/makefont.cpp:792: 'wxPdfFontTrueTypeUnicode' undeclared (first use this function)..

I tried again using 'configure --enable-unicode=no' , with exactly the same problem...

I have overcome the problem temporarily bu removing the makefont functions from the Makefile!

=Pat

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

Re: wxPdfDocument compilation failure  [SOLVED]

Postby utelle » Sun Mar 05, 2006 6:26 pm

patverner wrote:The environment:
Linux, g++, gcc 3.3.2, wxGTK-2.6.1

I get a compilation error:
makefont/makefont.cpp:792: 'wxPdfFontTrueTypeUnicode' undeclared (first use this function)..

I tried again using 'configure --enable-unicode=no' , with exactly the same problem...

This is a known problem as mentioned on the wxPdfDocument website at wxCode. As in the wxPdfDocument file releases 0.6.x MakeFont does not compile in ANSI mode since Unicode TrueType fonts are not supported in ANSI mode.

The source code of MakeFont has been fixed in CVS a few weeks ago.

patverner wrote:I have overcome the problem temporarily bu removing the makefont functions from the Makefile!

A better solution might be to download the corrected MakeFont source code from wxCode CVS

Regards,

Ulrich

patverner
Earned a small fee
Earned a small fee
Posts: 11
Joined: Wed Mar 01, 2006 7:57 pm
Location: Gauteng, South Africa
Contact:

Re: wxPdfDocument compilation failure.

Postby patverner » Mon Mar 06, 2006 5:39 pm

Thank you. I will fetch the CVS source and recompile.

=Pat


Return to “wxCode”

Who is online

Users browsing this forum: No registered users and 2 guests