<div dir="ltr">thanks , the error solved , but now I get this error (OpenJPEG 1.52) :<div>(I tried OpenJPEG 2.2 too)<br><div></div><div><br></div><div><div>[  1%] Linking CXX shared library libpoppler.dll</div><div>CMakeFiles\poppler.dir/objects.a(JpegWriter.cc.obj): In function `ZN10JpegWriterD2Ev':</div><div>D:/Develop/QT/Poppler/new/poppler/goo/JpegWriter.cc:63: undefined reference to `_imp__jpeg_destroy_compress'</div><div>CMakeFiles\poppler.dir/objects.a(JpegWriter.cc.obj): In function `ZN10JpegWriter4initEP6_iobufiiii':</div><div>D:/Develop/QT/Poppler/new/poppler/goo/JpegWriter.cc:80: undefined reference to `_imp__jpeg_std_error'</div><div>D:/Develop/QT/Poppler/new/poppler/goo/JpegWriter.cc:84: undefined reference to `_imp__jpeg_CreateCompress'</div><div>D:/Develop/QT/Poppler/new/poppler/goo/JpegWriter.cc:102: undefined reference to `_imp__jpeg_set_defaults'</div><div>D:/Develop/QT/Poppler/new/poppler/goo/JpegWriter.cc:105: undefined reference to `_imp__jpeg_stdio_dest'</div><div>D:/Develop/QT/Poppler/new/poppler/goo/JpegWriter.cc:122: undefined reference to `_imp__jpeg_set_colorspace'</div><div>D:/Develop/QT/Poppler/new/poppler/goo/JpegWriter.cc:140: undefined reference to `_imp__jpeg_start_compress'</div><div>D:/Develop/QT/Poppler/new/poppler/goo/JpegWriter.cc:131: undefined reference to `_imp__jpeg_set_quality'</div><div>D:/Develop/QT/Poppler/new/poppler/goo/JpegWriter.cc:136: undefined reference to `_imp__jpeg_simple_progression'</div><div>CMakeFiles\poppler.dir/objects.a(JpegWriter.cc.obj): In function `ZN10JpegWriter13writePointersEPPhi':</div><div>D:/Develop/QT/Poppler/new/poppler/goo/JpegWriter.cc:159: undefined reference to `_imp__jpeg_write_scanlines'</div><div>CMakeFiles\poppler.dir/objects.a(JpegWriter.cc.obj): In function `ZN10JpegWriter8writeRowEPPh':</div><div>D:/Develop/QT/Poppler/new/poppler/goo/JpegWriter.cc:176: undefined reference to `_imp__jpeg_write_scanlines'</div><div>CMakeFiles\poppler.dir/objects.a(JpegWriter.cc.obj): In function `ZN10JpegWriter5closeEv':</div><div>D:/Develop/QT/Poppler/new/poppler/goo/JpegWriter.cc:183: undefined reference to `_imp__jpeg_finish_compress'</div><div>CMakeFiles\poppler.dir/objects.a(DCTStream.cc.obj): In function `ZN9DCTStreamD2Ev':</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/DCTStream.cc:77: undefined reference to `_imp__jpeg_destroy_decompress'</div><div>CMakeFiles\poppler.dir/objects.a(DCTStream.cc.obj): In function `ZN9DCTStream7getCharEv':</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/DCTStream.cc:225: undefined reference to `_imp__jpeg_read_scanlines'</div><div>CMakeFiles\poppler.dir/objects.a(DCTStream.cc.obj): In function `ZN9DCTStream8getCharsEiPh':</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/DCTStream.cc:233: undefined reference to `_imp__jpeg_read_scanlines'</div><div>CMakeFiles\poppler.dir/objects.a(DCTStream.cc.obj): In function `ZN9DCTStream4initEv':</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/DCTStream.cc:94: undefined reference to `_imp__jpeg_std_error'</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/DCTStream.cc:99: undefined reference to `_imp__jpeg_resync_to_restart'</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/DCTStream.cc:110: undefined reference to `_imp__jpeg_CreateDecompress'</div><div>CMakeFiles\poppler.dir/objects.a(DCTStream.cc.obj): In function `ZN9DCTStream5resetEv':</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/DCTStream.cc:123: undefined reference to `_imp__jpeg_destroy_decompress'</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/DCTStream.cc:160: undefined reference to `_imp__jpeg_read_header'</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/DCTStream.cc:190: undefined reference to `_imp__jpeg_start_decompress'</div><div>CMakeFiles\poppler.dir/objects.a(FlateEncoder.cc.obj): In function `ZN12FlateEncoder5resetEv':</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/FlateEncoder.cc:61: undefined reference to `_imp__deflateEnd'</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/FlateEncoder.cc:63: undefined reference to `_imp__deflateInit_'</div><div>CMakeFiles\poppler.dir/objects.a(FlateEncoder.cc.obj): In function `ZN12FlateEncoderD2Ev':</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/FlateEncoder.cc:47: undefined reference to `_imp__deflateEnd'</div><div>CMakeFiles\poppler.dir/objects.a(FlateEncoder.cc.obj): In function `ZN12FlateEncoder7fillBufEv':</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/FlateEncoder.cc:127: undefined reference to `_imp__deflate'</div><div>CMakeFiles\poppler.dir/objects.a(FlateEncoder.cc.obj): In function `ZN12FlateEncoderC2EP6Stream':</div><div>D:/Develop/QT/Poppler/new/poppler/poppler/FlateEncoder.cc:35: undefined reference to `_imp__deflateInit_'</div><div>collect2.exe: error: ld returned 1 exit status</div><div>CMakeFiles\poppler.dir\build.make:3015: recipe for target 'libpoppler.dll' failed</div><div>mingw32-make[2]: *** [libpoppler.dll] Error 1</div><div>CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/poppler.dir/all' failed</div><div>mingw32-make[1]: *** [CMakeFiles/poppler.dir/all] Error 2</div><div>Makefile:139: recipe for target 'all' failed</div><div>mingw32-make: *** [all] Error 2</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 24, 2017 at 10:15 PM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El dijous, 24 d’agost de 2017, a les 10:44:33 CEST, Pouya Ahmadvand va<br>
escriure:<br>
<span class="">> Hi<br>
> I`m trying compile last version of popper on windows 10.<br>
> but when I compile the library I get following error :<br>
> how can I fix it ?<br>
<br>
</span>Should be fixed now.<br>
<br>
Cheers,<br>
  Albert<br>
