[Poppler-bugs] [Bug 88511] Fix builds with Visual Studio 2013

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 2 03:22:31 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88511

--- Comment #8 from Dmytro Morgun <lztoad at gmail.com> ---
I was able to build it with CMake+VC 2013. In short use CMake, compile freetype
first (it has vc 2010 projects that are fine with vc 2013) and see my bugs, the
ids are:
91188
91060
91057
91055
91053

I only needed the main poppler project, but had some qt5 projects and other
successfully built too.

Command line for CMake is like
cmake -G "Visual Studio 12 2013" .
-DFREETYPE_LIBRARY=..\freetype-2.6\objs\vc2010\Win32
-DFREETYPE_INCLUDE_DIRS=..\freetype-2.6\include -DENABLE_CPP=OFF
-DBUILD_CPP_TESTS=OFF -DBUILD_GTK_TESTS=OFF -DBUILD_QT4_TESTS=OFF
-DBUILD_QT5_TESTS=OFF -DENABLE_UTILS=OFF -DUSE_FIXEDPOINT=OFF -DUSE_FLOAT=ON
-DICONV_LIBRARIES=OFF

But you can use the CMake gui, just provide freetype libs and headers folders
(you can skip other or build with it as you like).

PS: The std::min/max thing is
https://bugs.freedesktop.org/show_bug.cgi?id=91060 I've just added the header
globally, and that is not good, so you can fix it appropriately (#include
<algorithm> in all the needed files). And add a patch, you can use WinMerge to
create it, use unified patch. I'm actually yet to lazy to include it
everywhere)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150702/77121b4a/attachment.html>


More information about the Poppler-bugs mailing list