<div>hi...</div>
<div>Hope u r fine...</div>
<div>let me tell you about my proceedings...</div>
<div>I followed your advice and got success in running make,make install..I am really thankng you for helping me..</div>
<div>&nbsp;</div>
<div>1.installed qgis in c:\programfiles\qunatum gis</div>
<div>2.copied files from c:\programfiles\quantum gis to c:\dev\cpp\qgis\qgis-release(overwritten).</div>
<div>3.now i can run qgis from qgis-release..</div>
<div>&nbsp;</div>
<div>Then i tried for adding plugins by following procedure</div>
<div>1.run perl script c:\dev\cpp\qgis\src\plugins\plugin_builder.pl,created plugin</div>
<div>2.changed to source directory....executed ./autogen.sh--no errors(as mentioned in developers plugin in&nbsp; wiki)</div>
<div>3../configure--got result as</div>
<div>
<p><br><font color="#000099"><strong>$ ./configure</strong>(cygwin shell)<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
<br>checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>checking for prefix by checking for gcc... /usr/bin/gcc<br>checking for g++... g++<br>checking for C++ compiler default output file name... a.exe
<br>checking whether the C++ compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... .exe<br>checking for suffix of object files... o<br>checking whether we are using the GNU C++ compiler... yes
<br>checking whether g++ accepts -g... yes<br>checking for style of include used by make... GNU<br>checking dependency style of g++... gcc3<br>checking whether ln -s works... yes<br>checking whether make sets $(MAKE)... (cached) yes
<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking build system type... i686-pc-cygwin<br>checking host system type... i686-pc-cygwin<br>checking for gcc... gcc<br>checking whether we are using the GNU C compiler... yes
<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking dependency style of gcc... gcc3<br>checking for a sed that does not truncate output... /usr/bin/sed<br>checking for grep that handles long lines and -e... /usr/bin/grep
<br>checking for egrep... /usr/bin/grep -E<br>checking for ld used by gcc... /usr/bin/ld<br>checking if the linker (/usr/bin/ld) is GNU ld... yes<br>checking for /usr/bin/ld option to reload object files... -r<br>checking for BSD-compatible nm... /usr/bin/nm -B
<br>checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL<br>checking how to run the C preprocessor... gcc -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes
<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h..
. yes<br>checking for unistd.h... yes<br>checking dlfcn.h usability... yes<br>checking dlfcn.h presence... yes<br>checking for dlfcn.h... yes<br>checking how to run the C++ preprocessor... g++ -E<br>checking for g77... no
<br>checking for xlf... no<br>checking for f77... no<br>checking for frt... no<br>checking for pgf77... no<br>checking for cf77... no<br>checking for fort77... no<br>checking for fl32... no<br>checking for af77... no<br>checking for xlf90... no
<br>checking for f90... no<br>checking for pgf90... no<br>checking for pghpf... no<br>checking for epcf90... no<br>checking for gfortran... no<br>checking for g95... no<br>checking for xlf95... no<br>checking for f95... no
<br>checking for fort... no<br>checking for ifort... no<br>checking for ifc... no<br>checking for efc... no<br>checking for pgf95... no<br>checking for lf95... no<br>checking for ftn... no<br>checking whether we are using the GNU Fortran 77 compiler... no
<br>checking whether&nbsp; accepts -g... no<br>checking the maximum length of command line arguments... 8192<br>checking command to parse /usr/bin/nm -B output from gcc object... ok<br>checking for objdir... .libs<br>checking for ar... ar
<br>checking for ranlib... ranlib<br>checking for strip... strip<br>checking if gcc supports -fno-rtti -fno-exceptions... no<br>checking for gcc option to produce PIC... -DDLL_EXPORT<br>checking if gcc PIC flag -DDLL_EXPORT works... yes
<br>checking if gcc static flag -static works... yes<br>checking if gcc supports -c -o file.o... yes<br>checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes<br>checking whether -lc should be explicitly linked in... yes
<br>checking dynamic linker characteristics... Win32 ld.exe<br>checking how to hardcode library paths into programs... immediate<br>checking whether stripping libraries is possible... yes<br>checking whether a program can dlopen itself... no
<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... yes<br>checking whether to build static libraries... yes<br>configure: creating libtool<br>appending configuration tag &quot;CXX&quot; to libtool
<br>checking for ld used by g++... /usr/bin/ld<br>checking if the linker (/usr/bin/ld) is GNU ld... yes<br>checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes<br>checking for g++ option to produce PIC... -DDLL_EXPORT
<br>checking if g++ PIC flag -DDLL_EXPORT works... yes<br>checking if g++ static flag -static works... yes<br>checking if g++ supports -c -o file.o... yes<br>checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
<br>checking dynamic linker characteristics... Win32 ld.exe<br>checking how to hardcode library paths into programs... immediate<br>appending configuration tag &quot;F77&quot; to libtool<br>checking whether byte ordering is bigendian... no
<br>checking endian.h usability... yes<br>checking endian.h presence... yes<br>checking for endian.h... yes<br>checking machine/endian.h usability... yes<br>checking machine/endian.h presence... yes<br>checking for machine/endian.h... yes
<br>checking for svnversion... no<br>checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include<br><strong>checking QTDIR... configure: <font color="#ff0000">error:</font> *** QTDIR must be defined, or --with-qtdir option given
</strong></font></p>
<p>4.executed Qmake from cmd Promp(as it is not geting executed from cygwin shell)---no errors</p>
<p>5.executed make from cmd prompt--no errors</p>
<p>6.make instalI from cmd prmpt--no errors.....</p>
<p>BUT I CANT C MY NEW PLUGIN IN QGIS WINDOW(according to developers plugin manual&nbsp;,plugin should&nbsp;be visible&nbsp;after executing autogen.sh,./configure,make,make install</p>
<p>CAN YOU HELP ME????</p>
<p>SORRY for disturbing and am thankful for spending your valuable time for me....</p>
<p>with rgds </p>
<p>sijan</p></div>
<div><span class="gmail_quote">On 1/24/07, <b class="gmail_sendername">Byambaa Mendbayar</b> &lt;<a href="mailto:mendbayar_b@mongol.net">mendbayar_b@mongol.net</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="RU" vlink="blue" link="blue">
<div>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi there,</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If you use release 0.8.0 svn source then you have to use qmake, not a cmake. The cmake is required only current unstable (
0.9.0) svn sources. </span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">It seems like that your qmake isn't working correctly, therefore Makefiles are isn't generated there (
</span></font><font color="red"><span lang="EN-US" style="COLOR: red">C:/dev/cpp/qgis/src/core&#39;</span></font><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">
). Please use following command for generating Makefiles correctly. </span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">qmake <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://qgis.pro/" target="_blank">
qgis.pro</a> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Best regards,</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Byambaa Mendbayar</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span lang="EN-US" style="FONT-SIZE: 12pt">&nbsp;</span></font></p>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span lang="EN-US" style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span lang="EN-US" style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
 sijan ahamed [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sijan4u@gmail.com" target="_blank">sijan4u@gmail.com</a>] <br><b><span style="FONT-WEIGHT: bold">Sent:</span></b> Wednesday, January 24, 2007 2:15 PM
<br><b><span style="FONT-WEIGHT: bold">To:</span></b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mendbayar_b@mongol.net" target="_blank">mendbayar_b@mongol.net</a><br><b><span style="FONT-WEIGHT: bold">
Subject:</span></b> Re: [Qgis-developer] Fwd: windows build environment for QGIS</span></font><span lang="EN-US"></span></p></div>
<div><span class="e" id="q_11053d5fe0489456_1">
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Hi..,</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">I am happy today as i got someone who compiled qgis on windows platform.</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Hope you will help me.</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">am getng following errors after running make..is it becoz of the release version???should i use cmake???</span></font></p></div>
<div>
<p><font face="Times New Roman" color="red" size="3"><span style="FONT-SIZE: 12pt; COLOR: red">C:\dev\cpp\qgis&gt;qmake</span></font></p>
<p><font face="Times New Roman" color="red" size="3"><span style="FONT-SIZE: 12pt; COLOR: red">C:\dev\cpp\qgis&gt;make<br>cd src &amp;&amp; mingw32-make -f Makefile<br>mingw32-make[1]: Entering directory `C:/dev/cpp/qgis/src&#39;
<br>cd core &amp;&amp; mingw32-make -f Makefile<br>mingw32-make[2]: Entering directory `C:/dev/cpp/qgis/src/core&#39; <br>mingw32-make -f Makefile.Release<br>mingw32-make[3]: Entering directory `C:/dev/cpp/qgis/src/core&#39;
<br>mingw32-make[3]: *** No rule to make target `qgsbookmarkitem.cpp&#39;, needed by `..\..\obj\o\win32\qgsbookmark <br>item.o&#39;.&nbsp; Stop.<br>mingw32-make[3]: Leaving directory `C:/dev/cpp/qgis/src/core&#39;<br>mingw32-make[2]: *** [release] Error 2
<br>mingw32-make[2]: Leaving directory `C:/dev/cpp/qgis/src/core&#39;<br>mingw32-make[1]: *** [sub-core-make_default] Error 2 <br>mingw32-make[1]: Leaving directory `C:/dev/cpp/qgis/src&#39;<br>mingw32-make: *** [sub-src-make_default] Error 2
</span></font></p>
<p><font face="Times New Roman" color="red" size="3"><span style="FONT-SIZE: 12pt; COLOR: red">C:\dev\cpp\qgis&gt;</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;waiting for ur reply....</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br><br>&nbsp;</span></font></p></div>
<div>
<p><span><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">On 1/24/07, <b><span style="FONT-WEIGHT: bold">Byambaa Mendbayar</span></b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mendbayar_b@mongol.net" target="_blank">
mendbayar_b@mongol.net</a>&gt; wrote:</span></font></span> </p>
<div vlink="blue" link="blue">
<div>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi jaan,</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">What SVN version are you using? The latest SVN or 0.8.0 Release (<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://svn.qgis.org/repos/qgis/branches/Release-0_8_0/" target="_blank">
 https://svn.qgis.org/repos/qgis/branches/Release-0_8_0/</a>)? If you were getting latest (unstable) SVN source then you have to use CMAKE instead of QMAKE, of course latest SVN must be using CMAKE!</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Also suggest to you Martin&#39;s advice too.</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&gt; Those two files (and some more) are here:</span></font></p>
<p><font face="Arial" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://qgis.org/uploadfiles/msys/qgis-qmake-files.zip" target="_blank">
http://qgis.org/uploadfiles/msys/qgis-qmake-files.zip</a></span></font></p>
<p><font face="Arial" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&gt; </span></font></p>
<p><font face="Arial" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&gt; It&#39;s mentioned in the readme, please read it carefully.</span></font></p>
<p><font face="Arial" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&gt; </span></font></p>
<p><font face="Arial" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&gt; Martin.</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">P.S By the way I have two versions of QGIS source codes (R 0.8.0 and latest SVN) and they are compiled well in windows platform using Tim Sutton&#39;s README_windows.txt (MinGW and bundled MSYS package) and CMAKE. 
</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Best regards,</span></font></p>
<p><font face="Arial" color="navy" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Byambaa Mendbayar</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span lang="EN-US" style="FONT-SIZE: 12pt">&nbsp;</span></font></p>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span lang="EN-US" style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span lang="EN-US" style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
 <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:qgis-developer-bounces@lists.qgis.org" target="_blank">qgis-developer-bounces@lists.qgis.org</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:qgis-developer-bounces@lists.qgis.org" target="_blank">
 qgis-developer-bounces@lists.qgis.org</a>] <b><span style="FONT-WEIGHT: bold">On Behalf Of </span></b>sijan ahamed<br><b><span style="FONT-WEIGHT: bold">Sent:</span></b> Tuesday, January 23, 2007 7:03 PM<br><b><span style="FONT-WEIGHT: bold">
