<div dir="ltr">Thanks for testing Seth!</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 15, 2018 at 2:04 AM, Seth G <span dir="ltr"><<a href="mailto:sethg@geographika.co.uk" target="_blank">sethg@geographika.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
The build steps for OSGeo Live worked fine for me on Windows using CMake - an excellent job of cross platform configuration!<br>
<br>
I've detailed the steps I took below in case anyone else needs to do the same. Is there a wiki page these could be added to?<br>
<br>
1. Setup the Python virtual environment<br>
<br>
pip install virtualenv<br>
virtualenv.exe C:\VirtualEnvs\osgeolive<br>
C:\VirtualEnvs\osgeolive\<wbr>Scripts\activate<br>
pip install sphinx==1.6.5<br>
pip install sphinx-intl<br>
pip install sphinxjp.themes.revealjs<br>
<br>
2. Download and unzip Strawberry Perl (a portable version of Perl that runs on Windows) from <a href="http://strawberryperl.com/releases.html" rel="noreferrer" target="_blank">http://strawberryperl.com/<wbr>releases.html</a> e.g. <a href="http://strawberryperl.com/download/5.26.2.1/strawberry-perl-5.26.2.1-64bit-portable.zip" rel="noreferrer" target="_blank">http://strawberryperl.com/<wbr>download/5.26.2.1/strawberry-<wbr>perl-5.26.2.1-64bit-portable.<wbr>zip</a><br>
<br>
3. Install the required Perl package:<br>
<br>
SET PERL_HOME=D:\Tools\strawberry-<wbr>perl-5.26.2.1-64bit-portable<br>
SET PATH=%PERL_HOME%\perl\site\<wbr>bin;%PERL_HOME%\perl\bin;%<wbr>PERL_HOME%\c\bin;%PATH%<br>
perl -MCPAN -e shell<br>
install Text::SimpleTable::AutoWidth<br>
exit<br>
<br>
4. Download and unzip CMake (<a href="https://cmake.org/download/" rel="noreferrer" target="_blank">https://cmake.org/download/</a> - a portable version can be used e.g. <a href="https://cmake.org/files/v3.11/cmake-3.11.1-win64-x64.zip" rel="noreferrer" target="_blank">https://cmake.org/files/v3.11/<wbr>cmake-3.11.1-win64-x64.zip</a>)<br>
<br>
5. Create the build folder and checkout the latest code:<br>
<br>
cd /D D:\OSGeoLive-doc<br>
git clone <a href="https://github.com/OSGeo/OSGeoLive-doc.git" rel="noreferrer" target="_blank">https://github.com/OSGeo/<wbr>OSGeoLive-doc.git</a><br>
mkdir build<br>
cd build<br>
<br>
6. Create the Visual Studio projects using Cmake:<br>
<br>
D:\Tools\cmake-3.9.1-win64-<wbr>x64\bin\cmake -DHTML=ON ..<br>
<br>
7. Set the Visual Studio environment variables (in this example VS2017) and build the projects using msbuild<br>
<br>
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\<wbr>Auxiliary\Build\vcvarsall.bat" amd64<br>
msbuild ALL_BUILD.vcxproj <br>
<br>
The output is also in build/doc/_build/html/<br>
<br>
To rebuild the docs again in a new command prompt run the commands below:<br>
<br>
C:\VirtualEnvs\osgeolive\<wbr>Scripts\activate<br>
SET PERL_HOME=D:\Tools\strawberry-<wbr>perl-5.26.2.1-64bit-portable<br>
SET PATH=%PERL_HOME%\perl\site\<wbr>bin;%PERL_HOME%\perl\bin;%<wbr>PERL_HOME%\c\bin;%PATH%<br>
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\<wbr>Auxiliary\Build\vcvarsall.bat" amd64<br>
cd /D D:\OSGeoLive-doc\build<br>
D:\Tools\cmake-3.9.1-win64-<wbr>x64\bin\cmake -DHTML=ON ..<br>
msbuild ALL_BUILD.vcxproj<br>
<br>
<br>
--<br>
web:<a href="http://geographika.co.uk" rel="noreferrer" target="_blank">http://geographika.co.uk</a><br>
twitter: @geographika<br>
______________________________<wbr>_________________<br>
osgeolive mailing list<br>
<a href="mailto:osgeolive@lists.osgeo.org">osgeolive@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/osgeolive" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/osgeolive</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small">Angelos Tzotsos, PhD<br>OSGeo Charter Member<div><a href="http://users.ntua.gr/tzotsos" target="_blank">http://users.ntua.gr/tzotsos</a></div></span></span></div></div></div>
</div>