Closed MehdiChinoune closed 5 months ago
The issue seems to be from podofo
It's a gdal issue. in frmts/pdf/pdfdataset.cpp file gdal_pdf.h was included first before other headers which redefine GetObject (Which is used in pdfdataset.cpp).
related discussion in podofo repository: https://github.com/podofo/podofo/issues/152. also see linked commits/PRs for more info
I am trying to build gdal against podofo instead of poppler, because It no longer builds with 24.05.0 (Even after backporting c++20 patches)
That's a bad idea. I would recommend against using PoDoFo backend which has no rendering capabilities and will result in a driver without raster capabilities. What is the issue exactly with Poppler?
That's a bad idea. I would recommend against using PoDoFo backend which has no rendering capabilities and will result in a driver without raster capabilities. What is the issue exactly with Poppler?
I got this type of error error: failed reading mapper
, most probably a bug in gcc on mingw-w64 as It doesn't occur with gcc-14 on Arch and clang on mingw-w64.
I got this type of error
error: failed reading mapper
, most probably a bug in gcc on mingw-w64 as It doesn't occur with gcc-14 on Arch and clang on mingw-w64.
It's a CMake issue https://gitlab.kitware.com/cmake/cmake/-/issues/25974
The issue is about podofo.
What is the bug?
Fails to build against podofo 0.10.3 Most probably bacause of https://github.com/OSGeo/gdal/commit/7b526b12e1ecb581c8ea3dff3e95a3ebc32eacec In https://github.com/OSGeo/gdal/blob/master/frmts/pdf/pdfsdk_headers.h
Should be put right before
#include "podofo.h"
No other header could be included between them.with gcc 14.1.0
with clang 18.1.4
Steps to reproduce the issue
Install Podofo 0.10.3 and build gdal against it
Versions and provenance
Windows 2022 Server (GitHub) MSYS2 Platform in both UCRT64 and CLANG64 environments 3.9.0
Additional context
I am trying to build gdal against podofo instead of poppler, because It no longer builds with 24.05.0 (Even after backporting c++20 patches)