Registered Member
|
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? |
Global Moderator
|
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.
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]