`Segmentation fault (core dumped)` just for adding `PDFWriter pdfWriter` in the `h` file
raphael10-collab opened this issue · 11 comments
This is my complete CMakeLists.txt
file:
cmake_minimum_required(VERSION 3.5)
project(WebView)
find_package(wxWidgets REQUIRED COMPONENTS base core webview stc xml richtext)
include(${wxWidgets_USE_FILE})
include(FetchContent)
find_package(PkgConfig REQUIRED)
FetchContent_Declare(
PDFHummus
GIT_REPOSITORY https://github.com/galkahana/PDF-Writer.git
GIT_TAG v4.6.3
FIND_PACKAGE_ARGS
)
FetchContent_MakeAvailable(PDFHummus)
pkg_check_modules(tesseract REQUIRED IMPORTED_TARGET tesseract)
set_property(TARGET PkgConfig::tesseract APPEND PROPERTY INTERFACE_LINK_LIBRARIES curl archive)
pkg_check_modules(leptonica REQUIRED IMPORTED_TARGET lept)
pkg_check_moduleS(libcurl REQUIRED IMPORTED_TARGET libcurl)
link_libraries(${wxWidgets_LIBRARIES})
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(${PROJECT_NAME} WIN32 MACOSX_BUNDLE
webview.cpp
infopiece.cpp
textFromImage.cpp
#pdfWriter/emptyfiletest.cpp
#pdfWriter/testing/PosixPath.cpp
#pdfWriter/testing/FileURL.cpp
#pdfWriter/testing/WindowsPath.cpp
)
#add_executable(${PROJECT_NAME} WIN32 MACOSX_BUNDLE webview.cpp drawing.cpp jsIntoHtml.cpp)
#set_target_properties(${PROJECT_NAME})
target_link_libraries(${PROJECT_NAME} PUBLIC
PkgConfig::leptonica
PkgConfig::tesseract
PDFHummus::PDFWriter
)
If I put PDFWriter pdfWriter
in webview.h
:
#include "PDFWriter.h"
#include "PDFPage.h"
class WebFrame : public wxFrame
{
public:
WebFrame(const wxString& url, bool isMain = true, wxWebViewWindowFeatures* windowFeatures = nullptr);
virtual ~WebFrame();
private:
PDFWriter pdfWriter;
};
I get "Segmentation fault (core dumped)" :
raphy@raohy:~/wx-webview$ cmake --build builddir
[ 5%] Built target Zlib
[ 10%] Built target LibPng
[ 23%] Built target FreeType
[ 24%] Built target LibAesgm
[ 39%] Built target LibJpeg
[ 51%] Built target LibTiff
[ 98%] Built target PDFWriter
[ 99%] Building CXX object CMakeFiles/WebView.dir/webview.cpp.o
[100%] Linking CXX executable WebView
[100%] Built target WebView
raphy@raohy:~/wx-webview$ export WEBKIT_DISABLE_COMPOSITING_MODE=1
raphy@raohy:~/wx-webview$ ./builddir/WebView
Segmentation fault (core dumped)
OS: Ubuntu 23.10
How to make it work?
Donnow, but this win32 flag running on ubuntu sure is suspicious. You might want to build pdfrwiter project on the system and run the tests, they sure have those includes and could point you in a possible direction.
I removed the win32 and macos flags :
CMakeLists.txt
:
cmake_minimum_required(VERSION 3.5)
project(WebView)
find_package(wxWidgets REQUIRED COMPONENTS base core webview stc xml richtext)
include(${wxWidgets_USE_FILE})
include(FetchContent)
find_package(PkgConfig REQUIRED)
FetchContent_Declare(
PDFHummus
GIT_REPOSITORY https://github.com/galkahana/PDF-Writer.git
GIT_TAG v4.6.3
FIND_PACKAGE_ARGS
)
FetchContent_MakeAvailable(PDFHummus)
pkg_check_modules(tesseract REQUIRED IMPORTED_TARGET tesseract)
set_property(TARGET PkgConfig::tesseract APPEND PROPERTY INTERFACE_LINK_LIBRARIES curl archive)
pkg_check_modules(leptonica REQUIRED IMPORTED_TARGET lept)
pkg_check_moduleS(libcurl REQUIRED IMPORTED_TARGET libcurl)
link_libraries(${wxWidgets_LIBRARIES})
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(${PROJECT_NAME}
webview.cpp
infopiece.cpp
textFromImage.cpp
harupdfHandler.cpp
#pdfWriter/emptyfiletest.cpp
#pdfWriter/testing/PosixPath.cpp
#pdfWriter/testing/FileURL.cpp
#pdfWriter/testing/WindowsPath.cpp
)
target_link_libraries(${PROJECT_NAME} PUBLIC
PkgConfig::leptonica
PkgConfig::tesseract
PDFHummus::PDFWriter
hpdf
)
But still Segmentation fault(core dumped
for just PDFWriter pdfWriter
in h
file:
raphy@raohy:~/wx-webview$ rm -rf builddir/
raphy@raohy:~/wx-webview$
raphy@raohy:~/wx-webview$ cmake -B builddir
-- The C compiler identification is GNU 12.3.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_baseu-3.3;-lwx_gtk3u_core-3.3;-lwx_gtk3u_webview-3.3;-lwx_gtk3u_stc-3.3;-lwx_baseu_xml-3.3;-lwx_gtk3u_richtext-3.3 (found version "3.3.0")
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Checking for module 'tesseract'
-- Found tesseract, version 5.3.4
-- Checking for module 'lept'
-- Found lept, version 1.82.0
-- Checking for module 'libcurl'
-- Found libcurl, version 8.2.1
-- Configuring done (8.5s)
-- Generating done (0.0s)
-- Build files have been written to: /home/raphy/wx-webview/builddir
raphy@raohy:~/wx-webview$
raphy@raohy:~/wx-webview$ cmake --build builddir/
[ 0%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/adler32.c.o
[ 0%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/compress.c.o
[ 1%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/crc32.c.o
[ 1%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/deflate.c.o
[ 1%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/gzclose.c.o
[ 1%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/gzlib.c.o
[ 2%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/gzread.c.o
[ 2%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/gzwrite.c.o
[ 2%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/infback.c.o
[ 3%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/inffast.c.o
[ 3%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/inflate.c.o
[ 3%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/inftrees.c.o
[ 4%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/trees.c.o
[ 4%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/uncompr.c.o
[ 4%] Building C object _deps/pdfhummus-build/Zlib/CMakeFiles/Zlib.dir/zutil.c.o
[ 5%] Linking C static library libZlib.a
[ 5%] Built target Zlib
[ 5%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/png.c.o
[ 5%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngerror.c.o
[ 6%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngget.c.o
[ 6%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngmem.c.o
[ 6%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngpread.c.o
[ 7%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngread.c.o
[ 7%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngrio.c.o
[ 7%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngrtran.c.o
[ 8%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngrutil.c.o
[ 8%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngset.c.o
[ 8%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngtrans.c.o
[ 8%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngwio.c.o
[ 9%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngwrite.c.o
[ 9%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngwtran.c.o
[ 9%] Building C object _deps/pdfhummus-build/LibPng/CMakeFiles/LibPng.dir/pngwutil.c.o
[ 10%] Linking C static library libLibPng.a
[ 10%] Built target LibPng
[ 10%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/autofit/autofit.c.o
[ 10%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftbase.c.o
[ 10%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftbbox.c.o
[ 11%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftbdf.c.o
[ 11%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftbitmap.c.o
[ 11%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftcid.c.o
[ 12%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftfstype.c.o
[ 12%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftgasp.c.o
[ 12%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftglyph.c.o
[ 13%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftgxval.c.o
[ 13%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftinit.c.o
[ 13%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftmm.c.o
[ 13%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftotval.c.o
[ 14%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftpatent.c.o
[ 14%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftpfr.c.o
[ 14%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftstroke.c.o
[ 15%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftsynth.c.o
[ 15%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/fttype1.c.o
[ 15%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftwinfnt.c.o
[ 16%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/bdf/bdf.c.o
[ 16%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/bzip2/ftbzip2.c.o
[ 16%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/cache/ftcache.c.o
[ 17%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/cff/cff.c.o
[ 17%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/cid/type1cid.c.o
[ 17%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/gzip/ftgzip.c.o
[ 17%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/lzw/ftlzw.c.o
[ 18%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/pcf/pcf.c.o
[ 18%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/pfr/pfr.c.o
[ 18%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/psaux/psaux.c.o
[ 19%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/pshinter/pshinter.c.o
[ 19%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/psnames/psnames.c.o
[ 19%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/raster/raster.c.o
[ 20%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/sdf/sdf.c.o
[ 20%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/sfnt/sfnt.c.o
[ 20%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/smooth/smooth.c.o
[ 20%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/svg/svg.c.o
[ 21%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/truetype/truetype.c.o
[ 21%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/type1/type1.c.o
[ 21%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/type42/type42.c.o
[ 22%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/winfonts/winfnt.c.o
[ 22%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftsystem.c.o
[ 22%] Building C object _deps/pdfhummus-build/FreeType/CMakeFiles/FreeType.dir/src/base/ftdebug.c.o
[ 23%] Linking C static library libFreeType.a
[ 23%] Built target FreeType
[ 23%] Building C object _deps/pdfhummus-build/LibAesgm/CMakeFiles/LibAesgm.dir/aescrypt.c.o
[ 23%] Building C object _deps/pdfhummus-build/LibAesgm/CMakeFiles/LibAesgm.dir/aeskey.c.o
[ 24%] Building C object _deps/pdfhummus-build/LibAesgm/CMakeFiles/LibAesgm.dir/aes_modes.c.o
[ 24%] Building C object _deps/pdfhummus-build/LibAesgm/CMakeFiles/LibAesgm.dir/aes_ni.c.o
[ 24%] Building C object _deps/pdfhummus-build/LibAesgm/CMakeFiles/LibAesgm.dir/aestab.c.o
[ 24%] Linking C static library libLibAesgm.a
[ 24%] Built target LibAesgm
[ 25%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jaricom.c.o
[ 25%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jcapimin.c.o
[ 25%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jcapistd.c.o
[ 26%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jcarith.c.o
[ 26%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jccoefct.c.o
[ 26%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jccolor.c.o
[ 27%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jcdctmgr.c.o
[ 27%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jchuff.c.o
[ 27%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jcinit.c.o
[ 27%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jcmainct.c.o
[ 28%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jcmarker.c.o
[ 28%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jcmaster.c.o
[ 28%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jcomapi.c.o
[ 29%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jcparam.c.o
[ 29%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jcprepct.c.o
[ 29%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jcsample.c.o
[ 30%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jctrans.c.o
[ 30%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdapimin.c.o
[ 30%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdapistd.c.o
[ 31%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdarith.c.o
[ 31%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdatadst.c.o
[ 31%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdatasrc.c.o
[ 31%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdcoefct.c.o
[ 32%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdcolor.c.o
[ 32%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jddctmgr.c.o
[ 32%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdhuff.c.o
[ 33%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdinput.c.o
[ 33%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdmainct.c.o
[ 33%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdmarker.c.o
[ 34%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdmaster.c.o
[ 34%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdmerge.c.o
[ 34%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdpostct.c.o
[ 35%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdsample.c.o
[ 35%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jdtrans.c.o
[ 35%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jerror.c.o
[ 35%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jfdctflt.c.o
[ 36%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jfdctfst.c.o
[ 36%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jfdctint.c.o
[ 36%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jidctflt.c.o
[ 37%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jidctfst.c.o
[ 37%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jidctint.c.o
[ 37%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jmemmgr.c.o
[ 38%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jmemnobs.c.o
[ 38%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jquant1.c.o
[ 38%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jquant2.c.o
[ 38%] Building C object _deps/pdfhummus-build/LibJpeg/CMakeFiles/LibJpeg.dir/jutils.c.o
[ 39%] Linking C static library libLibJpeg.a
[ 39%] Built target LibJpeg
[ 39%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_aux.c.o
[ 39%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_close.c.o
[ 40%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_codec.c.o
[ 40%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_color.c.o
[ 40%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_compress.c.o
[ 40%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_dir.c.o
[ 41%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_dirinfo.c.o
[ 41%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_dirread.c.o
[ 41%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_dirwrite.c.o
[ 42%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_dumpmode.c.o
[ 42%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_error.c.o
[ 42%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_extension.c.o
[ 43%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_fax3.c.o
[ 43%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_fax3sm.c.o
[ 43%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_flush.c.o
[ 44%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_getimage.c.o
[ 44%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_hash_set.c.o
[ 44%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_jbig.c.o
[ 44%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_jpeg.c.o
[ 45%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_luv.c.o
[ 45%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_lzw.c.o
[ 45%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_next.c.o
[ 46%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_ojpeg.c.o
[ 46%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_open.c.o
[ 46%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_packbits.c.o
[ 47%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_pixarlog.c.o
[ 47%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_predict.c.o
[ 47%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_print.c.o
[ 47%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_read.c.o
[ 48%] Building CXX object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_stream.cxx.o
[ 48%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_strip.c.o
[ 48%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_swab.c.o
[ 49%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_thunder.c.o
[ 49%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_tile.c.o
[ 49%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_unix.c.o
[ 50%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_version.c.o
[ 50%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_warning.c.o
[ 50%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_write.c.o
[ 51%] Building C object _deps/pdfhummus-build/LibTiff/CMakeFiles/LibTiff.dir/tif_zip.c.o
[ 51%] Linking CXX static library libLibTiff.a
[ 51%] Built target LibTiff
[ 51%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/AbstractContentContext.cpp.o
[ 51%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/AbstractWrittenFont.cpp.o
[ 52%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/ANSIFontWriter.cpp.o
[ 52%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/Ascii7Encoding.cpp.o
[ 52%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/ArrayOfInputStreamsStream.cpp.o
[ 53%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CatalogInformation.cpp.o
[ 53%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CFFANSIFontWriter.cpp.o
[ 53%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CFFDescendentFontWriter.cpp.o
[ 54%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CFFEmbeddedFontWriter.cpp.o
[ 54%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CFFFileInput.cpp.o
[ 54%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CFFPrimitiveReader.cpp.o
[ 55%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CFFPrimitiveWriter.cpp.o
[ 55%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CharStringType1Interpreter.cpp.o
[ 55%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CharStringType1Tracer.cpp.o
[ 55%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CharStringType2Flattener.cpp.o
[ 56%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CharStringType2Interpreter.cpp.o
[ 56%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CharStringType2Tracer.cpp.o
[ 56%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CIDFontWriter.cpp.o
[ 57%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/CMYKRGBColor.cpp.o
[ 57%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/DecryptionHelper.cpp.o
[ 57%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/DescendentFontWriter.cpp.o
[ 58%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/DictionaryContext.cpp.o
[ 58%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/DocumentContext.cpp.o
[ 58%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/EncryptionHelper.cpp.o
[ 58%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/EncryptionOptions.cpp.o
[ 59%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/ExtGStateRegistry.cpp.o
[ 59%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/FontDescriptorWriter.cpp.o
[ 59%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/FreeTypeFaceWrapper.cpp.o
[ 60%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/FreeTypeOpenTypeWrapper.cpp.o
[ 60%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/FreeTypeType1Wrapper.cpp.o
[ 60%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/FreeTypeWrapper.cpp.o
[ 61%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/GraphicState.cpp.o
[ 61%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/GraphicStateStack.cpp.o
[ 61%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/IndirectObjectsReferenceRegistry.cpp.o
[ 62%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InfoDictionary.cpp.o
[ 62%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputAESDecodeStream.cpp.o
[ 62%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputAscii85DecodeStream.cpp.o
[ 62%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputAsciiHexDecodeStream.cpp.o
[ 63%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputBufferedStream.cpp.o
[ 63%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputByteArrayStream.cpp.o
[ 63%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputCharStringDecodeStream.cpp.o
[ 64%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputDCTDecodeStream.cpp.o
[ 64%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputFile.cpp.o
[ 64%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputFileStream.cpp.o
[ 65%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputFlateDecodeStream.cpp.o
[ 65%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputLZWDecodeStream.cpp.o
[ 65%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputLimitedStream.cpp.o
[ 65%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputOffsetStream.cpp.o
[ 66%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputRC4XcodeStream.cpp.o
[ 66%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputPFBDecodeStream.cpp.o
[ 66%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputPredictorPNGOptimumStream.cpp.o
[ 67%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputPredictorTIFFSubStream.cpp.o
[ 67%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputStreamSkipperStream.cpp.o
[ 67%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputStringBufferStream.cpp.o
[ 68%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/InputStringStream.cpp.o
[ 68%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/JPEGImageHandler.cpp.o
[ 68%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/JPEGImageInformation.cpp.o
[ 69%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/JPEGImageParser.cpp.o
[ 69%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/LayeredGlyphsDrawingContext.cpp.o
[ 69%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/LinearGradientShadingPatternWritingTask.cpp.o
[ 69%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/Log.cpp.o
In file included from /home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/Log.cpp:22:
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/Log.cpp: In member function ‘std::string Log::GetFormattedTimeString()’:
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/Log.cpp:140:34: warning: ‘%04d’ directive writing between 4 and 11 bytes into a region of size between 0 and 18 [-Wformat-overflow=]
140 | SAFE_SPRINTF_6(buffer,26,"[ %02d/%02d/%04d %02d:%02d:%02d ] ",structuredLocalTime.tm_mday,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/SafeBufferMacrosDefs.h:83:104: note: in definition of macro ‘SAFE_SPRINTF_6’
83 | #define SAFE_SPRINTF_6(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3,ARG4,ARG5,ARG6) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3,ARG4,ARG5,ARG6)
| ^~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/Log.cpp:140:47: note: format string is defined here
140 | SAFE_SPRINTF_6(buffer,26,"[ %02d/%02d/%04d %02d:%02d:%02d ] ",structuredLocalTime.tm_mday,
| ^~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/Log.cpp:140:34: note: directive argument in the range [-2147481748, 2147483647]
140 | SAFE_SPRINTF_6(buffer,26,"[ %02d/%02d/%04d %02d:%02d:%02d ] ",structuredLocalTime.tm_mday,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/SafeBufferMacrosDefs.h:83:104: note: in definition of macro ‘SAFE_SPRINTF_6’
83 | #define SAFE_SPRINTF_6(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3,ARG4,ARG5,ARG6) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3,ARG4,ARG5,ARG6)
| ^~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/SafeBufferMacrosDefs.h:83:96: note: ‘sprintf’ output between 25 and 77 bytes into a destination of size 26
83 | #define SAFE_SPRINTF_6(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3,ARG4,ARG5,ARG6) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3,ARG4,ARG5,ARG6)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/Log.cpp:140:9: note: in expansion of macro ‘SAFE_SPRINTF_6’
140 | SAFE_SPRINTF_6(buffer,26,"[ %02d/%02d/%04d %02d:%02d:%02d ] ",structuredLocalTime.tm_mday,
| ^~~~~~~~~~~~~~
[ 70%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/MD5Generator.cpp.o
[ 70%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/RC4.cpp.o
[ 70%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/ObjectsContext.cpp.o
[ 71%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/OpenTypeFileInput.cpp.o
[ 71%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/OpenTypePrimitiveReader.cpp.o
[ 71%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/OutputAESEncodeStream.cpp.o
[ 72%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/OutputBufferedStream.cpp.o
[ 72%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/OutputFile.cpp.o
[ 72%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/OutputFileStream.cpp.o
[ 72%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/OutputFlateDecodeStream.cpp.o
[ 73%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/OutputFlateEncodeStream.cpp.o
[ 73%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/OutputRC4XcodeStream.cpp.o
[ 73%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/OutputStreamTraits.cpp.o
[ 74%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/OutputStringBufferStream.cpp.o
[ 74%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PageContentContext.cpp.o
[ 74%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PageTree.cpp.o
[ 75%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PaintedGlyphsDrawingContext.cpp.o
[ 75%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/ParsedPrimitiveHelper.cpp.o
[ 75%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFArray.cpp.o
[ 76%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFBoolean.cpp.o
[ 76%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFCosArray.cpp.o
[ 76%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFCosDict.cpp.o
[ 76%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFDate.cpp.o
[ 77%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFDictionary.cpp.o
[ 77%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFDocEncoding.cpp.o
[ 77%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFDocumentCopyingContext.cpp.o
[ 78%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFDocumentHandler.cpp.o
[ 78%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFFormXObject.cpp.o
[ 78%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFTiledPattern.cpp.o
[ 79%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/TiledPatternContentContext.cpp.o
[ 79%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFHexString.cpp.o
[ 79%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFImageXObject.cpp.o
[ 80%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFIndirectObjectReference.cpp.o
[ 80%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFInteger.cpp.o
[ 80%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFLiteralString.cpp.o
[ 80%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFMatrix.cpp.o
[ 81%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFModifiedPage.cpp.o
[ 81%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFName.cpp.o
[ 81%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFNull.cpp.o
[ 82%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFObject.cpp.o
[ 82%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFObjectParser.cpp.o
[ 82%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFPage.cpp.o
[ 83%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFPageInput.cpp.o
[ 83%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFDictionaryIterator.cpp.o
[ 83%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFArrayIterator.cpp.o
[ 83%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFPageMergingHelper.cpp.o
[ 84%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFParser.cpp.o
[ 84%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFParserTokenizer.cpp.o
[ 84%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFParsingOptions.cpp.o
[ 85%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFReal.cpp.o
[ 85%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFRectangle.cpp.o
[ 85%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFStream.cpp.o
[ 86%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFStreamInput.cpp.o
[ 86%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFSymbol.cpp.o
[ 86%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFTextString.cpp.o
[ 87%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFUsedFont.cpp.o
[ 87%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PDFWriter.cpp.o
[ 87%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PFMFileReader.cpp.o
[ 87%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PNGImageHandler.cpp.o
[ 88%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PrimitiveObjectsWriter.cpp.o
[ 88%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/PSBool.cpp.o
[ 88%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/RadialGradientShadingPatternWritingTask.cpp.o
[ 89%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/RefCountObject.cpp.o
[ 89%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/ResourcesDictionary.cpp.o
[ 89%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/ShadingWriter.cpp.o
[ 90%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/SimpleGlyphsDrawingContext.cpp.o
[ 90%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/SimpleStringTokenizer.cpp.o
[ 90%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/StandardEncoding.cpp.o
[ 90%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/StateReader.cpp.o
[ 91%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/StateWriter.cpp.o
[ 91%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/SweepGradientShadingPatternWritingTask.cpp.o
[ 91%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/TIFFImageHandler.cpp.o
In file included from /home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/TIFFImageHandler.cpp:87:
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/TIFFImageHandler.cpp: In member function ‘void TIFFImageHandler::WriteIndexedCSForBiLevelColorMap()’:
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/TIFFImageHandler.cpp:3365:56: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
3365 | SAFE_SPRINTF_3(colorsBuffer,10,scSingleColorRGBFormat,
| ^~~~~~~~~~~~~~~~~~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/SafeBufferMacrosDefs.h:80:89: note: in definition of macro ‘SAFE_SPRINTF_3’
80 | #define SAFE_SPRINTF_3(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3)
| ^~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/SafeBufferMacrosDefs.h:80:81: note: ‘sprintf’ output between 8 and 11 bytes into a destination of size 10
80 | #define SAFE_SPRINTF_3(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/TIFFImageHandler.cpp:3365:25: note: in expansion of macro ‘SAFE_SPRINTF_3’
3365 | SAFE_SPRINTF_3(colorsBuffer,10,scSingleColorRGBFormat,
| ^~~~~~~~~~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/TIFFImageHandler.cpp:3357:56: warning: ‘%02X’ directive writing between 2 and 3 bytes into a region of size between 1 and 4 [-Wformat-overflow=]
3357 | SAFE_SPRINTF_4(colorsBuffer,10,scSingleColorCMYKFormat,
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/SafeBufferMacrosDefs.h:81:94: note: in definition of macro ‘SAFE_SPRINTF_4’
81 | #define SAFE_SPRINTF_4(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3,ARG4) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3,ARG4)
| ^~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/TIFFImageHandler.cpp:3357:56: note: directive argument in the range [0, 510]
3357 | SAFE_SPRINTF_4(colorsBuffer,10,scSingleColorCMYKFormat,
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/SafeBufferMacrosDefs.h:81:94: note: in definition of macro ‘SAFE_SPRINTF_4’
81 | #define SAFE_SPRINTF_4(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3,ARG4) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3,ARG4)
| ^~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/SafeBufferMacrosDefs.h:81:86: note: ‘sprintf’ output between 10 and 14 bytes into a destination of size 10
81 | #define SAFE_SPRINTF_4(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3,ARG4) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3,ARG4)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/wx-webview/builddir/_deps/pdfhummus-src/PDFWriter/TIFFImageHandler.cpp:3357:25: note: in expansion of macro ‘SAFE_SPRINTF_4’
3357 | SAFE_SPRINTF_4(colorsBuffer,10,scSingleColorCMYKFormat,
| ^~~~~~~~~~~~~~
[ 92%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/TiffUsageParameters.cpp.o
[ 92%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/Timer.cpp.o
[ 92%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/TimersRegistry.cpp.o
[ 93%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/Trace.cpp.o
[ 93%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/TrailerInformation.cpp.o
[ 93%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/TrueTypeANSIFontWriter.cpp.o
[ 94%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/TrueTypeDescendentFontWriter.cpp.o
[ 94%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/TrueTypeEmbeddedFontWriter.cpp.o
[ 94%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/TrueTypePrimitiveWriter.cpp.o
[ 94%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/Type1Input.cpp.o
[ 95%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/Type1ToCFFEmbeddedFontWriter.cpp.o
[ 95%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/Type1ToType2Converter.cpp.o
[ 95%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/Type2CharStringWriter.cpp.o
[ 96%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/UnicodeString.cpp.o
[ 96%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/UppercaseSequance.cpp.o
[ 96%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/UsedFontsRepository.cpp.o
[ 97%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/WinAnsiEncoding.cpp.o
[ 97%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/WrittenFontCFF.cpp.o
[ 97%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/WrittenFontTrueType.cpp.o
[ 97%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/XCryptionCommon.cpp.o
[ 98%] Building CXX object _deps/pdfhummus-build/PDFWriter/CMakeFiles/PDFWriter.dir/XObjectContentContext.cpp.o
[ 98%] Linking CXX static library libPDFWriter.a
[ 98%] Built target PDFWriter
[ 98%] Building CXX object CMakeFiles/WebView.dir/webview.cpp.o
[ 99%] Building CXX object CMakeFiles/WebView.dir/infopiece.cpp.o
[ 99%] Building CXX object CMakeFiles/WebView.dir/textFromImage.cpp.o
[ 99%] Building CXX object CMakeFiles/WebView.dir/harupdfHandler.cpp.o
[100%] Linking CXX executable WebView
[100%] Built target WebView
raphy@raohy:~/wx-webview$
raphy@raohy:~/wx-webview$ export WEBKIT_DISABLE_COMPOSITING_MODE=1
raphy@raohy:~/wx-webview$
raphy@raohy:~/wx-webview$ ./builddir/WebView
Segmentation fault (core dumped)
@galkahana As second attempt to make PDF-Writer available and working in my Ubuntu 23.10 , I git cloned, compiled, built and then installed the library:
raphy@raohy:~$ git clone https://github.com/galkahana/PDF-Writer.git
Cloning into 'PDF-Writer'...
remote: Enumerating objects: 8272, done.
remote: Counting objects: 100% (1172/1172), done.
remote: Compressing objects: 100% (310/310), done.
remote: Total 8272 (delta 919), reused 960 (delta 860), pack-reused 7100
Receiving objects: 100% (8272/8272), 126.50 MiB | 26.26 MiB/s, done.
Resolving deltas: 100% (5769/5769), done.
raphy@raohy:~$ cd PDF-Writer/
raphy@raohy:~/PDF-Writer$
raphy@raohy:~/PDF-Writer$ cmake -B builddir
-- The C compiler identification is GNU 12.3.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/raphy/PDF-Writer/builddir
raphy@raohy:~/PDF-Writer$
raphy@raohy:~/PDF-Writer$ cmake --build builddir
[ 0%] Building C object Zlib/CMakeFiles/Zlib.dir/adler32.c.o
[ 0%] Building C object Zlib/CMakeFiles/Zlib.dir/compress.c.o
[ 0%] Building C object Zlib/CMakeFiles/Zlib.dir/crc32.c.o
[ 1%] Building C object Zlib/CMakeFiles/Zlib.dir/deflate.c.o
[ 1%] Building C object Zlib/CMakeFiles/Zlib.dir/gzclose.c.o
[ 1%] Building C object Zlib/CMakeFiles/Zlib.dir/gzlib.c.o
[ 1%] Building C object Zlib/CMakeFiles/Zlib.dir/gzread.c.o
[ 2%] Building C object Zlib/CMakeFiles/Zlib.dir/gzwrite.c.o
[ 2%] Building C object Zlib/CMakeFiles/Zlib.dir/infback.c.o
[ 2%] Building C object Zlib/CMakeFiles/Zlib.dir/inffast.c.o
[ 2%] Building C object Zlib/CMakeFiles/Zlib.dir/inflate.c.o
[ 3%] Building C object Zlib/CMakeFiles/Zlib.dir/inftrees.c.o
[ 3%] Building C object Zlib/CMakeFiles/Zlib.dir/trees.c.o
[ 3%] Building C object Zlib/CMakeFiles/Zlib.dir/uncompr.c.o
[ 3%] Building C object Zlib/CMakeFiles/Zlib.dir/zutil.c.o
[ 4%] Linking C static library libZlib.a
[ 4%] Built target Zlib
[ 4%] Building C object FreeType/CMakeFiles/FreeType.dir/src/autofit/autofit.c.o
[ 4%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftbase.c.o
[ 4%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftbbox.c.o
[ 4%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftbdf.c.o
[ 5%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftbitmap.c.o
[ 5%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftcid.c.o
[ 5%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftfstype.c.o
[ 5%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftgasp.c.o
[ 6%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftglyph.c.o
[ 6%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftgxval.c.o
[ 6%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftinit.c.o
[ 6%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftmm.c.o
[ 7%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftotval.c.o
[ 7%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftpatent.c.o
[ 7%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftpfr.c.o
[ 7%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftstroke.c.o
[ 8%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftsynth.c.o
[ 8%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/fttype1.c.o
[ 8%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftwinfnt.c.o
[ 8%] Building C object FreeType/CMakeFiles/FreeType.dir/src/bdf/bdf.c.o
[ 9%] Building C object FreeType/CMakeFiles/FreeType.dir/src/bzip2/ftbzip2.c.o
[ 9%] Building C object FreeType/CMakeFiles/FreeType.dir/src/cache/ftcache.c.o
[ 9%] Building C object FreeType/CMakeFiles/FreeType.dir/src/cff/cff.c.o
[ 9%] Building C object FreeType/CMakeFiles/FreeType.dir/src/cid/type1cid.c.o
[ 10%] Building C object FreeType/CMakeFiles/FreeType.dir/src/gzip/ftgzip.c.o
[ 10%] Building C object FreeType/CMakeFiles/FreeType.dir/src/lzw/ftlzw.c.o
[ 10%] Building C object FreeType/CMakeFiles/FreeType.dir/src/pcf/pcf.c.o
[ 10%] Building C object FreeType/CMakeFiles/FreeType.dir/src/pfr/pfr.c.o
[ 11%] Building C object FreeType/CMakeFiles/FreeType.dir/src/psaux/psaux.c.o
[ 11%] Building C object FreeType/CMakeFiles/FreeType.dir/src/pshinter/pshinter.c.o
[ 11%] Building C object FreeType/CMakeFiles/FreeType.dir/src/psnames/psnames.c.o
[ 11%] Building C object FreeType/CMakeFiles/FreeType.dir/src/raster/raster.c.o
[ 12%] Building C object FreeType/CMakeFiles/FreeType.dir/src/sdf/sdf.c.o
[ 12%] Building C object FreeType/CMakeFiles/FreeType.dir/src/sfnt/sfnt.c.o
[ 12%] Building C object FreeType/CMakeFiles/FreeType.dir/src/smooth/smooth.c.o
[ 12%] Building C object FreeType/CMakeFiles/FreeType.dir/src/svg/svg.c.o
[ 13%] Building C object FreeType/CMakeFiles/FreeType.dir/src/truetype/truetype.c.o
[ 13%] Building C object FreeType/CMakeFiles/FreeType.dir/src/type1/type1.c.o
[ 13%] Building C object FreeType/CMakeFiles/FreeType.dir/src/type42/type42.c.o
[ 13%] Building C object FreeType/CMakeFiles/FreeType.dir/src/winfonts/winfnt.c.o
[ 14%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftsystem.c.o
[ 14%] Building C object FreeType/CMakeFiles/FreeType.dir/src/base/ftdebug.c.o
[ 14%] Linking C static library libFreeType.a
[ 14%] Built target FreeType
[ 14%] Building C object LibAesgm/CMakeFiles/LibAesgm.dir/aescrypt.c.o
[ 15%] Building C object LibAesgm/CMakeFiles/LibAesgm.dir/aeskey.c.o
[ 15%] Building C object LibAesgm/CMakeFiles/LibAesgm.dir/aes_modes.c.o
[ 15%] Building C object LibAesgm/CMakeFiles/LibAesgm.dir/aes_ni.c.o
[ 15%] Building C object LibAesgm/CMakeFiles/LibAesgm.dir/aestab.c.o
[ 16%] Linking C static library libLibAesgm.a
[ 16%] Built target LibAesgm
[ 16%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jaricom.c.o
[ 16%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jcapimin.c.o
[ 16%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jcapistd.c.o
[ 17%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jcarith.c.o
[ 17%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jccoefct.c.o
[ 17%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jccolor.c.o
[ 17%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jcdctmgr.c.o
[ 18%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jchuff.c.o
[ 18%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jcinit.c.o
[ 18%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jcmainct.c.o
[ 18%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jcmarker.c.o
[ 19%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jcmaster.c.o
[ 19%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jcomapi.c.o
[ 19%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jcparam.c.o
[ 19%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jcprepct.c.o
[ 20%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jcsample.c.o
[ 20%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jctrans.c.o
[ 20%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdapimin.c.o
[ 20%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdapistd.c.o
[ 21%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdarith.c.o
[ 21%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdatadst.c.o
[ 21%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdatasrc.c.o
[ 21%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdcoefct.c.o
[ 22%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdcolor.c.o
[ 22%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jddctmgr.c.o
[ 22%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdhuff.c.o
[ 22%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdinput.c.o
[ 23%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdmainct.c.o
[ 23%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdmarker.c.o
[ 23%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdmaster.c.o
[ 23%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdmerge.c.o
[ 24%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdpostct.c.o
[ 24%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdsample.c.o
[ 24%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jdtrans.c.o
[ 24%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jerror.c.o
[ 25%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jfdctflt.c.o
[ 25%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jfdctfst.c.o
[ 25%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jfdctint.c.o
[ 25%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jidctflt.c.o
[ 26%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jidctfst.c.o
[ 26%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jidctint.c.o
[ 26%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jmemmgr.c.o
[ 26%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jmemnobs.c.o
[ 27%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jquant1.c.o
[ 27%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jquant2.c.o
[ 27%] Building C object LibJpeg/CMakeFiles/LibJpeg.dir/jutils.c.o
[ 27%] Linking C static library libLibJpeg.a
[ 27%] Built target LibJpeg
[ 28%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_aux.c.o
[ 28%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_close.c.o
[ 28%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_codec.c.o
[ 28%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_color.c.o
[ 29%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_compress.c.o
[ 29%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_dir.c.o
[ 29%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_dirinfo.c.o
[ 29%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_dirread.c.o
[ 30%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_dirwrite.c.o
[ 30%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_dumpmode.c.o
[ 30%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_error.c.o
[ 30%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_extension.c.o
[ 31%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_fax3.c.o
[ 31%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_fax3sm.c.o
[ 31%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_flush.c.o
[ 31%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_getimage.c.o
[ 32%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_hash_set.c.o
[ 32%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_jbig.c.o
[ 32%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_jpeg.c.o
[ 32%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_luv.c.o
[ 33%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_lzw.c.o
[ 33%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_next.c.o
[ 33%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_ojpeg.c.o
[ 33%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_open.c.o
[ 34%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_packbits.c.o
[ 34%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_pixarlog.c.o
[ 34%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_predict.c.o
[ 34%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_print.c.o
[ 35%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_read.c.o
[ 35%] Building CXX object LibTiff/CMakeFiles/LibTiff.dir/tif_stream.cxx.o
[ 35%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_strip.c.o
[ 35%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_swab.c.o
[ 36%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_thunder.c.o
[ 36%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_tile.c.o
[ 36%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_unix.c.o
[ 36%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_version.c.o
[ 37%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_warning.c.o
[ 37%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_write.c.o
[ 37%] Building C object LibTiff/CMakeFiles/LibTiff.dir/tif_zip.c.o
[ 37%] Linking CXX static library libLibTiff.a
[ 37%] Built target LibTiff
[ 38%] Building C object LibPng/CMakeFiles/LibPng.dir/png.c.o
[ 38%] Building C object LibPng/CMakeFiles/LibPng.dir/pngerror.c.o
[ 38%] Building C object LibPng/CMakeFiles/LibPng.dir/pngget.c.o
[ 38%] Building C object LibPng/CMakeFiles/LibPng.dir/pngmem.c.o
[ 39%] Building C object LibPng/CMakeFiles/LibPng.dir/pngpread.c.o
[ 39%] Building C object LibPng/CMakeFiles/LibPng.dir/pngread.c.o
[ 39%] Building C object LibPng/CMakeFiles/LibPng.dir/pngrio.c.o
[ 39%] Building C object LibPng/CMakeFiles/LibPng.dir/pngrtran.c.o
[ 40%] Building C object LibPng/CMakeFiles/LibPng.dir/pngrutil.c.o
[ 40%] Building C object LibPng/CMakeFiles/LibPng.dir/pngset.c.o
[ 40%] Building C object LibPng/CMakeFiles/LibPng.dir/pngtrans.c.o
[ 40%] Building C object LibPng/CMakeFiles/LibPng.dir/pngwio.c.o
[ 41%] Building C object LibPng/CMakeFiles/LibPng.dir/pngwrite.c.o
[ 41%] Building C object LibPng/CMakeFiles/LibPng.dir/pngwtran.c.o
[ 41%] Building C object LibPng/CMakeFiles/LibPng.dir/pngwutil.c.o
[ 41%] Linking C static library libLibPng.a
[ 41%] Built target LibPng
[ 42%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/AbstractContentContext.cpp.o
[ 42%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/AbstractWrittenFont.cpp.o
[ 42%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/ANSIFontWriter.cpp.o
[ 42%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/Ascii7Encoding.cpp.o
[ 43%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/ArrayOfInputStreamsStream.cpp.o
[ 43%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CatalogInformation.cpp.o
[ 43%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CFFANSIFontWriter.cpp.o
[ 43%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CFFDescendentFontWriter.cpp.o
[ 44%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CFFEmbeddedFontWriter.cpp.o
[ 44%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CFFFileInput.cpp.o
[ 44%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CFFPrimitiveReader.cpp.o
[ 44%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CFFPrimitiveWriter.cpp.o
[ 45%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CharStringType1Interpreter.cpp.o
[ 45%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CharStringType1Tracer.cpp.o
[ 45%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CharStringType2Flattener.cpp.o
[ 45%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CharStringType2Interpreter.cpp.o
[ 46%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CharStringType2Tracer.cpp.o
[ 46%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CIDFontWriter.cpp.o
[ 46%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/CMYKRGBColor.cpp.o
[ 46%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/DecryptionHelper.cpp.o
[ 47%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/DescendentFontWriter.cpp.o
[ 47%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/DictionaryContext.cpp.o
[ 47%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/DocumentContext.cpp.o
[ 47%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/EncryptionHelper.cpp.o
[ 48%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/EncryptionOptions.cpp.o
[ 48%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/ExtGStateRegistry.cpp.o
[ 48%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/FontDescriptorWriter.cpp.o
[ 48%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/FreeTypeFaceWrapper.cpp.o
[ 49%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/FreeTypeOpenTypeWrapper.cpp.o
[ 49%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/FreeTypeType1Wrapper.cpp.o
[ 49%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/FreeTypeWrapper.cpp.o
[ 49%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/GraphicState.cpp.o
[ 50%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/GraphicStateStack.cpp.o
[ 50%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/IndirectObjectsReferenceRegistry.cpp.o
[ 50%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InfoDictionary.cpp.o
[ 50%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputAESDecodeStream.cpp.o
[ 51%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputAscii85DecodeStream.cpp.o
[ 51%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputAsciiHexDecodeStream.cpp.o
[ 51%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputBufferedStream.cpp.o
[ 51%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputByteArrayStream.cpp.o
[ 52%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputCharStringDecodeStream.cpp.o
[ 52%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputDCTDecodeStream.cpp.o
[ 52%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputFile.cpp.o
[ 52%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputFileStream.cpp.o
[ 53%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputFlateDecodeStream.cpp.o
[ 53%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputLZWDecodeStream.cpp.o
[ 53%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputLimitedStream.cpp.o
[ 53%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputOffsetStream.cpp.o
[ 54%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputRC4XcodeStream.cpp.o
[ 54%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputPFBDecodeStream.cpp.o
[ 54%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputPredictorPNGOptimumStream.cpp.o
[ 54%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputPredictorTIFFSubStream.cpp.o
[ 55%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputStreamSkipperStream.cpp.o
[ 55%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputStringBufferStream.cpp.o
[ 55%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/InputStringStream.cpp.o
[ 55%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/JPEGImageHandler.cpp.o
[ 56%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/JPEGImageInformation.cpp.o
[ 56%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/JPEGImageParser.cpp.o
[ 56%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/LayeredGlyphsDrawingContext.cpp.o
[ 56%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/LinearGradientShadingPatternWritingTask.cpp.o
[ 57%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/Log.cpp.o
In file included from /home/raphy/PDF-Writer/PDFWriter/Log.cpp:22:
/home/raphy/PDF-Writer/PDFWriter/Log.cpp: In member function ‘std::string Log::GetFormattedTimeString()’:
/home/raphy/PDF-Writer/PDFWriter/Log.cpp:140:34: warning: ‘%04d’ directive writing between 4 and 11 bytes into a region of size between 0 and 18 [-Wformat-overflow=]
140 | SAFE_SPRINTF_6(buffer,26,"[ %02d/%02d/%04d %02d:%02d:%02d ] ",structuredLocalTime.tm_mday,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/PDF-Writer/PDFWriter/SafeBufferMacrosDefs.h:83:104: note: in definition of macro ‘SAFE_SPRINTF_6’
83 | #define SAFE_SPRINTF_6(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3,ARG4,ARG5,ARG6) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3,ARG4,ARG5,ARG6)
| ^~~~~~
/home/raphy/PDF-Writer/PDFWriter/Log.cpp:140:47: note: format string is defined here
140 | SAFE_SPRINTF_6(buffer,26,"[ %02d/%02d/%04d %02d:%02d:%02d ] ",structuredLocalTime.tm_mday,
| ^~~~
/home/raphy/PDF-Writer/PDFWriter/Log.cpp:140:34: note: directive argument in the range [-2147481748, 2147483647]
140 | SAFE_SPRINTF_6(buffer,26,"[ %02d/%02d/%04d %02d:%02d:%02d ] ",structuredLocalTime.tm_mday,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/PDF-Writer/PDFWriter/SafeBufferMacrosDefs.h:83:104: note: in definition of macro ‘SAFE_SPRINTF_6’
83 | #define SAFE_SPRINTF_6(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3,ARG4,ARG5,ARG6) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3,ARG4,ARG5,ARG6)
| ^~~~~~
/home/raphy/PDF-Writer/PDFWriter/SafeBufferMacrosDefs.h:83:96: note: ‘sprintf’ output between 25 and 77 bytes into a destination of size 26
83 | #define SAFE_SPRINTF_6(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3,ARG4,ARG5,ARG6) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3,ARG4,ARG5,ARG6)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/PDF-Writer/PDFWriter/Log.cpp:140:9: note: in expansion of macro ‘SAFE_SPRINTF_6’
140 | SAFE_SPRINTF_6(buffer,26,"[ %02d/%02d/%04d %02d:%02d:%02d ] ",structuredLocalTime.tm_mday,
| ^~~~~~~~~~~~~~
[ 57%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/MD5Generator.cpp.o
[ 57%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/RC4.cpp.o
[ 57%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/ObjectsContext.cpp.o
[ 58%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/OpenTypeFileInput.cpp.o
[ 58%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/OpenTypePrimitiveReader.cpp.o
[ 58%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/OutputAESEncodeStream.cpp.o
[ 58%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/OutputBufferedStream.cpp.o
[ 59%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/OutputFile.cpp.o
[ 59%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/OutputFileStream.cpp.o
[ 59%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/OutputFlateDecodeStream.cpp.o
[ 59%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/OutputFlateEncodeStream.cpp.o
[ 60%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/OutputRC4XcodeStream.cpp.o
[ 60%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/OutputStreamTraits.cpp.o
[ 60%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/OutputStringBufferStream.cpp.o
[ 60%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PageContentContext.cpp.o
[ 61%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PageTree.cpp.o
[ 61%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PaintedGlyphsDrawingContext.cpp.o
[ 61%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/ParsedPrimitiveHelper.cpp.o
[ 61%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFArray.cpp.o
[ 62%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFBoolean.cpp.o
[ 62%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFCosArray.cpp.o
[ 62%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFCosDict.cpp.o
[ 62%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFDate.cpp.o
[ 63%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFDictionary.cpp.o
[ 63%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFDocEncoding.cpp.o
[ 63%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFDocumentCopyingContext.cpp.o
[ 63%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFDocumentHandler.cpp.o
[ 64%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFFormXObject.cpp.o
[ 64%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFTiledPattern.cpp.o
[ 64%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/TiledPatternContentContext.cpp.o
[ 64%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFHexString.cpp.o
[ 65%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFImageXObject.cpp.o
[ 65%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFIndirectObjectReference.cpp.o
[ 65%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFInteger.cpp.o
[ 65%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFLiteralString.cpp.o
[ 66%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFMatrix.cpp.o
[ 66%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFModifiedPage.cpp.o
[ 66%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFName.cpp.o
[ 66%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFNull.cpp.o
[ 67%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFObject.cpp.o
[ 67%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFObjectParser.cpp.o
[ 67%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFPage.cpp.o
[ 67%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFPageInput.cpp.o
[ 68%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFDictionaryIterator.cpp.o
[ 68%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFArrayIterator.cpp.o
[ 68%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFPageMergingHelper.cpp.o
[ 68%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFParser.cpp.o
[ 69%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFParserTokenizer.cpp.o
[ 69%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFParsingOptions.cpp.o
[ 69%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFReal.cpp.o
[ 69%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFRectangle.cpp.o
[ 70%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFStream.cpp.o
[ 70%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFStreamInput.cpp.o
[ 70%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFSymbol.cpp.o
[ 70%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFTextString.cpp.o
[ 71%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFUsedFont.cpp.o
[ 71%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PDFWriter.cpp.o
[ 71%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PFMFileReader.cpp.o
[ 71%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PNGImageHandler.cpp.o
[ 72%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PrimitiveObjectsWriter.cpp.o
[ 72%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/PSBool.cpp.o
[ 72%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/RadialGradientShadingPatternWritingTask.cpp.o
[ 72%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/RefCountObject.cpp.o
[ 73%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/ResourcesDictionary.cpp.o
[ 73%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/ShadingWriter.cpp.o
[ 73%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/SimpleGlyphsDrawingContext.cpp.o
[ 73%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/SimpleStringTokenizer.cpp.o
[ 74%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/StandardEncoding.cpp.o
[ 74%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/StateReader.cpp.o
[ 74%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/StateWriter.cpp.o
[ 74%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/SweepGradientShadingPatternWritingTask.cpp.o
[ 75%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/TIFFImageHandler.cpp.o
In file included from /home/raphy/PDF-Writer/PDFWriter/TIFFImageHandler.cpp:87:
/home/raphy/PDF-Writer/PDFWriter/TIFFImageHandler.cpp: In member function ‘void TIFFImageHandler::WriteIndexedCSForBiLevelColorMap()’:
/home/raphy/PDF-Writer/PDFWriter/TIFFImageHandler.cpp:3365:56: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
3365 | SAFE_SPRINTF_3(colorsBuffer,10,scSingleColorRGBFormat,
| ^~~~~~~~~~~~~~~~~~~~~~
/home/raphy/PDF-Writer/PDFWriter/SafeBufferMacrosDefs.h:80:89: note: in definition of macro ‘SAFE_SPRINTF_3’
80 | #define SAFE_SPRINTF_3(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3)
| ^~~~~~
/home/raphy/PDF-Writer/PDFWriter/SafeBufferMacrosDefs.h:80:81: note: ‘sprintf’ output between 8 and 11 bytes into a destination of size 10
80 | #define SAFE_SPRINTF_3(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/PDF-Writer/PDFWriter/TIFFImageHandler.cpp:3365:25: note: in expansion of macro ‘SAFE_SPRINTF_3’
3365 | SAFE_SPRINTF_3(colorsBuffer,10,scSingleColorRGBFormat,
| ^~~~~~~~~~~~~~
/home/raphy/PDF-Writer/PDFWriter/TIFFImageHandler.cpp:3357:56: warning: ‘%02X’ directive writing between 2 and 3 bytes into a region of size between 1 and 4 [-Wformat-overflow=]
3357 | SAFE_SPRINTF_4(colorsBuffer,10,scSingleColorCMYKFormat,
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/PDF-Writer/PDFWriter/SafeBufferMacrosDefs.h:81:94: note: in definition of macro ‘SAFE_SPRINTF_4’
81 | #define SAFE_SPRINTF_4(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3,ARG4) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3,ARG4)
| ^~~~~~
/home/raphy/PDF-Writer/PDFWriter/TIFFImageHandler.cpp:3357:56: note: directive argument in the range [0, 510]
3357 | SAFE_SPRINTF_4(colorsBuffer,10,scSingleColorCMYKFormat,
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/PDF-Writer/PDFWriter/SafeBufferMacrosDefs.h:81:94: note: in definition of macro ‘SAFE_SPRINTF_4’
81 | #define SAFE_SPRINTF_4(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3,ARG4) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3,ARG4)
| ^~~~~~
/home/raphy/PDF-Writer/PDFWriter/SafeBufferMacrosDefs.h:81:86: note: ‘sprintf’ output between 10 and 14 bytes into a destination of size 10
81 | #define SAFE_SPRINTF_4(BUFFER,BUFFER_SIZE,FORMAT,ARG1,ARG2,ARG3,ARG4) sprintf(BUFFER,FORMAT,ARG1,ARG2,ARG3,ARG4)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raphy/PDF-Writer/PDFWriter/TIFFImageHandler.cpp:3357:25: note: in expansion of macro ‘SAFE_SPRINTF_4’
3357 | SAFE_SPRINTF_4(colorsBuffer,10,scSingleColorCMYKFormat,
| ^~~~~~~~~~~~~~
[ 75%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/TiffUsageParameters.cpp.o
[ 75%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/Timer.cpp.o
[ 75%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/TimersRegistry.cpp.o
[ 76%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/Trace.cpp.o
[ 76%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/TrailerInformation.cpp.o
[ 76%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/TrueTypeANSIFontWriter.cpp.o
[ 76%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/TrueTypeDescendentFontWriter.cpp.o
[ 77%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/TrueTypeEmbeddedFontWriter.cpp.o
[ 77%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/TrueTypePrimitiveWriter.cpp.o
[ 77%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/Type1Input.cpp.o
[ 77%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/Type1ToCFFEmbeddedFontWriter.cpp.o
[ 78%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/Type1ToType2Converter.cpp.o
[ 78%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/Type2CharStringWriter.cpp.o
[ 78%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/UnicodeString.cpp.o
[ 78%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/UppercaseSequance.cpp.o
[ 79%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/UsedFontsRepository.cpp.o
[ 79%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/WinAnsiEncoding.cpp.o
[ 79%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/WrittenFontCFF.cpp.o
[ 79%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/WrittenFontTrueType.cpp.o
[ 80%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/XCryptionCommon.cpp.o
[ 80%] Building CXX object PDFWriter/CMakeFiles/PDFWriter.dir/XObjectContentContext.cpp.o
[ 80%] Linking CXX static library libPDFWriter.a
[ 80%] Built target PDFWriter
[ 80%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PDFWriterTesting.cpp.o
[ 81%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/AppendAndReplaceURLAnnotations.cpp.o
[ 81%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/AppendingAndReading.cpp.o
[ 81%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/AppendPagesTest.cpp.o
[ 81%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/AppendSpecialPagesTest.cpp.o
[ 82%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/AppendWithAnnotations.cpp.o
[ 82%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/BasicModification.cpp.o
[ 82%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/BoxingBaseTest.cpp.o
[ 82%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/BufferedOutputStreamTest.cpp.o
[ 83%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/CIDSetWritingCFF.cpp.o
[ 83%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/CIDSetWritingTrueType.cpp.o
[ 83%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/CIDSetWritingTrueType2.cpp.o
[ 83%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/ColorEmojiColr.cpp.o
[ 84%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/ColorEmojiColrV1.cpp.o
[ 84%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/CopyingAndMergingEmptyPages.cpp.o
[ 84%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/CustomLogTest.cpp.o
[ 84%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/DCTDecodeFilterTest.cpp.o
[ 85%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/DFontTest.cpp.o
[ 85%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/EmptyFileTest.cpp.o
[ 85%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/EmptyPagesPDF.cpp.o
[ 85%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/EncryptedPDF.cpp.o
[ 86%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/FlateEncryptionTest.cpp.o
[ 86%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/FlateObjectDecodeTest.cpp.o
[ 86%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/FormXObjectTest.cpp.o
[ 86%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/FreeTypeInitializationTest.cpp.o
[ 87%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/HighLevelContentContext.cpp.o
[ 87%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/HighLevelImages.cpp.o
[ 87%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/ImagesAndFormsForwardReferenceTest.cpp.o
[ 87%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/InputFlateDecodeTester.cpp.o
[ 88%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/InputImagesAsStreamsTest.cpp.o
[ 88%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/JpegLibTest.cpp.o
[ 88%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/JPGImageTest.cpp.o
[ 88%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/LinksTest.cpp.o
[ 89%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/LogTest.cpp.o
[ 89%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/MergePDFPages.cpp.o
[ 89%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/MergeToPDFForm.cpp.o
[ 89%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/ModifyingEncryptedFile.cpp.o
[ 90%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/ModifyingExistingFileContent.cpp.o
[ 90%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/OpenTypeTest.cpp.o
[ 90%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/OutputFileStreamTest.cpp.o
[ 90%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PageModifierTest.cpp.o
[ 91%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PageOrderModification.cpp.o
[ 91%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/ParsingBadXref.cpp.o
[ 91%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/ParsingFaulty.cpp.o
[ 91%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PDFCopyingContextTest.cpp.o
[ 92%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PDFDateTest.cpp.o
[ 92%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PDFEmbedTest.cpp.o
[ 92%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PDFObjectCastTest.cpp.o
[ 92%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PDFObjectParserTest.cpp.o
[ 93%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PDFParserTest.cpp.o
[ 93%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PDFWithPassword.cpp.o
[ 93%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PFBStreamTest.cpp.o
[ 93%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PNGImageTest.cpp.o
[ 94%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/RecryptPDF.cpp.o
[ 94%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/RefCountTest.cpp.o
[ 94%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/RotatedPagesPDF.cpp.o
[ 94%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/ShutDownRestartTest.cpp.o
[ 95%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/SimpleContentPageTest.cpp.o
[ 95%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/SimpleTextUsage.cpp.o
[ 95%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/TestMeasurementsTest.cpp.o
[ 95%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/TextUsageBugs.cpp.o
[ 96%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/TIFFImageTest.cpp.o
[ 96%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/TiffSpecialsTest.cpp.o
[ 96%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/TimerTest.cpp.o
[ 96%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/TrueTypeTest.cpp.o
[ 97%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/TTCTest.cpp.o
[ 97%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/Type1Test.cpp.o
[ 97%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/UnicodeTextUsage.cpp.o
[ 97%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/UppercaseSequanceTest.cpp.o
[ 98%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/WatermarkTest.cpp.o
[ 98%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/WatermarkWithContextOpacityTest.cpp.o
[ 98%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/testing/FileURL.cpp.o
[ 98%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/testing/PosixPath.cpp.o
[ 99%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/testing/WindowsPath.cpp.o
[ 99%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PDFComment.cpp.o
[ 99%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/PDFCommentWriter.cpp.o
[ 99%] Building CXX object PDFWriterTesting/CMakeFiles/PDFWriterTesting.dir/AnnotationsWriter.cpp.o
[100%] Linking CXX executable PDFWriterTesting
[100%] Built target PDFWriterTesting
raphy@raohy:~/PDF-Writer$
raphy@raohy:~/PDF-Writer$ cd builddir/
raphy@raohy:~/PDF-Writer/builddir$
raphy@raohy:~/PDF-Writer/builddir$ sudo make install
[sudo] password for raphy:
Sorry, try again.
[sudo] password for raphy:
[ 4%] Built target Zlib
[ 14%] Built target FreeType
[ 16%] Built target LibAesgm
[ 27%] Built target LibJpeg
[ 37%] Built target LibTiff
[ 41%] Built target LibPng
[ 80%] Built target PDFWriter
[100%] Built target PDFWriterTesting
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/libZlib.a
-- Installing: /usr/local/include/Zlib
-- Installing: /usr/local/include/Zlib/inflate.h
-- Installing: /usr/local/include/Zlib/gzguts.h
-- Installing: /usr/local/include/Zlib/inftrees.h
-- Installing: /usr/local/include/Zlib/crc32.h
-- Installing: /usr/local/include/Zlib/zconf.h
-- Installing: /usr/local/include/Zlib/trees.h
-- Installing: /usr/local/include/Zlib/inffixed.h
-- Installing: /usr/local/include/Zlib/zutil.h
-- Installing: /usr/local/include/Zlib/deflate.h
-- Installing: /usr/local/include/Zlib/zlib.h
-- Installing: /usr/local/include/Zlib/inffast.h
-- Installing: /usr/local/lib/libFreeType.a
-- Installing: /usr/local/include/FreeType/include
-- Installing: /usr/local/include/FreeType/include/ft2build.h
-- Installing: /usr/local/include/FreeType/include/dlg
-- Installing: /usr/local/include/FreeType/include/dlg/output.h
-- Installing: /usr/local/include/FreeType/include/dlg/dlg.h
-- Installing: /usr/local/include/FreeType/include/freetype
-- Installing: /usr/local/include/FreeType/include/freetype/ftsnames.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftsizes.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftmac.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftlzw.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftmoderr.h
-- Installing: /usr/local/include/FreeType/include/freetype/fterrors.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftincrem.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftdriver.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftgzip.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal
-- Installing: /usr/local/include/FreeType/include/freetype/internal/ftobjs.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/fttrace.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/svginterface.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/tttypes.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/ftserv.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/ftpsprop.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/ftvalid.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/ftcalc.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/ftgloadr.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/autohint.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/fthash.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/ftmemory.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/ftdrv.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svpfr.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svpostnm.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svttglyf.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svfntfmt.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svpsinfo.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svsfnt.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svmetric.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svgxval.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svtteng.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svwinfnt.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svcfftl.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svgldict.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svkern.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svcid.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svbdf.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svprop.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svpscmap.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svttcmap.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svotval.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/services/svmm.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/cfftypes.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/compiler-macros.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/ftmmtypes.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/ftrfork.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/ftdebug.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/ftstream.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/t1types.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/pshints.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/wofftypes.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/sfnt.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/cffotypes.h
-- Installing: /usr/local/include/FreeType/include/freetype/internal/psaux.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftoutln.h
-- Installing: /usr/local/include/FreeType/include/freetype/ttnameid.h
-- Installing: /usr/local/include/FreeType/include/freetype/fttypes.h
-- Installing: /usr/local/include/FreeType/include/freetype/t1tables.h
-- Installing: /usr/local/include/FreeType/include/freetype/tttables.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftcid.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftmm.h
-- Installing: /usr/local/include/FreeType/include/freetype/config
-- Installing: /usr/local/include/FreeType/include/freetype/config/ftconfig.h
-- Installing: /usr/local/include/FreeType/include/freetype/config/ftoption.h
-- Installing: /usr/local/include/FreeType/include/freetype/config/ftmodule.h
-- Installing: /usr/local/include/FreeType/include/freetype/config/integer-types.h
-- Installing: /usr/local/include/FreeType/include/freetype/config/mac-support.h
-- Installing: /usr/local/include/FreeType/include/freetype/config/ftstdlib.h
-- Installing: /usr/local/include/FreeType/include/freetype/config/ftheader.h
-- Installing: /usr/local/include/FreeType/include/freetype/config/public-macros.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftglyph.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftimage.h
-- Installing: /usr/local/include/FreeType/include/freetype/fterrdef.h
-- Installing: /usr/local/include/FreeType/include/freetype/otsvg.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftstroke.h
-- Installing: /usr/local/include/FreeType/include/freetype/tttags.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftparams.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftbitmap.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftotval.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftmodapi.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftwinfnt.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftrender.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftbbox.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftcache.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftgxval.h
-- Installing: /usr/local/include/FreeType/include/freetype/freetype.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftsystem.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftsynth.h
-- Installing: /usr/local/include/FreeType/include/freetype/fttrigon.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftadvanc.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftfntfmt.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftlist.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftchapters.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftbzip2.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftpfr.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftcolor.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftlcdfil.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftbdf.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftgasp.h
-- Installing: /usr/local/include/FreeType/include/freetype/ftlogging.h
-- Installing: /usr/local/lib/libLibAesgm.a
-- Installing: /usr/local/include/LibAesgm
-- Installing: /usr/local/include/LibAesgm/brg_endian.h
-- Installing: /usr/local/include/LibAesgm/aes.h
-- Installing: /usr/local/include/LibAesgm/aestab.h
-- Installing: /usr/local/include/LibAesgm/aes_via_ace.h
-- Installing: /usr/local/include/LibAesgm/aesopt.h
-- Installing: /usr/local/include/LibAesgm/aescpp.h
-- Installing: /usr/local/include/LibAesgm/brg_types.h
-- Installing: /usr/local/include/LibAesgm/aes_ni.h
-- Installing: /usr/local/lib/libLibJpeg.a
-- Installing: /usr/local/include/LibJpeg
-- Installing: /usr/local/include/LibJpeg/jmemsys.h
-- Installing: /usr/local/include/LibJpeg/jdct.h
-- Installing: /usr/local/include/LibJpeg/jconfig.h
-- Installing: /usr/local/include/LibJpeg/jmorecfg.h
-- Installing: /usr/local/include/LibJpeg/jpeglib.h
-- Installing: /usr/local/include/LibJpeg/jinclude.h
-- Installing: /usr/local/include/LibJpeg/jerror.h
-- Installing: /usr/local/include/LibJpeg/jversion.h
-- Installing: /usr/local/include/LibJpeg/jexport.h
-- Installing: /usr/local/include/LibJpeg/jpegint.h
-- Installing: /usr/local/lib/libLibTiff.a
-- Installing: /usr/local/include/LibTiff
-- Installing: /usr/local/include/LibTiff/tiffio.h
-- Installing: /usr/local/include/LibTiff/tif_fax3.h
-- Installing: /usr/local/include/LibTiff/tiffvers.h
-- Installing: /usr/local/include/LibTiff/t4.h
-- Installing: /usr/local/include/LibTiff/tiffiop.h
-- Installing: /usr/local/include/LibTiff/tiff.h
-- Installing: /usr/local/include/LibTiff/tif_dir.h
-- Installing: /usr/local/include/LibTiff/tif_hash_set.h
-- Installing: /usr/local/include/LibTiff/tif_predict.h
-- Installing: /usr/local/include/LibTiff/tif_config.h
-- Installing: /usr/local/include/LibTiff/tiffconf.h
-- Installing: /usr/local/include/LibTiff/uvcode.h
-- Installing: /usr/local/lib/libLibPng.a
-- Installing: /usr/local/include/LibPng
-- Installing: /usr/local/include/LibPng/png.h
-- Installing: /usr/local/include/LibPng/pnginfo.h
-- Installing: /usr/local/include/LibPng/pngdebug.h
-- Installing: /usr/local/include/LibPng/pngstruct.h
-- Installing: /usr/local/include/LibPng/pnglibconf.h
-- Installing: /usr/local/include/LibPng/pngpriv.h
-- Installing: /usr/local/include/LibPng/pngconf.h
-- Installing: /usr/local/lib/libPDFWriter.a
-- Installing: /usr/local/include/PDFWriter
-- Installing: /usr/local/include/PDFWriter/OutputFile.h
-- Installing: /usr/local/include/PDFWriter/IByteWriterWithPosition.h
-- Installing: /usr/local/include/PDFWriter/PDFRectangle.h
-- Installing: /usr/local/include/PDFWriter/ExtGStateRegistry.h
-- Installing: /usr/local/include/PDFWriter/ResourcesDictionary.h
-- Installing: /usr/local/include/PDFWriter/AbstractWrittenFont.h
-- Installing: /usr/local/include/PDFWriter/JPEGImageHandler.h
-- Installing: /usr/local/include/PDFWriter/InputPredictorPNGOptimumStream.h
-- Installing: /usr/local/include/PDFWriter/InputFile.h
-- Installing: /usr/local/include/PDFWriter/SimpleStringTokenizer.h
-- Installing: /usr/local/include/PDFWriter/ArrayOfInputStreamsStream.h
-- Installing: /usr/local/include/PDFWriter/InputFileStream.h
-- Installing: /usr/local/include/PDFWriter/ContainerIterator.h
-- Installing: /usr/local/include/PDFWriter/DictionaryContext.h
-- Installing: /usr/local/include/PDFWriter/UnicodeString.h
-- Installing: /usr/local/include/PDFWriter/EStatusCode.h
-- Installing: /usr/local/include/PDFWriter/IObjectEndWritingTask.h
-- Installing: /usr/local/include/PDFWriter/CFFDescendentFontWriter.h
-- Installing: /usr/local/include/PDFWriter/PDFDocumentHandler.h
-- Installing: /usr/local/include/PDFWriter/InterpretedGradientStop.h
-- Installing: /usr/local/include/PDFWriter/Singleton.h
-- Installing: /usr/local/include/PDFWriter/GraphicState.h
-- Installing: /usr/local/include/PDFWriter/FreeTypeWrapper.h
-- Installing: /usr/local/include/PDFWriter/InputPredictorTIFFSubStream.h
-- Installing: /usr/local/include/PDFWriter/OutputAESEncodeStream.h
-- Installing: /usr/local/include/PDFWriter/Trace.h
-- Installing: /usr/local/include/PDFWriter/OpenTypeFileInput.h
-- Installing: /usr/local/include/PDFWriter/TiffUsageParameters.h
-- Installing: /usr/local/include/PDFWriter/FontDescriptorWriter.h
-- Installing: /usr/local/include/PDFWriter/InputByteArrayStream.h
-- Installing: /usr/local/include/PDFWriter/PDFDictionary.h
-- Installing: /usr/local/include/PDFWriter/PDFParserTokenizer.h
-- Installing: /usr/local/include/PDFWriter/InputPFBDecodeStream.h
-- Installing: /usr/local/include/PDFWriter/IContentContextListener.h
-- Installing: /usr/local/include/PDFWriter/PDFIndirectObjectReference.h
-- Installing: /usr/local/include/PDFWriter/XCryptionCommon.h
-- Installing: /usr/local/include/PDFWriter/CharStringType2Flattener.h
-- Installing: /usr/local/include/PDFWriter/Ascii7Encoding.h
-- Installing: /usr/local/include/PDFWriter/WrittenFontRepresentation.h
-- Installing: /usr/local/include/PDFWriter/CFFFileInput.h
-- Installing: /usr/local/include/PDFWriter/InputBufferedStream.h
-- Installing: /usr/local/include/PDFWriter/CharStringType2Interpreter.h
-- Installing: /usr/local/include/PDFWriter/IType1InterpreterImplementation.h
-- Installing: /usr/local/include/PDFWriter/StateWriter.h
-- Installing: /usr/local/include/PDFWriter/ObjectsBasicTypes.h
-- Installing: /usr/local/include/PDFWriter/InputLZWDecodeStream.h
-- Installing: /usr/local/include/PDFWriter/OutputRC4XcodeStream.h
-- Installing: /usr/local/include/PDFWriter/PDFObjectCast.h
-- Installing: /usr/local/include/PDFWriter/InfoDictionary.h
-- Installing: /usr/local/include/PDFWriter/MD5Generator.h
-- Installing: /usr/local/include/PDFWriter/IObjectsContextExtender.h
-- Installing: /usr/local/include/PDFWriter/EncryptionHelper.h
-- Installing: /usr/local/include/PDFWriter/TrueTypeDescendentFontWriter.h
-- Installing: /usr/local/include/PDFWriter/PDFObjectParser.h
-- Installing: /usr/local/include/PDFWriter/Type1Input.h
-- Installing: /usr/local/include/PDFWriter/FreeTypeFaceWrapper.h
-- Installing: /usr/local/include/PDFWriter/PageContentContext.h
-- Installing: /usr/local/include/PDFWriter/IFreeTypeFaceExtender.h
-- Installing: /usr/local/include/PDFWriter/PNGImageHandler.h
-- Installing: /usr/local/include/PDFWriter/PDFHexString.h
-- Installing: /usr/local/include/PDFWriter/PDFArray.h
-- Installing: /usr/local/include/PDFWriter/CFFPrimitiveWriter.h
-- Installing: /usr/local/include/PDFWriter/PDFTiledPattern.h
-- Installing: /usr/local/include/PDFWriter/TiledPatternContentContext.h
-- Installing: /usr/local/include/PDFWriter/RefCountObject.h
-- Installing: /usr/local/include/PDFWriter/PDFObject.h
-- Installing: /usr/local/include/PDFWriter/InputAsciiHexDecodeStream.h
-- Installing: /usr/local/include/PDFWriter/IByteWriter.h
-- Installing: /usr/local/include/PDFWriter/Type2CharStringWriter.h
-- Installing: /usr/local/include/PDFWriter/IByteReader.h
-- Installing: /usr/local/include/PDFWriter/IByteReaderWithPosition.h
-- Installing: /usr/local/include/PDFWriter/TrueTypePrimitiveWriter.h
-- Installing: /usr/local/include/PDFWriter/PDFName.h
-- Installing: /usr/local/include/PDFWriter/IDeletable.h
-- Installing: /usr/local/include/PDFWriter/EHummusImageType.h
-- Installing: /usr/local/include/PDFWriter/OutputBufferedStream.h
-- Installing: /usr/local/include/PDFWriter/ProcsetResourcesConstants.h
-- Installing: /usr/local/include/PDFWriter/IDescendentFontWriter.h
-- Installing: /usr/local/include/PDFWriter/SafeBufferMacrosDefs.h
-- Installing: /usr/local/include/PDFWriter/IResourceWritingTask.h
-- Installing: /usr/local/include/PDFWriter/IWrittenFont.h
-- Installing: /usr/local/include/PDFWriter/StateReader.h
-- Installing: /usr/local/include/PDFWriter/MapIterator.h
-- Installing: /usr/local/include/PDFWriter/EncryptionOptions.h
-- Installing: /usr/local/include/PDFWriter/PDFArrayIterator.h
-- Installing: /usr/local/include/PDFWriter/CFFANSIFontWriter.h
-- Installing: /usr/local/include/PDFWriter/DictOperand.h
-- Installing: /usr/local/include/PDFWriter/PDFDocumentCopyingContext.h
-- Installing: /usr/local/include/PDFWriter/IANSIFontWriterHelper.h
-- Installing: /usr/local/include/PDFWriter/OutputStreamTraits.h
-- Installing: /usr/local/include/PDFWriter/PDFBoolean.h
-- Installing: /usr/local/include/PDFWriter/MyStringBuf.h
-- Installing: /usr/local/include/PDFWriter/PDFParsingOptions.h
-- Installing: /usr/local/include/PDFWriter/InputOffsetStream.h
-- Installing: /usr/local/include/PDFWriter/FreeTypeType1Wrapper.h
-- Installing: /usr/local/include/PDFWriter/CMYKRGBColor.h
-- Installing: /usr/local/include/PDFWriter/OutputFlateEncodeStream.h
-- Installing: /usr/local/include/PDFWriter/AbstractContentContext.h
-- Installing: /usr/local/include/PDFWriter/JPEGImageParser.h
-- Installing: /usr/local/include/PDFWriter/DocumentContextExtenderAdapter.h
-- Installing: /usr/local/include/PDFWriter/CFFEmbeddedFontWriter.h
-- Installing: /usr/local/include/PDFWriter/InputStreamSkipperStream.h
-- Installing: /usr/local/include/PDFWriter/GlyphUnicodeMapping.h
-- Installing: /usr/local/include/PDFWriter/Type1ToType2Converter.h
-- Installing: /usr/local/include/PDFWriter/WinAnsiEncoding.h
-- Installing: /usr/local/include/PDFWriter/PDFUsedFont.h
-- Installing: /usr/local/include/PDFWriter/PDFDocEncoding.h
-- Installing: /usr/local/include/PDFWriter/IDocumentContextExtender.h
-- Installing: /usr/local/include/PDFWriter/LayeredGlyphsDrawingContext.h
-- Installing: /usr/local/include/PDFWriter/Type1ToCFFEmbeddedFontWriter.h
-- Installing: /usr/local/include/PDFWriter/PrimitiveObjectsWriter.h
-- Installing: /usr/local/include/PDFWriter/FreeTypeOpenTypeWrapper.h
-- Installing: /usr/local/include/PDFWriter/PDFPageMergingHelper.h
-- Installing: /usr/local/include/PDFWriter/XObjectContentContext.h
-- Installing: /usr/local/include/PDFWriter/BetweenIncluding.h
-- Installing: /usr/local/include/PDFWriter/CFFPrimitiveReader.h
-- Installing: /usr/local/include/PDFWriter/OutputFileStream.h
-- Installing: /usr/local/include/PDFWriter/PDFPage.h
-- Installing: /usr/local/include/PDFWriter/RadialGradientShadingPatternWritingTask.h
-- Installing: /usr/local/include/PDFWriter/InputRC4XcodeStream.h
-- Installing: /usr/local/include/PDFWriter/LinearGradientShadingPatternWritingTask.h
-- Installing: /usr/local/include/PDFWriter/WrittenFontCFF.h
-- Installing: /usr/local/include/PDFWriter/PDFNull.h
-- Installing: /usr/local/include/PDFWriter/InputStringStream.h
-- Installing: /usr/local/include/PDFWriter/CatalogInformation.h
-- Installing: /usr/local/include/PDFWriter/OutputFlateDecodeStream.h
-- Installing: /usr/local/include/PDFWriter/Deletable.h
-- Installing: /usr/local/include/PDFWriter/EFontStretch.h
-- Installing: /usr/local/include/PDFWriter/UsedFontsRepository.h
-- Installing: /usr/local/include/PDFWriter/GraphicStateStack.h
-- Installing: /usr/local/include/PDFWriter/IType2InterpreterImplementation.h
-- Installing: /usr/local/include/PDFWriter/ETokenSeparator.h
-- Installing: /usr/local/include/PDFWriter/CharStringType1Interpreter.h
-- Installing: /usr/local/include/PDFWriter/UppercaseSequance.h
-- Installing: /usr/local/include/PDFWriter/TrueTypeANSIFontWriter.h
-- Installing: /usr/local/include/PDFWriter/IFormEndWritingTask.h
-- Installing: /usr/local/include/PDFWriter/OutputStringBufferStream.h
-- Installing: /usr/local/include/PDFWriter/TimersRegistry.h
-- Installing: /usr/local/include/PDFWriter/PaintedGlyphsDrawingContext.h
-- Installing: /usr/local/include/PDFWriter/PDFSymbol.h
-- Installing: /usr/local/include/PDFWriter/DocumentContext.h
-- Installing: /usr/local/include/PDFWriter/PDFDate.h
-- Installing: /usr/local/include/PDFWriter/Timer.h
-- Installing: /usr/local/include/PDFWriter/InputCharStringDecodeStream.h
-- Installing: /usr/local/include/PDFWriter/PFMFileReader.h
-- Installing: /usr/local/include/PDFWriter/SweepGradientShadingPatternWritingTask.h
-- Installing: /usr/local/include/PDFWriter/PDFWriter.h
-- Installing: /usr/local/include/PDFWriter/CharStringType1Tracer.h
-- Installing: /usr/local/include/PDFWriter/PDFFormXObject.h
-- Installing: /usr/local/include/PDFWriter/ANSIFontWriter.h
-- Installing: /usr/local/include/PDFWriter/ObjectsContext.h
-- Installing: /usr/local/include/PDFWriter/PDFDictionaryIterator.h
-- Installing: /usr/local/include/PDFWriter/Log.h
-- Installing: /usr/local/include/PDFWriter/AdapterIByteReaderWithPositionToIReadPositionProvider.h
-- Installing: /usr/local/include/PDFWriter/PDFParser.h
-- Installing: /usr/local/include/PDFWriter/PDFLiteralString.h
-- Installing: /usr/local/include/PDFWriter/ParsedPrimitiveHelper.h
-- Installing: /usr/local/include/PDFWriter/RefCountPtr.h
-- Installing: /usr/local/include/PDFWriter/EPDFVersion.h
-- Installing: /usr/local/include/PDFWriter/JPEGImageInformation.h
-- Installing: /usr/local/include/PDFWriter/PSBool.h
-- Installing: /usr/local/include/PDFWriter/IPageEndWritingTask.h
-- Installing: /usr/local/include/PDFWriter/ITiledPatternEndWritingTask.h
-- Installing: /usr/local/include/PDFWriter/PDFEmbedParameterTypes.h
-- Installing: /usr/local/include/PDFWriter/PDFStreamInput.h
-- Installing: /usr/local/include/PDFWriter/IPDFParserExtender.h
-- Installing: /usr/local/include/PDFWriter/InputStringBufferStream.h
-- Installing: /usr/local/include/PDFWriter/InputAESDecodeStream.h
-- Installing: /usr/local/include/PDFWriter/TrueTypeEmbeddedFontWriter.h
-- Installing: /usr/local/include/PDFWriter/WrittenFontTrueType.h
-- Installing: /usr/local/include/PDFWriter/SimpleGlyphsDrawingContext.h
-- Installing: /usr/local/include/PDFWriter/PDFStream.h
-- Installing: /usr/local/include/PDFWriter/ObjectsContextExtenderAdapter.h
-- Installing: /usr/local/include/PDFWriter/CharStringDefinitions.h
-- Installing: /usr/local/include/PDFWriter/PDFReal.h
-- Installing: /usr/local/include/PDFWriter/DecryptionHelper.h
-- Installing: /usr/local/include/PDFWriter/ShadingWriter.h
-- Installing: /usr/local/include/PDFWriter/OpenTypePrimitiveReader.h
-- Installing: /usr/local/include/PDFWriter/InputLimitedStream.h
-- Installing: /usr/local/include/PDFWriter/CharStringType2Tracer.h
-- Installing: /usr/local/include/PDFWriter/DescendentFontWriter.h
-- Installing: /usr/local/include/PDFWriter/CIDFontWriter.h
-- Installing: /usr/local/include/PDFWriter/PageTree.h
-- Installing: /usr/local/include/PDFWriter/IReadPositionProvider.h
-- Installing: /usr/local/include/PDFWriter/PDFMatrix.h
-- Installing: /usr/local/include/PDFWriter/FSType.h
-- Installing: /usr/local/include/PDFWriter/PDFInteger.h
-- Installing: /usr/local/include/PDFWriter/SingleValueContainerIterator.h
-- Installing: /usr/local/include/PDFWriter/PDFCosArray.h
-- Installing: /usr/local/include/PDFWriter/PDFModifiedPage.h
-- Installing: /usr/local/include/PDFWriter/InputFlateDecodeStream.h
-- Installing: /usr/local/include/PDFWriter/InputDCTDecodeStream.h
-- Installing: /usr/local/include/PDFWriter/TIFFImageHandler.h
-- Installing: /usr/local/include/PDFWriter/PDFCosDict.h
-- Installing: /usr/local/include/PDFWriter/PDFPageInput.h
-- Installing: /usr/local/include/PDFWriter/InputAscii85DecodeStream.h
-- Installing: /usr/local/include/PDFWriter/TrailerInformation.h
-- Installing: /usr/local/include/PDFWriter/BoxingBase.h
-- Installing: /usr/local/include/PDFWriter/PDFImageXObject.h
-- Installing: /usr/local/include/PDFWriter/StandardEncoding.h
-- Installing: /usr/local/include/PDFWriter/RC4.h
-- Installing: /usr/local/include/PDFWriter/IOBasicTypes.h
-- Installing: /usr/local/include/PDFWriter/IFontDescriptorHelper.h
-- Installing: /usr/local/include/PDFWriter/IndirectObjectsReferenceRegistry.h
-- Installing: /usr/local/include/PDFWriter/PDFTextString.h
-- Installing: /usr/local/lib/cmake/PDFHummus/PDFHummusTargets.cmake
-- Installing: /usr/local/lib/cmake/PDFHummus/PDFHummusTargets-noconfig.cmake
-- Installing: /usr/local/lib/cmake/PDFHummus/PDFHummusConfig.cmake
-- Installing: /usr/local/lib/cmake/PDFHummus/PDFHummusConfigVersion.cmake
raphy@raohy:~/PDF-Writer/builddir$
But I'm having issues in the CMakeLists.txt
definition:
With :
cmake_minimum_required(VERSION 3.5)
project(WebView)
find_package(wxWidgets REQUIRED COMPONENTS base core webview stc xml richtext)
include(${wxWidgets_USE_FILE})
find_package(PkgConfig REQUIRED)
pkg_check_modules(tesseract REQUIRED IMPORTED_TARGET tesseract)
set_property(TARGET PkgConfig::tesseract APPEND PROPERTY INTERFACE_LINK_LIBRARIES curl archive)
pkg_check_modules(leptonica REQUIRED IMPORTED_TARGET lept)
pkg_check_modules(libcurl REQUIRED IMPORTED_TARGET libcurl)
pkg_check_modules(PDFWriter REQUIRED IMPORTED_TARGET libPDFWriter)
link_libraries(${wxWidgets_LIBRARIES})
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(${PROJECT_NAME}
webview.cpp
infopiece.cpp
textFromImage.cpp
)
target_link_libraries(${PROJECT_NAME} PUBLIC
PkgConfig::leptonica
PkgConfig::tesseract
PDFWriter
)
I get this error:
raphy@raohy:~/wx-webview$ cmake --build builddir
-- Checking for module 'libPDFWriter'
-- Package 'libPDFWriter', required by 'virtual:world', not found
CMake Error at /usr/local/share/cmake-3.29/Modules/FindPkgConfig.cmake:619 (message):
The following required packages were not found:
- libPDFWriter
Call Stack (most recent call first):
/usr/local/share/cmake-3.29/Modules/FindPkgConfig.cmake:847 (_pkg_check_modules_internal)
CMakeLists.txt:25 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
gmake: *** [Makefile:233: cmake_check_build_system] Error 1
well, not sure if that's gonna help you, my intent was that you first attempt to separately run the tests of PDFWriter to see a comparison of other code that inlcudes "PDFWrtier.h" and hopefully doesn't crash. then learn from the differences there.
As for the local problem seems like pkg_check_modules(PDFWriter REQUIRED IMPORTED_TARGET libPDFWriter)
line fails. not sure how PDFWriter is defined as module....but it sounds a bit optimistic to attempt that path. might need to play with the search path for libraries.
I normally referred to as "PDFHummus::PDFWriter". so this might be the problem. but then i also declare the module as such.
like in my text extraction project, i refer to the module with target_link_libraries (TextExtraction PDFHummus::PDFWriter)
after having declared it with:
include(FetchContent)
FetchContent_Declare(
PDFHummus
URL https://github.com/galkahana/PDF-Writer/archive/refs/tags/v4.6.2.tar.gz
URL_HASH SHA256=0a36815ccc9d207028567f90039785c824b211169ba5da68de84d0c15455ab62
DOWNLOAD_EXTRACT_TIMESTAMP FALSE
FIND_PACKAGE_ARGS
)
FetchContent_MakeAvailable(PDFHummus)
see the example project here:
https://github.com/galkahana/pdf-text-extraction/
top level cmakelists fetches pdfhummus, and the lower level at TextExtraction include_link_library it.
I admit to yet having to try your setup to recreate the problem and maybe provide better help...i will try to find some time and actually attempt to run your code. if you could please attach a minimum example (that includes the sources files...all of them) that recreates the problem, this would help.
@galkahana To reproduce the issue is quite simple:
1° Step :
Install the C++ UI library wxWidgets
: https://github.com/wxWidgets/wxWidgets.git
2° Step :
In wxWidgets/samples/webView/
subfolder use this CMakeLists.txt
file to compile, and build the WebView
sample:
cmake_minimum_required(VERSION 3.5)
project(WebView)
find_package(wxWidgets REQUIRED COMPONENTS base core webview stc richtext)
include(${wxWidgets_USE_FILE})
include(FetchContent)
FetchContent_Declare(
PDFHummus
URL https://github.com/galkahana/PDF-Writer/archive/refs/tags/v4.6.2.tar.gz
URL_HASH SHA256=0a36815ccc9d207028567f90039785c824b211169ba5da68de84d0c15455ab62
DOWNLOAD_EXTRACT_TIMESTAMP FALSE
FIND_PACKAGE_ARGS
)
FetchContent_MakeAvailable(PDFHummus)
link_libraries(${wxWidgets_LIBRARIES})
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(${PROJECT_NAME} WIN32 MACOSX_BUNDLE webview.cpp)
target_link_libraries (${PROJECT_NAME} PUBLIC
PDFHummus::PDFWriter
)
3° Step :
In /wxWidgets/samples/webview/webview.cp
file, include the PDFWriter.h files:
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#if !wxUSE_WEBVIEW_WEBKIT && !wxUSE_WEBVIEW_WEBKIT2 && \
!wxUSE_WEBVIEW_IE && !wxUSE_WEBVIEW_EDGE && \
!wxUSE_WEBVIEW_CHROMIUM
#error "A wxWebView backend is required by this sample"
#endif
#include "PDFWriter.h"
#include "PDFPage.h"
4° Step :
And, in webview.cpp
file, add PDFWriter pdfWriter
in class WebFrame
:
class WebFrame : public wxFrame
{
private:
PDFWriter pdfWriter;
5° Step :
Compile and build:
~/wxWidgets/samples/webview$ cmake -B builddir
-- The C compiler identification is GNU 12.3.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_baseu-3.3;-lwx_gtk3u_core-3.3;-lwx_gtk3u_webview-3.3;-lwx_gtk3u_stc-3.3;-lwx_gtk3u_richtext-3.3 (found version "3.3.0")
-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/raphy/wxWidgets/samples/webview/builddir
~/wxWidgets/samples/webview$ cmake --build builddir
[ 50%] Building CXX object CMakeFiles/WebView.dir/webview.cpp.o
[100%] Linking CXX executable WebView
[100%] Built target WebView
6° Step :
Export the environment variable:
~/wxWidgets/samples/webview$ export WEBKIT_DISABLE_COMPOSITING_MODE=1
7° Step :
Run the executable:
~/wxWidgets/samples/webview$ ./builddir/WebView
Segmentation fault (core dumped)
8° Step :
You will see that commenting this line in webview.cpp
:
private:
//PDFWriter pdfWriter;
and then rebuilding:
raphy@raohy:~/wxWidgets/samples/webview$ cmake --build builddir
[ 50%] Building CXX object CMakeFiles/WebView.dir/webview.cpp.o
[100%] Linking CXX executable WebView
[100%] Built target WebView
raphy@raohy:~/wxWidgets/samples/webview$ export WEBKIT_DISABLE_COMPOSITING_MODE=1
will produce a working executable file:
raphy@raohy:~/wxWidgets/samples/webview$ ./builddir/WebView
Which means that the Segmentation fault(core dumped)
issue is produced by:
PDFWriter pdfWriter;
Perhaps I discovered the root cause of the issue, and the solution to it:
I changed from:
PDFWriter pdfWriter;
To:
PDFWriter* pdfWriter;
and the execution of the built file went fine:
raphy@raohy:~/wxWidgets/samples/webview$ cmake --build builddir
[ 50%] Building CXX object CMakeFiles/WebView.dir/webview.cpp.o
[100%] Linking CXX executable WebView
[100%] Built target WebView
raphy@raohy:~/wxWidgets/samples/webview$ export WEBKIT_DISABLE_COMPOSITING_MODE=1
raphy@raohy:~/wxWidgets/samples/webview$ ./builddir/WebView
So... why in your PDFWriteSamples there are no pointers to PDFWriter class, for example here:
https://github.com/galkahana/PDFWriterSamples/blob/master/UsingText/UsingText.cpp#L21 ?
Is it correct with the pointer: PDFWriter* pdfWriter;
or without the pointer : PDFWriter pdfWriter;
?
Without the pointer should work fine, so i guess both forms are good (i prefer to put stuff on the stack where possible cause then i dont have to delete them later). There's something particular in this project setup causing trouble.
the difference between having PDFWriter* pdfWriter
and PDFWriter pdfWriter
is that the former does not actually instantiate an object, but the latter does. i guess the crash with the former would come if you go pdfWriter = new PDFWriter()
.
i'll try to find some time this week/weekend to setup the project like you did and see if i can recreate the issue and then figure out what the problem is. i will say it is highly unusual, but that doesn't help you ;).
@galkahana I suspect that using pointer with pdfWriter
is not that good, because I've tried to use a pdfWriter's method and got Segmentation fault (core dumped)
again :
In webview.cpp
:
class WebFrame : public wxFrame
{
public:
WebFrame(const wxString& url, bool isMain = true, wxWebViewWindowFeatures* windowFeatures = nullptr);
virtual ~WebFrame();
void OnPdf(wxCommandEvent& evt);
private:
PDFWriter* pdfWriter;
EStatusCode status;
void WebFrame::OnPdf(wxCommandEvent& evt)
{
std::string completePathToPdfFile = "./sample.pdf";
status = pdfWriter->StartPDF(completePathToPdfFile, ePDFVersion13);
}
raphy@raohy:~/wxWidgets/samples/webview$ cmake --build builddir/
[ 50%] Building CXX object CMakeFiles/WebView.dir/webview.cpp.o
[100%] Linking CXX executable WebView
[100%] Built target WebView
raphy@raohy:~/wxWidgets/samples/webview$ export WEBKIT_DISABLE_COMPOSITING_MODE=1
raphy@raohy:~/wxWidgets/samples/webview$
raphy@raohy:~/wxWidgets/samples/webview$ ./builddir/WebView
Segmentation fault (core dumped)
But I get the Segmentation fault(core dumped)
error also if I do not use the pointer at all for pdfWriter
class WebFrame : public wxFrame
{
public:
WebFrame(const wxString& url, bool isMain = true, wxWebViewWindowFeatures* windowFeatures = nullptr);
virtual ~WebFrame();
void OnPdf(wxCommandEvent& evt);
private:
PDFWriter pdfWriter;
EStatusCode status;
void WebFrame::OnPdf(wxCommandEvent& evt)
{
std::string completePathToPdfFile = "./sample.pdf";
status = pdfWriter.StartPDF(completePathToPdfFile, ePDFVersion13);
}
raphy@raohy:~/wxWidgets/samples/webview$ cmake --build builddir/
[ 50%] Building CXX object CMakeFiles/WebView.dir/webview.cpp.o
[100%] Linking CXX executable WebView
[100%] Built target WebView
raphy@raohy:~/wxWidgets/samples/webview$ export WEBKIT_DISABLE_COMPOSITING_MODE=1
raphy@raohy:~/wxWidgets/samples/webview$ ./builddir/WebView
Segmentation fault (core dumped)
But I've tried to use a method of pdfFile
class, and this does not give any problems:
class WebFrame : public wxFrame
{
public:
WebFrame(const wxString& url, bool isMain = true, wxWebViewWindowFeatures* windowFeatures = nullptr);
virtual ~WebFrame();
void OnPdf(wxCommandEvent& evt);
private:
PDFWriter pdfWriter;
EStatusCode status;
PDFParser parser;
InputFile pdfFile;
void WebFrame::OnPdf(wxCommandEvent& evt)
{
std::string completePathToPdfFile = "./sample.pdf";
EStatusCode status = pdfFile.OpenFile(completePathToPdfFile);
std::cout << "status: " << status << std::endl;
std::cout << "PDF Header level = " << parser.GetPDFLevel() << std::endl;
std::cout << "Number of objects in PDF = " << parser.GetObjectsCount() << std::endl;
std::cout << "Number of pages in PDF = " << parser.GetPagesCount() << "\n";
}
raphy@raohy:~/wxWidgets/samples/webview$ cmake --build builddir/
[ 50%] Building CXX object CMakeFiles/WebView.dir/webview.cpp.o
[100%] Linking CXX executable WebView
[100%] Built target WebView
raphy@raohy:~/wxWidgets/samples/webview$
raphy@raohy:~/wxWidgets/samples/webview$ export WEBKIT_DISABLE_COMPOSITING_MODE=1
raphy@raohy:~/wxWidgets/samples/webview$
raphy@raohy:~/wxWidgets/samples/webview$ ./builddir/WebView
raphy@raohy:~/wxWidgets/samples/webview$
status: 0
PDF Header level = 1.58101e-322
Number of objects in PDF = 32
Number of pages in PDF = 129 // <--------------------------------------------------- ???
By the way, The number of pages is wrong.
This is the pdf file I used : https://dagrs.berkeley.edu/sites/default/files/2020-01/sample.pdf
What could in the project setup interfere with pdfWriter
class and might cause this issue?
how about try to isolate this maybe? start with a plain cpp project reading the sample file you provided, without wxwidgets, then see if things work as expected, then add wxwidgets to it, and see from there. the parsing errors pretty much say that something is very wrong and parsing goes all bad (didn't get a proper header version as well). not sure what's causing that, could be some endian changes caused by flags, not sure.
i'm trying this setup on my mac and will soon come with details of my experience while i try to recreate the problem. in any case, as for the onPDF function with errors in parsing, then what's missing there is the actual parsing of the file. a file is opened, and then the parser, without having gotten asked to parse the file, or given any connection to it is asked to provide details. what it does is to provide uninitialized values which have nothing to do with the file. adding a line to parse the file should do the trick.
code should look something like that:
PDFParser parser;
InputFile pdfFile;
std::string completePathToPdfFile = "/Users/galkahana/Documents/research/pdf/issue_249/wxWidgets/samples/webview/sample.pdf";
EStatusCode status = pdfFile.OpenFile(completePathToPdfFile);
// that's the missing one
EStatusCode statusParsing = parser.StartPDFParsing(pdfFile.GetInputStream());
std::cout << "status: " << status << std::endl;
std::cout << "statusParsing: " << statusParsing << std::endl;
std::cout << "PDF Header level = " << parser.GetPDFLevel() << std::endl;
std::cout << "Number of objects in PDF = " << parser.GetObjectsCount() << std::endl;
std::cout << "Number of pages in PDF = " << parser.GetPagesCount() << "\n";
Then we get the right answers:
status: 0
statusParsing: 0
PDF Header level = 1.2
Number of objects in PDF = 223
Number of pages in PDF = 10
ok. so what i did is a bit different from what you did...mostly cause i have this mac here, and not ubuntu (im guessing i want an ubuntu install to actually view the browser ui). also...cause im lazy i didn't actually build 3.3.0 version but rather used the latest release 3.2.4. this means that when creating the example code as you described i git checkout v3.2.4
because otherwise there's some compatibility issues (new stuff added in 3.3.0).
with that in place (and not other changes, kept the cmake file as in the example is was able to get pdfwriter in an onPDF button with both parsing and creating an empty file and no segmentation faults.
attaching here the CMakeLists.txt and webview.cpp for you to compare.
Archive.zip
offhand i can't really say that using wxWidgets 3.2.4 or a mac should make a difference...but there's that. and unfortunately i'm otherwise unable to recreate the issue.