Project

General

Profile

Bug #1619

make fails on undeclared member function

Added by Bud T almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
12/22/2012
Due date:
% Done:

0%

Estimated time:

Description

make failed. Strange characters may be source of problem?

[ 73%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPdfImage.o
/etc/wt-3.2.3/src/Wt/WPdfImage.C: In member function âvirtual void Wt::WPdfImage::drawImage(const Wt::WRectF&, const string&, int, int, const Wt::WRectF&)â:
/etc/wt-3.2.3/src/Wt/WPdfImage.C:382:25: error: âHPDF_LoadPngImageFromMemâ was not declared in this scope
/etc/wt-3.2.3/src/Wt/WPdfImage.C:386:26: error: âHPDF_LoadJpegImageFromMemâ was not declared in this scope
make[2]: *** [src/CMakeFiles/wt.dir/Wt/WPdfImage.o] Error 1
make[1]: *** [src/CMakeFiles/wt.dir/all] Error 2
make: *** [all] Error 2
[root@st build]#
#1

Updated by Bud T almost 8 years ago

I just noticed this other ticket #1392 where it is explained that this is due to older version of libharu. Strange that Fedora 17 still uses old version 2.1. I'll mark this as a duplicate.

#2

Updated by Bud T almost 8 years ago

Brad T wrote:

I just noticed this other ticket # 1392 where it is explained that this is due to older version of libharu. Strange that Fedora 17 still uses old version 2.1...

I'm not sure but there may be a rationale for lag on the libharu release.

hpdf_image_png.c:629:24: error: dereferencing pointer to incomplete type
make[1]: *** [hpdf_image_png.lo] Error 1
make[1]: Leaving directory `/etc/libharu-2.2.1/src'
make: *** [all-recursive] Error 1

It would be nice to be able to make install wt without worrying about the problems on this other library dependency. What I'm doing now it just hacking the file to call NULL; instead of using these methods.

#3

Updated by Bud T almost 8 years ago

This problem is reportedly to be resolved in the upcoming release of libharu 2.3.0

https://groups.google.com/forum/#!topic/libharu/qvbZAl7DBJo

You may close this ticket.

#4

Updated by Koen Deforche almost 8 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.3.0
#5

Updated by Koen Deforche over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF