<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 9/1/19 8:53, Kevin Funk wrote:<br>
</div>
<blockquote type="cite" cite="mid:2007786.FmEyhut5me@kerberos">
<pre class="moz-quote-pre" wrap="">On Wednesday, 2 January 2019 19:30:37 CET santilin wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Hi all,
when trying to cmake kdev-executebrowser from
<a class="moz-txt-link-freetext" href="git://anongit.kde.org/kdev-executebrowser">git://anongit.kde.org/kdev-executebrowser</a> I got the following error:
CMake Error in CMakeLists.txt:
No known features for CXX compiler
"GNU"
version 8.2.0.
Searching the web I found this
<a class="moz-txt-link-freetext" href="https://stackoverflow.com/questions/38027292/configure-a-qt5-5-7-application">https://stackoverflow.com/questions/38027292/configure-a-qt5-5-7-application</a>
-for-android-with-cmake/40256862#40256862 as a workaround, and it works!
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Hey,
Something seems wrong with your CMake version.
You are not trying to something fancy, such as cross-compiling KDevelop, using
a CMake toolchain file?
</pre>
</blockquote>
<p>No. Just compiling after installing a fresh debian. <br>
</p>
<p><br>
</p>
<p>After upgrading system (which reinstalled cmake and qt5 libs) I
get the same error again. Probably it has to do with the qt
packages on debian:</p>
<p><br>
</p>
<p>-- The following OPTIONAL packages have been found:<br>
<br>
* Qt5Gui (required version >= 5.11.3)<br>
* KF5Parts (required version >= 5.51.0)<br>
<br>
-- The following REQUIRED packages have been found:<br>
<br>
* ECM (required version >= 5.14.0)<br>
* Gettext<br>
* KF5I18n (required version >= 5.15.0)<br>
* KF5ItemModels (required version >= 5.15.0)<br>
* KF5 (required version >= 5.15.0)<br>
* KDevPlatform (required version >= 5.1.0)<br>
<br>
-- Configuring done<br>
CMake Error in CMakeLists.txt:<br>
No known features for CXX compiler<br>
<br>
"GNU"<br>
<br>
version 8.2.0.</p>
<p><br>
</p>
<p>I've again commented out the line <br>
</p>
<pre class="lang-cpp prettyprint prettyprinted" style="margin: 0px 0px 1em; padding: 5px; border: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-weight: 400; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; vertical-align: baseline; box-sizing: inherit; width: auto; max-height: 600px; overflow: auto; background-color: rgb(239, 240, 241); display: block; color: rgb(57, 51, 24); overflow-wrap: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; vertical-align: baseline; box-sizing: inherit; background-color: rgb(239, 240, 241); white-space: inherit;"><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: rgb(48, 51, 54);">set_property</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: rgb(48, 51, 54);">(</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: rgb(48, 51, 54);">TARGET </span><span class="typ" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: rgb(43, 145, 175);">Qt5</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: rgb(48, 51, 54);">::</span><span class="typ" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: rgb(43, 145, 175);">Core</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: rgb(48, 51, 54);"> PROPERTY INTERFACE_COMPILE_FEATURES cxx_decltype</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; color: rgb(48, 51, 54);">)</span></code></pre>
<p>in <br>
</p>
<p>/usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfigExtras.cmake</p>
<p>And now it configures ok.<br>
</p>
<p><br>
</p>
<blockquote type="cite" cite="mid:2007786.FmEyhut5me@kerberos">
<pre class="moz-quote-pre" wrap="">Looks like CMake fails to detect your current toolchain (GCC) correctly,
please investigate.
Just tested building kdev-executebrowser with CMake 3.12.1/GCC 8.2.0 here on
Ubuntu 18.10 => works fine.
Regards,
Kevin
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">I'm working on an updated debian with testing apt sources.
Kind regards,
--santilín
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
</body>
</html>