Bug #1619
closedmake fails on undeclared member function
0%
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]#
Updated by Bud T almost 12 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.
Updated by Bud T almost 12 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.
Updated by Bud T almost 12 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.
Updated by Koen Deforche almost 12 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
- Target version set to 3.3.0
Updated by Koen Deforche almost 12 years ago
- Status changed from Resolved to Closed