https://community.kde.org/index.php?title=Calligra/Building_Calligra_on_Windows/BuildKritaOnWindows&feed=atom&action=historyCalligra/Building Calligra on Windows/BuildKritaOnWindows - Revision history2024-03-29T10:06:32ZRevision history for this page on the wikiMediaWiki 1.40.2https://community.kde.org/index.php?title=Calligra/Building_Calligra_on_Windows/BuildKritaOnWindows&diff=38502&oldid=prevHalla: Replaced content with "<removed obsolete instructions>"2014-07-15T08:21:14Z<p>Replaced content with "<removed obsolete instructions>"</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 08:21, 15 July 2014</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">This is the quick, hackish way to build Krita on Windows. This only works if you are building an x64 version of Krita, on Windows 7 or Windows 8 with MSVC 2012 for Desktop. It short-circuits the building of all the dependencies by downloading a file with all deps pre-built.</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><removed obsolete instructions></ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">* Install git, cmake and msvc2012 for Desktop</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">* create a directory c:\p</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">* got to c:\p and checkout calligra (git clone git://anongit.kde.org/calligra)</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">* mdir c:\p\vs11</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">* download http://www.valdyas.org/~boud/i.zip and unpack in c:\. You should have a c:\i directory that contains a bin, lib, share, include etc. Since paths are hard-coded in .lib files, it cannot be in any other place!</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">* In the VS2012 x64 Cross Tools Command Prompt window, go to c:\p\vs11 and run this cmake command to create the Visual Studio Solution: cmake -G "Visual Studio 11 Win64" -DCMAKE_INSTALL_PREFIX=c:\i -DCMAKE_BUILD_TYPE=RelWithDebInfo -DKDE4_BUILD_TESTS=OFF -DPRODUCTSET=CREATIVE -DHAVE_MEMORY_LEAK_TRACKER=OFF -DPACKAGERS_BUILD=ON -DHAVE_BACKTRACE_SUPPORT=OFF -DPACKAGERS_BUILD=ON ..\calligra</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">* Now you can build in that command prompt window using this command: cmake --build . --target INSTALL --config RelWithDebInfo -- /m</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">* If there are no errors, you can go to c:\i and create the configuration cache that contains the locations of all the plugins: run "env.bat bin\kbuildsycoca4"</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">* Now you can run c:\i\bin\krita.exe</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
</table>Hallahttps://community.kde.org/index.php?title=Calligra/Building_Calligra_on_Windows/BuildKritaOnWindows&diff=34523&oldid=prevHalla: Created page with "This is the quick, hackish way to build Krita on Windows. This only works if you are building an x64 version of Krita, on Windows 7 or Windows 8 with MSVC 2012 for Desktop. It..."2013-09-25T07:43:34Z<p>Created page with "This is the quick, hackish way to build Krita on Windows. This only works if you are building an x64 version of Krita, on Windows 7 or Windows 8 with MSVC 2012 for Desktop. It..."</p>
<p><b>New page</b></p><div>This is the quick, hackish way to build Krita on Windows. This only works if you are building an x64 version of Krita, on Windows 7 or Windows 8 with MSVC 2012 for Desktop. It short-circuits the building of all the dependencies by downloading a file with all deps pre-built.<br />
<br />
* Install git, cmake and msvc2012 for Desktop<br />
* create a directory c:\p<br />
* got to c:\p and checkout calligra (git clone git://anongit.kde.org/calligra)<br />
* mdir c:\p\vs11<br />
* download http://www.valdyas.org/~boud/i.zip and unpack in c:\. You should have a c:\i directory that contains a bin, lib, share, include etc. Since paths are hard-coded in .lib files, it cannot be in any other place!<br />
* In the VS2012 x64 Cross Tools Command Prompt window, go to c:\p\vs11 and run this cmake command to create the Visual Studio Solution: cmake -G "Visual Studio 11 Win64" -DCMAKE_INSTALL_PREFIX=c:\i -DCMAKE_BUILD_TYPE=RelWithDebInfo -DKDE4_BUILD_TESTS=OFF -DPRODUCTSET=CREATIVE -DHAVE_MEMORY_LEAK_TRACKER=OFF -DPACKAGERS_BUILD=ON -DHAVE_BACKTRACE_SUPPORT=OFF -DPACKAGERS_BUILD=ON ..\calligra<br />
* Now you can build in that command prompt window using this command: cmake --build . --target INSTALL --config RelWithDebInfo -- /m<br />
* If there are no errors, you can go to c:\i and create the configuration cache that contains the locations of all the plugins: run "env.bat bin\kbuildsycoca4"<br />
* Now you can run c:\i\bin\krita.exe</div>Halla