biblioteka PoDoFo instalacja

0

Witam,
instalował ktoś może bibliotekę PoDoFo do pracy z plikami pdf?
Walczę z tym już którąś godzinę a i tak nie chce się skompilować.
Jakiekolwiek porady mile widziane.

0

Ok, udało mi się co nieco zrobić. Mam już plik podofo.sln.
Teraz podczas próby zbudowania, dostaje 1 błąd:

 Build: 31 succeeded, 1 failed, 0 up-to-date, 2 skipped

2>PdfFiltersPrivate.obj : error LNK2001: unresolved external symbol _deflate
2>PdfFiltersPrivate.obj : error LNK2001: unresolved external symbol _deflateEnd
2>PdfFiltersPrivate.obj : error LNK2001: unresolved external symbol _inflate
2>PdfFiltersPrivate.obj : error LNK2001: unresolved external symbol _inflateEnd
2>PdfFiltersPrivate.obj : error LNK2001: unresolved external symbol _deflateInit_
2>PdfFiltersPrivate.obj : error LNK2001: unresolved external symbol _inflateInit_
2>[...]podofo-0.9.4\src\Release\podofo.dll : fatal error LNK1120: 6 unresolved externals

Wcześniej pojawia się coś takiego:

PdfFiltersPrivate.cpp
2>[...]\podofo-0.9.4\src\base\PdfFiltersPrivate.cpp(850): warning C4297: 'PoDoFo::JPegErrorExit': function assumed not to throw an exception but does
2>  [...]\podofo-0.9.4\src\base\PdfFiltersPrivate.cpp(850): note: The function is extern "C" and /EHc was specified

Ktokolwiek wie jak to naprawić? Nikt nigdy nie pracował z podofo?

0

Błędy linkera to prawdopodobnie brak załączonej libki zlib.

0

A jak to dokładnie sprawdzić? Bo w teorii wszystko powinno być ok. Zlib zbudowałem i poszła komenda:

 cmake -G "Visual Studio 14 2015" ..\podofo-0.9.4 -DCMAKE_INCLUDE_PATH="%FTDIR%;%JPEGDIR%;%JPEGDIR%;%ZLIBDIR%" -DCMAKE_LIBRARY_PATH="%FTLIBDIR%;%FTDIR%;%JPEGDIR%;%JPEGDIR%;%ZLIBDIR%" -DPODOFO_BUILD_SHARED:BOOL=FALSE -DFREETYPE_LIBRARY_NAMES_DEBUG=freetype271MT_D -DFREETYPE_LIBRARY_NAMES_RELEASE=freetype271MT

Tam w komunikatach dostałem info, że Zlib został odnaleziony, więc nie wiem o co biega.

Szczerze mówiąc takich rzeczy nigdy nie robiłem. Potrzebuję napisać prosty program odczytujący informacje z PDF, przetworzyć je i zapisać do pliku, najlepiej też PDF, dlatego się zainteresowałem PoDoFo. Ale ciężko to widzę, biorąc pod uwagę fakt, że już któryś dzień się z tym użeram a nawet biblioteki nie zbudowałem.

0

Udało mi się rozwiązać problem poprzez dodanie

#define ZLIB_WINAPI

przed

#include zlib.h

Teraz znów dostaje 1 błąd, znów coś nie tak z biblioteką ZLIB.

 zlib.lib(match686.obj) : error LNK2026: module unsafe for SAFESEH image.
2>zlib.lib(inffas32.obj) : error LNK2026: module unsafe for SAFESEH image.
2>  jpeg.lib(jerror.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
2>     Creating library [...]/podofo-0.9.4/src/Release/podofo.lib and object [...]/podofo-0.9.4/src/Release/podofo.exp
2>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
2>  Generating code
2>  Finished generating code
2>zlib.lib(match686.obj) : error LNK2026: module unsafe for SAFESEH image.
2>zlib.lib(inffas32.obj) : error LNK2026: module unsafe for SAFESEH image.
2>[...]\podofo.dll : fatal error LNK1281: Unable to generate SAFESEH image.

Edit: Wystarczyło użyć google.
w podofo.sln:
Right-click na podofo_shared(dlatego, że tam jest dołączana biblioteka zlib) -> Properties -> Configuration Properties -> Linker -> Advanced zmiana "Image Has Safe Exception Handlers" na "No (/SAFESEH:NO)"

podofo.dll zbudowane, czyli pierwszy sukces za mną :) Jak wszystko mi się uda zrobić, dołączę bibliotekę do programu i będzie działać, to chyba napiszę jakiś poradnik jak zbudować podofo.dll przy użycie VS2015. Bo nie ma nigdzie krok po kroku wyjaśnienia. Niby jest instrukcja, ale nie jest to takie proste jak tam napisano...

Pozdrawiam :)

0

Heja,

Może ktoś pomoże. Podczas buildowania PoDoFo w CMake wyskakuje mi stek poniższych błedów, ktoś coś?

