Hi All,<div><br></div><div>Thanks Jurgen & Sjur; that helped a bit.</div><div><br></div><div>I found the INSTALL.vcproj; it indeed copies the files to my Program Files folder (after I granted myself access; note the Vista/Windows 7 superuser system) by some cmake rules. I put the Qt binary folder in my path. Then still I need to copy some fies by hand; think of gdal, geos, proj, libpq.dll and some from the GnuWin32 dependencies (as instructed by the PDF manual dealing with building / compiling QGIS from source).<div>
<br></div><div>Anyhow, QGIS.exe now still complains about missing DLLs; currently: SSLEAY32.dll</div><div><br></div><div>Does anyone know what other dependencies are involved?</div><div><br></div><div>Thanks in advance for your reply,</div>
<div>Rob</div><div><br><div class="gmail_quote">2009/11/11 Sjur Kolberg <span dir="ltr"><<a href="mailto:Sjur.A.Kolberg@sintef.no">Sjur.A.Kolberg@sintef.no</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Rob,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">I haven't actually built QGIS myself, but in general you 
need to make all necessary dlls available to your .exe file, also for debugging. 
This means in the same folder, or in a folder that's included in your path. 
Beware that these may include both dlls that you compile as a part of the QGIS 
solution, and pre-compiled dlls that you have downloaded in binary 
form.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">It is quite common that multi-project solutions in Visual 
Studio put their binaries in project-specific folders, typically /Debug and 
/Release at the same level as each .vcproj file resides. This leaves it to 
you to (manually or by setting some poist-build events) copy all dlls and .exes 
into the right (common) place.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">VS will always ask for executable when you try to debug a 
dll; naturally since a dll needs to be run by an application (.exe file). 
qgis.exe will be the natural choice here, be sure to pick the right of 
the debug or release version.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">I tend to create a /bin catalogue (and a /debbin, for debug 
versions) at the solution directory level (where the .sln file is) , and either 
direct or copy the linker output (.dlls and .exes) here.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">BTW, I also copy all .lib files to a common /lib folder 
(/deblib), and the .h files to a common /include folder, and make sure that 
either VS or all the projects look in these folders for libraries and include 
files. This seems to be OK in your case, if everyting builds 
nicely.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Good luck,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Sjur K :-)</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div><font face="Arial" color="#0000ff" size="2"></font><font face="Arial" color="#0000ff" size="2"></font><br>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:qgis-user-bounces@lists.osgeo.org" target="_blank">qgis-user-bounces@lists.osgeo.org</a> 
[mailto:<a href="mailto:qgis-user-bounces@lists.osgeo.org" target="_blank">qgis-user-bounces@lists.osgeo.org</a>] <b>On Behalf Of 
</b>InterRob<br><b>Sent:</b> Wednesday, November 11, 2009 10:21 PM<br><b>To:</b> 
<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br><b>Subject:</b> [Qgis-user] Debugging QGIS using 
MSVC<br></font><br></div><div><div></div><div class="h5">
<div></div>Dear list,
<div><br></div>
<div>It has been quite a struggle to get QGIS to compile on my PC using MS 
Visual Studio 8 (2005). At the moment, it seems like all binaries compile 
correctly, but all in separate folders... Executing QGIS.exe ( 
(...)\qgis-1.3.0\build\src\app\debug\qgis.exe) results in a message of missing 
dlls.</div>
<div><br></div>
<div>How am I supposed to Run / Debug QGIS from MSVC? Pressing the "play" 
button, MSVC asks for which executable file to be used for the debug 
session.</div>
<div><br></div>
<div>Any help is appreciated. I guess I need some post-linking process that 
copies newly built QGIS files? And some more static Qt binaries.</div>
<div><br></div>
<div><br></div>
<div>Rob</div></div></div></div>
</blockquote></div><br></div></div>