<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Fix builds with Visual Studio 2013"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88511#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Fix builds with Visual Studio 2013"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88511">bug 88511</a>
from <span class="vcard"><a class="email" href="mailto:lztoad@gmail.com" title="Dmytro Morgun <lztoad@gmail.com>"> <span class="fn">Dmytro Morgun</span></a>
</span></b>
<pre>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
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Numerous using of std::min without including <algorithm> cause compilation fail on windows"
href="show_bug.cgi?id=91060">https://bugs.freedesktop.org/show_bug.cgi?id=91060</a> 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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>