WARNING: Target "TokenizerTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "TokenizerTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "VariantTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "WatermarkTest" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofobox" requests linking to directory "C:/gnuwin32/lib". Ta
rgets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofobox" requests linking to directory "C:/gnuwin32/lib". Ta
rgets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofobox" requests linking to directory "C:/gnuwin32/lib". Ta
rgets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofobox" requests linking to directory "C:/gnuwin32/lib". Ta
rgets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofobox" requests linking to directory "C:/gnuwin32/lib". Ta
rgets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofobox" requests linking to directory "C:/gnuwin32/lib". Ta
rgets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocolor" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocolor" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocolor" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocolor" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocolor" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocolor" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocountpages" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocountpages" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocountpages" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocountpages" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocountpages" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocountpages" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocrop" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocrop" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocrop" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocrop" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocrop" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofocrop" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoencrypt" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoencrypt" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoencrypt" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoencrypt" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoencrypt" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoencrypt" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofogc" requests linking to directory "C:/gnuwin32/lib". Tar
gets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofogc" requests linking to directory "C:/gnuwin32/lib". Tar
gets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofogc" requests linking to directory "C:/gnuwin32/lib". Tar
gets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofogc" requests linking to directory "C:/gnuwin32/lib". Tar
gets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofogc" requests linking to directory "C:/gnuwin32/lib". Tar
gets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofogc" requests linking to directory "C:/gnuwin32/lib". Tar
gets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimgextract" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimgextract" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimgextract" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimgextract" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimgextract" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimgextract" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimg2pdf" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimg2pdf" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimg2pdf" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimg2pdf" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimg2pdf" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimg2pdf" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofomerge" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofomerge" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofomerge" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofomerge" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofomerge" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofomerge" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofopages" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofopages" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofopages" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofopages" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofopages" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofopages" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofopdfinfo" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofopdfinfo" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofopdfinfo" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofopdfinfo" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofopdfinfo" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofopdfinfo" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofotxt2pdf" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofotxt2pdf" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofotxt2pdf" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofotxt2pdf" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofotxt2pdf" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofotxt2pdf" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofotxtextract" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofotxtextract" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofotxtextract" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofotxtextract" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofotxtextract" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofotxtextract" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofouncompress" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofouncompress" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofouncompress" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofouncompress" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofouncompress" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofouncompress" requests linking to directory "C:/gnuwin32/li
b". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimpose" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimpose" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimpose" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimpose" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimpose" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoimpose" requests linking to directory "C:/gnuwin32/lib".
Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoincrementalupdates" requests linking to directory "C:/gnu
win32/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoincrementalupdates" requests linking to directory "C:/gnu
win32/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoincrementalupdates" requests linking to directory "C:/gnu
win32/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoincrementalupdates" requests linking to directory "C:/gnu
win32/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoincrementalupdates" requests linking to directory "C:/gnu
win32/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoincrementalupdates" requests linking to directory "C:/gnu
win32/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoxmp" requests linking to directory "C:/gnuwin32/lib". Ta
rgets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoxmp" requests linking to directory "C:/gnuwin32/lib". Ta
rgets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoxmp" requests linking to directory "C:/gnuwin32/lib". Ta
rgets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoxmp" requests linking to directory "C:/gnuwin32/lib". Ta
rgets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoxmp" requests linking to directory "C:/gnuwin32/lib". Ta
rgets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofoxmp" requests linking to directory "C:/gnuwin32/lib". Ta
rgets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofosign" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofosign" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofosign" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofosign" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofosign" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "podofosign" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "helloworld" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "helloworld" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "helloworld" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "helloworld" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "helloworld" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "helloworld" requests linking to directory "C:/gnuwin32/lib". T
argets may link only to libraries. CMake is dropping the item.
WARNING: Target "helloworld-base14" requests linking to directory "C:/gnuwin32/l
ib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "helloworld-base14" requests linking to directory "C:/gnuwin32/l
ib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "helloworld-base14" requests linking to directory "C:/gnuwin32/l
ib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "helloworld-base14" requests linking to directory "C:/gnuwin32/l
ib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "helloworld-base14" requests linking to directory "C:/gnuwin32/l
ib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "helloworld-base14" requests linking to directory "C:/gnuwin32/l
ib". Targets may link only to libraries. CMake is dropping the item.

0

cmake -G "MinGW Makefiles" -DCMAKE_INCLUDE_PATH="C:\gnuwin32\include" -DCMAKE_LIBRARY_PATH="C:\gnuwin32\lib" -DPODOFO_BUILD_STATIC=TRUE ..

używam powyższej komendy, aktualnie wyskakuje mi informacja o brakującej bibliotece ZLIB...w gnuwin32 mam zainstalowany pełny pakiet...

0
Jacek Odrowąż napisał(a):

cmake -G "MinGW Makefiles" -DCMAKE_INCLUDE_PATH="C:\gnuwin32\include" -DCMAKE_LIBRARY_PATH="C:\gnuwin32\lib" -DPODOFO_BUILD_STATIC=TRUE ..

używam powyższej komendy, aktualnie wyskakuje mi informacja o brakującej bibliotece ZLIB...w gnuwin32 mam zainstalowany pełny pakiet...

Spróbuj dodać jeszcze bibliotekę libpng, niby nie jest wymagana, ale pamiętam ze mi pomogła. Ona chyba ma w sobie ZLIB.

0

Jak już zainstalujesz PoDoFo, to czeka Cię płacz i zgrzytanie zębów przy polskich znakach, szczególnie gdy ś znika, a zamiast ł jest CR LF. Przedrostek wersji 0, tu akurat powinien dać dużo do myślenia.

0
Kocica napisał(a):

Jak już zainstalujesz PoDoFo, to czeka Cię płacz i zgrzytanie zębów przy polskich znakach, szczególnie gdy ś znika, a zamiast ł jest CR LF. Przedrostek wersji 0, tu akurat powinien dać dużo do myślenia.

https://stackoverflow.com/questions/41877609/podofo-polish-characters-pdfcontentstokenizer-error/42902730#42902730

Była robiona poprawka co do obsługi polskich znaków, sam zapytałem o to i jedna osoba wprowadziła co trzeba. Jak coś mogę pomóc :) Trzeba tylko pamiętać, żeby przy tworzeniu pdfa ściągnąć sobie jakąś czcionkę, która posiada polskie znaki, bo te wbudowane nie mają, z tego co pamiętam :)

1 użytkowników online, w tym zalogowanych: 0, gości: 1