To:</span></b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:qgis-developer@lists.qgis.org" target="_blank">qgis-developer@lists.qgis.org</a><br><b><span style="FONT-WEIGHT: bold">Subject:</span></b>
 [Qgis-developer] Fwd: windows build environment for QGIS</span></font></p></div>
<div><span>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;</span></font></p>
<p style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><b><font face="Times New Roman">Procedure for setup of a windows build environment for QGIS</font></b></strong><b><span style="FONT-WEIGHT: bold">
 <br><strong><b><font face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tim Sutton and Godofredo Contreras 2006</font></b></strong><br><strong><b><font face="Times New Roman">&nbsp; With thanks to Tisham Dhar for preparing the initial msys environment 
</font></b></strong></span></b><br>---------------------------------------------------------------------------------</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">This document describes the process you need to follow to get QGIS built directly<br>under windows (rather than using a cross compiler under linux).Note: The process for building under windows is still being sorted out so 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check this document regularly for updates.</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Msys:<br>-----<br>get this: </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://qgis.org/uploadfiles/msys/msys.tar.bz2" target="_blank"><font size="2"><span style="FONT-SIZE: 10pt">
http://qgis.org/uploadfiles/msys/msys.tar.bz2</span></font></a></span></font></p>
<div>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">and unpack to c:\msys</span></font></p></div>
<div>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">The file is compressed using bzip2 - you can get a free windows application<br>for creating and decompressing files here:</span></font></p></div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.7-zip.org/" target="_blank"><font size="2"><span style="FONT-SIZE: 10pt">http://www.7-zip.org/ 
</span></font></a></span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Qt4.2:<br>------</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Download qt4.2 opensource precompiled edition exe and install (including the <br>download and install of mingw) from here:</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.trolltech.com/developer/downloads/qt/windows" target="_blank"><font size="2">
<span style="FONT-SIZE: 10pt">http://www.trolltech.com/developer/downloads/qt/windows</span></font></a> </span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Edit C:\Qt\4.2.0\bin\qtvars.bat and add the following line (the second is only <br>needed if you like vim in your shell):</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">set PATH=%PATH%;C:\msys\local\bin;c:\msys\local\lib<br>set PATH=%PATH%;&quot;c:\Program Files\Vim\vim70\</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">If you plan to do some debugging, you&#39;ll need to complie debug version of Qt:<br>C:\Qt\4.2.0\bin\qtvars.bat compile_debug</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br></span></font><font size="2"><span style="FONT-SIZE: 10pt">QGIS:<br>-----<br>Check out to c:\dev\cpp\qgis:</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">cd c:\dev\cpp<br>svn co </span></font><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://svn.qgis.org/repos/qgis/trunk/qgis" target="_blank">
<font size="2"><span style="FONT-SIZE: 10pt">https://svn.qgis.org/repos/qgis/trunk/qgis </span></font></a></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Currently you need to put it into that location in case you plan to create<br>the NSIS installer because so far it contains hardcoded paths for this location. 
</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br></span></font><font size="2"><span style="FONT-SIZE: 10pt">Source changes:<br>---------------</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Next you need to shift some files around. For convenience we&#39;ve made an archive<br>that handles all the changes for you. Download it and unpack to qgis source directory: 
</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://qgis.org/uploadfiles/msys/qgis-qmake-files.zip" target="_blank"><font size="2">
<span style="FONT-SIZE: 10pt">http://qgis.org/uploadfiles/msys/qgis-qmake-files.zip</span></font></a></span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">List of what has been changed / added by this archive to enable compilation:</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">&nbsp;- moved qgscsexception.h, qgsspatialrefsys* and qgscoordinatetransform* into core dir from gui<br>&nbsp;- moved qgspluginregistry.* from core to gui<br>&nbsp;- 
qgsspatialrefsys.cpp - commented out SRS validation using projection selector <br>&nbsp;- qgsspatialrefsys.cpp - commented out lines using qgsproject as it depends on gui stuff<br>&nbsp;- qgsdistancearea.cpp - commented out lines using qgsproject as it depends on 
<br>&nbsp;&nbsp; gui stuff and moved to core<br>&nbsp;- lexer and parser generated by genlexyacc.bat<br>&nbsp;- added custom qgsconfig.h and qgssvnversion.h</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br></span></font><font size="2"><span style="FONT-SIZE: 10pt">Building:<br>---------</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Now open the qt command shell (or start &quot;cmd&quot; and run c:\Qt\4.2.0\bin\qtvars.bat)</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">cd c:\dev\cpp\qgis<br>qmake<br>make</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">This will compile both debug and release version. To make just a one of them<br>use &quot;make debug&quot; or &quot;make release&quot; respectively. 
</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Note: debug version uses debug version of Qt library thus if linking fails<br>on not founding library QtSvgd4 (or similar), you need to compile them<br>
as described in section for Qt.</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Running: (optional)<br>--------</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">After successfull make you can run QGIS directly from the directory<br>where it has been built: qgis-debug and/or qgis-release in qgis root dir.<br>You only need to add data files - we have provided an archive for convenience 
<br>which you can just unpack there and run QGIS:</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://qgis.org/uploadfiles/msys/qgis_data.zip" target="_blank"><font size="2"><span style="FONT-SIZE: 10pt">
http://qgis.org/uploadfiles/msys/qgis_data.zip</span></font></a></span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Then just run qgis.exe</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">GDB: (optional)<br>----</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">If you plan to do some debugging, download and install gdb-6.3.2.exe from </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://prdownloads.sourceforge.net/mingw/gdb-6.3-2.exe?download" target="_blank"><font size="2">
<span style="FONT-SIZE: 10pt">http://prdownloads.sourceforge.net/mingw/gdb-6.3-2.exe?download </span></font></a></span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">and install to c:\msys\mingw</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br></span></font><font size="2"><span style="FONT-SIZE: 10pt">Create the installation package: (optional)<br>-------------------------------- </span>
</font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Downlad and install NSIS from (</span></font><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://nsis.sourceforge.net/Main_Page" target="_blank">
 <font size="2"><span style="FONT-SIZE: 10pt">http://nsis.sourceforge.net/Main_Page </span></font></a><font size="2"><span style="FONT-SIZE: 10pt">)</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Download both the QGIS debug and release installer packages from </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://qgis.org/uploadfiles/testbuilds/" target="_blank"><font size="2"><span style="FONT-SIZE: 10pt">
http://qgis.org/uploadfiles/testbuilds/</span></font></a></span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">and install them. Now copy the installation dirs from C:\Program Files\QGIS* into <br>c:\dev\cpp\qgis\qgis-debug and c:\dev\cpp\qgis\qgis-release respectively. After 
<br>making these copies uninstall the release and debug versions of QGIS from <br>your c:\Program Files directories using the provided uninstaller. Double check<br>that both dirs are complete gone under program files afterwards. 
</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Now using windows explorer, enter the c:\dev\cpp\qgis\win_build directory and right <br>click on qgis.nsi and choose the option &#39;Compile NSIS Script&#39;. Do the same 
<br>for qgis-debug.nsi. Congratulations you should have two installable qgis <br>setup files in the win_build directory now..</span></font></p>
<p><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">&nbsp;</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br></span></font><font color="#cc0000" size="4"><span style="FONT-SIZE: 13.5pt; COLOR: #cc0000">I FOLLOWED THIS METHOD TO SETUP WINDOWS BUILD ENVIRONMENT FOR QGIS...BUT ENCOUNTERED WITH SOME PROBLEMS IN THE MIDDLE... 
</span></font></p></div>
<div>
<p><font face="Times New Roman" color="#cc0000" size="4"><span style="FONT-SIZE: 13.5pt; COLOR: #cc0000">1.after runnng make---errors due to missing of&quot;qgsconfig.h &amp;qgssvnversion.h&quot;</span></font></p></div>
<div>
<p><font face="Times New Roman" color="#cc0000" size="4"><span style="FONT-SIZE: 13.5pt; COLOR: #cc0000">where i can get it????</span></font></p></div>
<div>
<p><font face="Times New Roman" color="#cc0000" size="4"><span style="FONT-SIZE: 13.5pt; COLOR: #cc0000">&nbsp;</span></font></p></div>
<div>
<p><font face="Times New Roman" color="#cc0000" size="4"><span style="FONT-SIZE: 13.5pt; COLOR: #cc0000">pls help me.......<br clear="all"></span></font><br>-- <br>jaan </p></div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br clear="all"><br>-- <br>jaan </span></font></p></span></div></div></div></div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br><br clear="all"><br>-- <br>jaan </span></font></p></span></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>jaan