<br>
><br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:1325:<wbr>0:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc: In member<br>
> function 'void GlobalParams::setupBaseFonts(<wbr>char*)':*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc:467:12: error:<br>
> 'class Object' has no member named 'initNull'*<br>
> *       obj1.initNull();*<br>
> *            ^*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc:470:59: error:<br>
> use of deleted function 'Object::Object(T) [with T = Object*]'*<br>
> *        new FileStream(file, 0, gFalse, file->size(), &obj1)),*<br>
> *                                                           ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GfxFont.h:41:0,*<br>
> *                 from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:78:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\Object.h:168:<wbr>24: note: declared here*<br>
> *   template<typename T> Object(T) = delete;*<br>
> *                        ^*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\Object.h:291:<wbr>8: error: 'void<br>
> Object::free()' is private*<br>
> *   void free();*<br>
> *        ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:1325:<wbr>0:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc:472:17: error:<br>
> within this context*<br>
> *       obj1.free();*<br>
> *                 ^*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc:473:27: error:<br>
> use of deleted function 'Object Parser::getObj(T) [with T = Object*]'*<br>
> *       parser->getObj(&obj1);*<br>
> *                           ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParamsWin.cc:53:<wbr>0,*<br>
> *                 from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:1325:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\Parser.h:58:<wbr>31: note: declared here*<br>
> *   template<typename T> Object getObj(T) = delete;*<br>
> *                               ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:1325:<wbr>0:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc:475:26: error:<br>
> use of deleted function 'Object Parser::getObj(T) [with T = Object*]'*<br>
> *      parser->getObj(&obj2);*<br>
> *                          ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParamsWin.cc:53:<wbr>0,*<br>
> *                 from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:1325:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\Parser.h:58:<wbr>31: note: declared here*<br>
> *   template<typename T> Object getObj(T) = delete;*<br>
> *                               ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:1325:<wbr>0:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc:480:46: error:<br>
> invalid conversion from 'Object*' to 'int' [-fpermissive]*<br>
> *          obj2.getDict()->lookup("Path", &obj3);*<br>
> *                                              ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\Object.h:341:0,*<br>
> *                 from D:\Develop\QT\Poppler\poppler\<wbr>poppler\GfxFont.h:41,*<br>
> *                 from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:78:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\Dict.h:77:10: note:   initializing<br>
> argument 2 of 'Object Dict::lookup(const char*, int)'*<br>
> *   Object lookup(const char *key, int recursion = 0);*<br>
> *          ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GfxFont.h:41:0,*<br>
> *                 from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:78:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\Object.h:291:<wbr>8: error: 'void<br>
> Object::free()' is private*<br>
> *   void free();*<br>
> *        ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:1325:<wbr>0:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc:483:20: error:<br>
> within this context*<br>
> *          obj3.free();*<br>
> *                    ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GfxFont.h:41:0,*<br>
> *                 from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:78:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\Object.h:291:<wbr>8: error: 'void<br>
> Object::free()' is private*<br>
> *   void free();*<br>
> *        ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:1325:<wbr>0:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc:489:16: error:<br>
> within this context*<br>
> *      obj2.free();*<br>
> *                ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GfxFont.h:41:0,*<br>
> *                 from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:78:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\Object.h:291:<wbr>8: error: 'void<br>
> Object::free()' is private*<br>
> *   void free();*<br>
> *        ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:1325:<wbr>0:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc:490:16: error:<br>
> within this context*<br>
> *      obj1.free();*<br>
> *                ^*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc:491:26: error:<br>
> use of deleted function 'Object Parser::getObj(T) [with T = Object*]'*<br>
> *      parser->getObj(&obj1);*<br>
> *                          ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParamsWin.cc:53:<wbr>0,*<br>
> *                 from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:1325:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\Parser.h:58:<wbr>31: note: declared here*<br>
> *   template<typename T> Object getObj(T) = delete;*<br>
> *                               ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GfxFont.h:41:0,*<br>
> *                 from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:78:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\Object.h:291:<wbr>8: error: 'void<br>
> Object::free()' is private*<br>
> *   void free();*<br>
> *        ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:1325:<wbr>0:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc:494:18: error:<br>
> within this context*<br>
> *        obj1.free();*<br>
> *                  ^*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\<wbr>GlobalParamsWin.cc:495:28: error:<br>
> use of deleted function 'Object Parser::getObj(T) [with T = Object*]'*<br>
> *        parser->getObj(&obj1);*<br>
> *                            ^*<br>
> *In file included from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParamsWin.cc:53:<wbr>0,*<br>
> *                 from<br>
> D:\Develop\QT\Poppler\poppler\<wbr>poppler\GlobalParams.cc:1325:*<br>
> *D:\Develop\QT\Poppler\<wbr>poppler\poppler\Parser.h:58:<wbr>31: note: declared here*<br>
> *   template<typename T> Object getObj(T) = delete;*<br>
> *                               ^*<br>
> *CMakeFiles\poppler.dir\build.<wbr>make:1112: recipe for target<br>
> 'CMakeFiles/poppler.dir/<wbr>poppler/GlobalParams.cc.obj' failed*<br>
> *mingw32-make[2]: *** [CMakeFiles/poppler.dir/<wbr>poppler/GlobalParams.cc.obj]<br>
> Error 1*<br>
> *CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/poppler.dir/all'<br>
> failed*<br>
> *mingw32-make[1]: *** [CMakeFiles/poppler.dir/all] Error 2*<br>
> *Makefile:139: recipe for target 'all' failed*<br>
> *mingw32-make: *** [all] Error 2*<br>
<br>
<br>
______________________________<wbr>_________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/poppler" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/poppler</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Pouya Ahmadvand<br>MSc  Student of Software <span style="font-size:12.7272720336914px">Engineering</span><br>Dept. of Computer Engineering<br>SRTTU University</div></div></div>
</div>