Hi Christophe!<br><br>good job ! :)<br><br>For me I finished my work.. hum despite some independantes issues like <br>can&#39;t see marble widget in the embdedded (in qtcreator) version of qt designer =&gt; tried all I could so the solution was not from my side<br>

can&#39;t build a mingw debug marble version because of qt&#39;s debug lib build some where with/for MSVC , again not can&#39;t do anything.<br><br>Why do you say that perhaps now it is possible to build the debug version ?<br>

<br>(I work the night this week so I am not very fresh...)<br><br>CU<br><br>Sylvain<br><br><br><br><div class="gmail_quote">2010/7/1 Torsten Rahn <span dir="ltr">&lt;<a href="mailto:tackat@t-online.de">tackat@t-online.de</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
Hi Christophe,<br>
<br>
Could you add this information to<br>
<br>
<a href="http://techbase.kde.org/Projects/Marble/WindowsCompiling" target="_blank">http://techbase.kde.org/Projects/Marble/WindowsCompiling</a><br>
<br>
I&#39;d really like Marble one Windows to be a first citizen.<br>
I think we can only accomplish this if documentation for compiling it becomes<br>
good. :-)<br>
<br>
Best Regards,<br>
<font color="#888888">Torsten<br>
</font><div><div></div><div class="h5"><br>
On Thursday 01 July 2010 11:46:20 you wrote:<br>
&gt; Hi there,<br>
&gt;<br>
&gt; I thought i&#39;d dump some thoughts here about compiling Marble on Windows<br>
&gt; (depsite the techpages put up on the marble website).<br>
&gt;<br>
&gt; I&#39;d appreciate any hints or corrections. Also, feel free to add these<br>
&gt; informations to the site if there is any interest.<br>
&gt;<br>
&gt; Marble can be compiled using two different compilers, either MingW or<br>
&gt; Microsoft Visual C++ (MSVC).<br>
&gt;<br>
&gt; The Windows version distributed on the KDE website is compiled using the<br>
&gt; MSVC compiler. For it to work, you&#39;ll also need the MSVC compiled<br>
&gt; version of QT (available at<br>
&gt; <a href="http://qt.nokia.com/downloads/windows-cpp-vs2008" target="_blank">http://qt.nokia.com/downloads/windows-cpp-vs2008</a>).<br>
&gt;<br>
&gt; These are precompiled binaries of the QT Framework, done with MSVC.<br>
&gt;<br>
&gt; Once you got these installed, make sure that you add the bin Path of the<br>
&gt; framework to your PATH variable. E.g. &quot;C:\Qt\4.6.3\bin&quot;. This will point<br>
&gt; the system to the DLLs of the framework eventually needed by any Qt<br>
&gt; application.<br>
&gt;<br>
&gt; Now, once you pulled the sources from SVN into a fresh directory, you<br>
&gt; can open a command line window (with administrator privileges - on Vista<br>
&gt; and Windows 7, you need to hold down SHIFT and Control when executing<br>
&gt; &quot;CMD.exe&quot; from the start button menu). You  need to make sure that you<br>
&gt; got those privileges, otherwise the build will fail due to missing<br>
&gt; rights to write files later on during linking and installing.<br>
&gt;<br>
&gt;<br>
&gt; Make sure to set the environment variables for the MS Visual C++<br>
&gt; compiler by doing &quot;vcvarsall.bat&quot; in the tool subdirectory of your<br>
&gt; Microsoft Visual C++ installation.<br>
&gt;<br>
&gt; Example:<br>
&gt;<br>
&gt; C:\&gt;cd &quot;\Program Files\Microsoft Visual Studio 9.0\VC&quot;<br>
&gt;<br>
&gt; C:\Program Files\Microsoft Visual Studio 9.0\VC&gt;vcvarsall<br>
&gt; Setting environment for using Microsoft Visual Studio 2008 x86 tools.<br>
&gt;<br>
&gt; Then you can issue the build commands (thanks to Patrick Spendrin for<br>
&gt; that):<br>
&gt;<br>
&gt; cmake -G &quot;NMake Makefiles&quot; -DQTONLY=ON<br>
&gt; -DCMAKE_INSTALL_PREFIX=C:\marble-tmp &amp;&amp; nmake &amp;&amp; nmake install<br>
&gt;<br>
&gt; Additionally, if you would like to optimize things a bit, you can also<br>
&gt; add compiler options like<br>
&gt;<br>
&gt; cmake -G &quot;NMake Makefiles&quot; -DQTONLY=ON -DCMAKE_INSTALL_PREFIX=C:\Temp<br>
&gt; -DCMAKE_CXX_FLAGS=&quot;/O2 /GL /arch:SSE2&quot; -DCMAKE_BUILD_TYPE=Release &amp;&amp;<br>
&gt; nmake &amp;&amp; nmake install<br>
&gt;<br>
&gt; /02 is an option for optimizing for speed<br>
&gt; /GL is &quot;overall program optimization&quot; and<br>
&gt; /arch:SSE2 optimizes for SSE2 commands<br>
&gt;<br>
&gt; type &quot;cl -h&quot; for more available options on the MSVC compiler.<br>
&gt;<br>
&gt; Once issued, you will get the build kicked off. First, the cmake<br>
&gt; cross-compiler will make the MakeFile, and Nmake will then compile it,<br>
&gt; while nmake install will install the application at the path specified<br>
&gt; at CMAKE_IMSTALL_PATH Prefix.<br>
&gt;<br>
&gt; Once marble &quot;installed&quot;, you need to manually copy the missing Qt<br>
&gt; Framework DLLs as well as the missing imageformat DLL for importing tiles.<br>
&gt;<br>
&gt; The following DLLs go from the Qt/bin directory right next to the<br>
&gt; marble.exe file in the installation directory:<br>
&gt;<br>
&gt; QtCore4.dll<br>
&gt; QtGui4.dll<br>
&gt; QtNetwork4.dll<br>
&gt; QtSvg4.dll<br>
&gt; QtWebKit4.dll<br>
&gt; QtXml4.dll<br>
&gt;<br>
&gt; Additionally, you need to create a directory in the &quot;plugins&quot; folder<br>
&gt; named &quot;imageformats&quot;. This is the plugin for different image formats. In<br>
&gt; Marble 0.8.0, there was just one DLL in there, namely &quot;qjpeg4.dll&quot;,<br>
&gt; which is the support for JPEG file tiles in Marble.<br>
&gt;<br>
&gt; [NOTE: what about PNG support? Would that be &quot;qmng4.dll&quot; to be added?]<br>
&gt;<br>
&gt; The &quot;qjpeg4.dll&quot; is not build yet after downloading and installing the<br>
&gt; MSVC version of the Qt Framework, yet you will find a MS VC Project file<br>
&gt; in your Qt source directory (e.g.<br>
&gt; &quot;C:\Qt\4.6.3\src\plugins\imageformats\imageformats.dsw&quot;). Open that up,<br>
&gt; set the release configuration in the compiler and compile the project.<br>
&gt;<br>
&gt; Note that the output files will be found in another place! Namely in the<br>
&gt; plugins folder of Qt (e.g. &quot;C:\Qt\4.6.3\plugins\imageformats&quot;)<br>
&gt;<br>
&gt;  From there, you can copy the qjpeg4.dll needed, and you should be all<br>
&gt; set - you now got a fresh Marble version compiled, eventually even with<br>
&gt; optimizations!<br>
&gt;<br>
&gt;<br>
&gt; Sylvain, maybe it is now possible to build debug versions of the<br>
&gt; libmarble widget as you intended to? CMAKE accepts Debug builds, and<br>
&gt; putting up the Debug-Version of the Qt-DLLs should eventually do the<br>
&gt; trick for you.<br>
&gt;<br>
&gt; If you care about explaining me what you were after (forgot about it,<br>
&gt; sorry), I may be able to help you out (this time) :-)<br>
&gt;<br>
&gt;<br>
&gt; Greets,<br>
&gt;<br>
&gt; Christophe Leske<br>
&gt; <a href="http://multimedial.de" target="_blank">multimedial.de</a><br>
&gt;<br>
&gt; PROFILE: <a href="http://www.linkedin.com/in/multimedial" target="_blank">www.linkedin.com/in/multimedial</a><br>
&gt; ----------------------------------------<br>
&gt; <a href="http://www.multimedial.de" target="_blank">www.multimedial.de</a> - <a href="mailto:info@multimedial.de">info@multimedial.de</a><br>
&gt; Vogteistrasse 19 - 51647 Gummersbach<br>
&gt; ++ 49 (0) 22 61 - 30 21 59-0<br>
&gt; ----------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Marble-devel mailing list<br>
&gt; <a href="mailto:Marble-devel@kde.org">Marble-devel@kde.org</a><br>
&gt; <a href="https://mail.kde.org/mailman/listinfo/marble-devel" target="_blank">https://mail.kde.org/mailman/listinfo/marble-devel</a><br>
_______________________________________________<br>
Marble-devel mailing list<br>
<a href="mailto:Marble-devel@kde.org">Marble-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/marble-devel" target="_blank">https://mail.kde.org/mailman/listinfo/marble-devel</a><br>
</div></div></blockquote></div><br>