<div dir="ltr">Hi,<div><br></div><div>I'm having trouble compiling revision 1363667 on Windows using Visual Studio 10 and Qt 4.8.5 and am hoping for some guidance.<br><div class="gmail_extra"><br></div><div class="gmail_extra">
cmake command line:</div></div><div class="gmail_extra"><i><br></i></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div class="gmail_extra"><div class="gmail_extra"><i>cmake ../kst/cmake -Dkst_3rdparty_build=ON -Dkst_pch=OFF -Dkst_verbose=ON</i></div>
</div></div></blockquote><div><div class="gmail_extra"><div class="gmail_extra"><br></div><div class="gmail_extra">The first issue was qSqrt was not found in libkstapp/view.cpp and circleitem.cpp. I added an include for QtCore/qmath.h to both and that fixed the compilation error.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">The second issue is that 43 projects (3rdparty mostly I guess) fail (when building in VS) with the following error:</div><div class="gmail_extra"><br></div></div>
</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div class="gmail_extra"><div class="gmail_extra"><i>MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file.</i></div>
</div></div></blockquote><div><div class="gmail_extra"><div class="gmail_extra"><br></div><div class="gmail_extra">Below is an example for building 3rdparty getdata. I'm guessing it's related to the fact there are multiple *.vcxproj files in build/3rdparty/getdata/src/getdata-build/ but I'm far from a Visual Studio expert. I just opened the kst.sln file after cmake completed and right clicked on a project and selected "build solution"; is there a more involved incantation? I also tried with kst_pch=ON.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for any tips,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Steve</div><div class="gmail_extra"><br></div></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1"><br></font></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2>------ Build started: Project: getdata, Configuration: Debug Win32 ------</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> Building Custom Rule C:/cygwin/home/smaher/kst/kst/cmake/3rdparty/CMakeLists.txt</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> CMake does not need to re-run because C:\cygwin\home\smaher\kst\build\3rdparty\CMakeFiles\generate.stamp is up-to-date.</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> Creating directories for 'getdata'</font></div></div></div></div>
<div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> Performing download step (download, verify and extract) for 'getdata'</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> -- downloading...</font></div></div></div></div><div><div class="gmail_extra">
<div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> src='<a href="http://sourceforge.net/projects/getdata/files/getdata/0.8.0/getdata_win-0.8.0.zip">http://sourceforge.net/projects/getdata/files/getdata/0.8.0/getdata_win-0.8.0.zip</a>'</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> dst='C:/cygwin/home/smaher/kst/build/3rdparty/getdata/src/getdata_win-0.8.0.zip'</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> timeout='none'</font></div></div></div></div><div><div class="gmail_extra">
<div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> -- [download 0% complete]</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra">
<font face="courier new, monospace" size="1">2> -- [download 7% complete]</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> -- [download 100% complete]</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> -- downloading... done</font></div></div></div></div><div><div class="gmail_extra">
<div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> -- verifying file...</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra">
<font face="courier new, monospace" size="1">2> file='C:/cygwin/home/smaher/kst/build/3rdparty/getdata/src/getdata_win-0.8.0.zip'</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra">
<div class="gmail_extra"><font face="courier new, monospace" size="1">2>CUSTOMBUILD : -- verifying file... warning : did not verify file - no URL_HASH specified?</font></div></div></div></div><div><div class="gmail_extra">
<div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> -- extracting...</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra">
<font face="courier new, monospace" size="1">2> src='C:/cygwin/home/smaher/kst/build/3rdparty/getdata/src/getdata_win-0.8.0.zip'</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra">
<div class="gmail_extra"><font face="courier new, monospace" size="1">2> dst='C:/cygwin/home/smaher/kst/build/3rdparty/getdata/src/getdata'</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra">
<div class="gmail_extra"><font face="courier new, monospace" size="1">2> -- extracting... [tar xfz]</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> -- extracting... [analysis]</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> -- extracting... [rename]</font></div></div></div></div><div><div class="gmail_extra">
<div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> -- extracting... [clean up]</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra">
<font face="courier new, monospace" size="1">2> -- extracting... done</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> No update step for 'getdata'</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> No patch step for 'getdata'</font></div></div></div></div><div>
<div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> Performing configure step for 'getdata'</font></div></div></div></div><div><div class="gmail_extra">
<div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> -- Configuring done</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra">
<font face="courier new, monospace" size="1">2> -- Generating done</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2>CUSTOMBUILD : CMake warning : </font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> Manually-specified variables were not used by the project:</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> </font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra">
<div class="gmail_extra"><font face="courier new, monospace" size="1">2> CMAKE_BUILD_TYPE</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> </font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> </font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra">
<div class="gmail_extra"><font face="courier new, monospace" size="1">2> -- Build files have been written to: C:/cygwin/home/smaher/kst/build/3rdparty/getdata/src/getdata-build</font></div></div></div></div><div><div class="gmail_extra">
<div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> Performing build step for 'getdata'</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra">
<div class="gmail_extra"><font face="courier new, monospace" size="1">2> Microsoft (R) Build Engine Version 4.0.30319.1</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra">
<font face="courier new, monospace" size="1">2> [Microsoft .NET Framework, Version 4.0.30319.1008]</font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> Copyright (C) Microsoft Corporation 2007. All rights reserved.</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">2> </font></div></div></div></div><div><div class="gmail_extra"><div class="gmail_extra">
<div class="gmail_extra"><font face="courier new, monospace" size="1">2>MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file.</font></div>
</div></div></div><div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace" size="1">========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</font></div>
</div></div></div></blockquote></div>