[poppler] Help building popper on windows system

Adrian Johnson ajohnson at redneon.com
Sun Oct 22 11:16:48 UTC 2017


The cmake build is the only supported method of building poppler. If you
want to build it some other way you will have to figure out the details
yourself.

On 22/10/17 21:41, Mat D wrote:
> Thanks your for your answer Adrian !
> 
> In fact I do not want to compile all the library because I use only
> specific functions of it so the aim is not to get .dll or .exe,
> furthermore I need to compile it in a different way (because the aim is
> to build a node.js c++ addons)
> 
> As I said I succeeded to do it for OSX/Linux but I am not able to do it
> on windows. Maybe I am missing some files or defines for this os.
> 
> Regards
> 
> 
> 2017-10-21 23:04 GMT+02:00 Adrian Johnson <ajohnson at redneon.com
> <mailto:ajohnson at redneon.com>>:
> 
>     The easiest way to create a windows build is to cross compile on Linux
>     using mingw. Instructions are in the INSTALL file. You just have to
>     cross compile the dependencies as well.
> 
>     On 22/10/17 02:53, Mat D wrote:
>     > I Poppler community ,
>     >
>     > I am a French guy working on an open-source Node.js project that
>     > use poppler .
>     >
>     > First I really thanks you all for your very good work on poppler.
>     >
>     > My team and I had created a node.js add ons (it’s in c++) that use
>     > your poppler lib, we only need poppler-cpp because we only extract
>     > metadata & text from PDF.
>     >
>     > Our module are succefully built for Linux and MacOSX (for Mac We only
>     > needed to say our module to get iconv library more), now we want to do a
>     > great job and let the possibility for a guy under windows to use it too.
>     > So we need to build poppler for windows via node-gyp (We cannot use
>     > cmake to do it unfortunetly).
>     >
>     > I passed days on it to find what poppler need and at this moment I am
>     > nearly able to build it, I am just confuse about iconv and sys/time.h
>     > files that are required by poppler-cpp and I did not found what are the
>     > defines to tell poppler to compile in win32 mod.
>     >
>     > So could anyone tell my what defines/Variables are needed to
>     > build poppler-cpp on windows ?
>     >
>     > We only want ou module to extract metadata & text from the pdf so I
>     > think a lot of library/source are unnecessary .
>     >
>     > Our git repo is here: http://github.com/istex/popplonode <http://github.com/istex/popplonode>
>     >
>     > You could check what defined/variables we already set in this example:
>     >
>     > https://github.com/istex/popplonode/blob/master/lib/poppler.gyp
>     <https://github.com/istex/popplonode/blob/master/lib/poppler.gyp>
>     > <https://pastebin.com/HTqQ2P8x>
>     >
>     > If anyone could help me :)
>     >
>     > Thanks by advance poppler team; and sorry for my bad english :)
>     >
>     >
>     > _______________________________________________
>     > poppler mailing list
>     > poppler at lists.freedesktop.org <mailto:poppler at lists.freedesktop.org>
>     > https://lists.freedesktop.org/mailman/listinfo/poppler
>     <https://lists.freedesktop.org/mailman/listinfo/poppler>
>     >
> 
> 



More information about the poppler mailing list