This forum has been archived. All content is frozen. Please use KDE Discuss instead.

issue with kdevelop

Tags: None
(comma "," separated)
rado27
Registered Member
Posts
4
Karma
0

issue with kdevelop

Sat May 29, 2021 9:12 am
hello,
I have installed KDevelop on Kubuntu 20.04 but I can not use it as I receive following error message:

Failed to configure 'K01' (error message: Configuration failed.) As a result, KDevelop's code will likely be broken.

To fix issue, please ensure that the project's CMaklwLists.txt files are correct, and KDevelop is configured to use the correct CMake version and settings. Then right-click the project item in the projects tool view and click 'Reload'.

The CMaklwLists.txt was created by KDevelop and I do not know what is wrong there.
========================
The CMaklwLists.txt:

cmake_minimum_required(VERSION 3.0)

project(k01)

find_package(ECM "5.14.0" REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})

include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(ECMQtDeclareLoggingCategory)
include(FeatureSummary)

find_package(KDevPlatform 5.2.40 REQUIRED)

add_subdirectory(src)

# kdebugsettings file
if (ECM_VERSION VERSION_GREATER "5.58.0")
install(FILES k01.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
else()
install(FILES k01.categories DESTINATION ${KDE_INSTALL_CONFDIR})
endif()

feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
======================
What shall I do?
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: issue with kdevelop

Mon Jun 07, 2021 8:45 am
What is the error message printed by CMake?

If you want to use CMake for your project, you will need to read up on how that works anyways. Have a look at e.g. https://cmake.org/cmake/help/latest/gui ... index.html.


I'm working on the KDevelop IDE.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]