E
E
Eugene Ordinary2018-08-19 09:32:27
linux
Eugene Ordinary, 2018-08-19 09:32:27

How to set up KDevelop?

I'm taking my first steps in Linux programming.
In OpenSUSE, I installed KDevelop using Yast, as well as gcc, gcc-c++ just in case.
In KDevelop, I created a project from the Standard - Terminal template. The main.cpp file was formed with the simplest Hello World code.
From the console I was able to build the application using the g++ command.
I can't figure out how to compile it in KDevelop, how to connect gcc-c++?
upd:
KDevelop actions, such.
Create a project \ Standart \ Termianl
After a message appears:
5b7917216e078596105696.png
The main.cpp file is being created:
Q7lWmQV.png
When you try to run, it asks you to select a launch configuration. I choose Compiled program. When launched, it finds an executable file because it doesn't exist.
5b791a6fc7628460803656.png
The settings are:
5b791a387e5fd930653452.png5b791a8589079980883924.png
UPD2:
Installed cmake. The executable file is being created.
At startup, it says that access is denied.
5b792058df889759236071.png5b79205f7ca5a603664743.png
When you start debugging, it says:
5b79232684686942196699.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question