[poppler] Documentation: Compiling Poppler

Peter Bočan peter.bocan at azet.sk
Fri Jul 11 10:16:43 PDT 2014


Hello guys, I’m back. First of all, I want to make things clear: project will be "platform-independent” in a Qt way. I am developing under OS X 10.9.4 Mavericks (and using Homebrew). Well, your solution to run ./configure does not work, it says: “configure: error: cannot find install-sh, install.sh, …”. Running cmake which seems to be more verbose, says that I am missing Freetype library. 

Error message:
CMake Error at /usr/local/Cellar/cmake/2.8.12.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/2.8.12.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/2.8.12.2/share/cmake/Modules/FindFreetype.cmake:119 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:94 (find_package)

Thanks folks. 
Peter Bočan.

Dňa 9.7.2014 o 2:21, William Bader <williambader at hotmail.com> napísal:

> I have built poppler using ./configure and then make on Linux.
> 
> If you are trying to build poppler on Windows, it will take some work to set up a good build environment.  configure is a shell script, so you will need a package like cygwin that includes the bash shell.  You will also need the usual development packages like make, binutils (as and ld), and g++.
> 
> When you run ./configure, it will usually let you know if a third-part library is too old or is missing, and then you need to find a compiled version of that library or build it yourself from source.
> 
> If you have problems with dynamic linking using libtool, you can run configure with --enable-static --disable-shared to make static libraries and executables.
> 
> If you have errors from configure or from make that you can't understand, if you post the error to the list, someone might offer a suggestion.
> 
> Regards,
> William
> 
> From: peter.bocan at azet.sk
> Date: Wed, 9 Jul 2014 00:31:27 +0200
> To: poppler at lists.freedesktop.org
> Subject: [poppler] Documentation: Compiling Poppler
> 
> Hello guys, may I ask you for some documentation reference how to compile Poppler (with Qt 5 bindings)? Because Google has not sufficient results (or at least I am not sure, how valid they are). 
> 
> Some results from Google:
> http://www.seppemagiels.com/blog/building-poppler-windows-using-mingw
> and
> http://laconsigna.wordpress.com/2011/07/14/compiling-poppler-on-windows/ 
> 
> Thanks in advance. 
> Peter Bocan.
> 
> _______________________________________________ poppler mailing list poppler at lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/poppler

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20140711/8bc9705f/attachment.html>


More information about the poppler mailing list