Error: No known features for CXX compiler compiling kdev-executebrowser
software at noviolento.es
Fri Jan 11 16:54:09 GMT 2019
On 9/1/19 8:53, Kevin Funk wrote:
> On Wednesday, 2 January 2019 19:30:37 CET santilin wrote:
>> Hi all,
>> when trying to cmake kdev-executebrowser from
>> git://anongit.kde.org/kdev-executebrowser I got the following error:
>> CMake Error in CMakeLists.txt:
>> No known features for CXX compiler
>> version 8.2.0.
>> Searching the web I found this
>> -for-android-with-cmake/40256862#40256862 as a workaround, and it works!
> Something seems wrong with your CMake version.
> You are not trying to something fancy, such as cross-compiling KDevelop, using
> a CMake toolchain file?
No. Just compiling after installing a fresh debian.
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:
-- The following OPTIONAL packages have been found:
* Qt5Gui (required version >= 5.11.3)
* KF5Parts (required version >= 5.51.0)
-- The following REQUIRED packages have been found:
* ECM (required version >= 5.14.0)
* KF5I18n (required version >= 5.15.0)
* KF5ItemModels (required version >= 5.15.0)
* KF5 (required version >= 5.15.0)
* KDevPlatform (required version >= 5.1.0)
-- Configuring done
CMake Error in CMakeLists.txt:
No known features for CXX compiler
I've again commented out the line
|set_property(TARGET Qt5::CorePROPERTY INTERFACE_COMPILE_FEATURES
And now it configures ok.
> 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.
>> I'm working on an updated debian with testing apt sources.
>> Kind regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel