C++ IDEs for Ubuntu Linux
C++ IDEs for Ubuntu Linux
I read some web articles about recommended C++ Integrated Development Environments used to write code for C++ in Ubuntu and tried a number including:
- Netbeans
- Eclipse for C/C++
- Visual Studio Code
- CodeBlocks
- KDevelop
- Geany
All of them had serious issues except Geany.
Netbeans required configuration. C++ code files could not be handled at all. There was no easy guide on how to get Netbeans to compile, build and run C++ code.
Eclipse had similar issues to Netbeans. There is a specific version of Eclipse for C++ but surprisingly, it seems not to work out of the box. I had no time to fiddle with IDEs.
Visual Studio Code looks sleek but I could not figure out how to compile, build and run C++ code files! What a pity. Why spend so much energy beautifying software and little effort to make it usable? Its a nightmare for me. I have no time for "steep learning curves". I want my "Hello World!" to compile, build and run pronto.
CodeBlocks is supposed to be simple and lightweight but, at first, I could not even figure out how to create a C++ project! C++ did not seem to be an option. Later, I discovered how to create C++ code files but then, "Permission denied" on trying to run the code. Online suggestions is to change ownership rights on the source code files! That's madness. How would one justify creating a tool to edit, compile, build and run C++ code if you have to manually run chown on each file before you can run it.
Much later, I found that if you launched CodeBlocks with "sudo codeblocks" with CLI terminal, then opened an empty project rather than the other mysterious options, you can create a C++ source file that compiles, build, and executes successfully! Hurry! But how long will a newbie take to figure all this out? He/she would have got grey hair and hypertension long before that. This is worse than climate change. Why not offer an option to create a C++ source file and set things up so files can compile, build and run without the "permission denied" nonsense? This is why coding is hell.
KDevelop was recommended but it failed my "run out of the box" test. It has no compile and build options. Perhaps "debug" is the replacement for compile and build. When you try to execute your code, it brings up an interface for you to chose and edit some configuration. No clue what it's about. Dump this stuff quick before my health is impacted....
Geany is the only tool that worked straight out of the box except you have to save your source files in certain places. Trying to fiddle with file and folder permissions did not help. I ended up creating a sub-folder in "Documents" to avoid this issue. No the best solutions. I would rather save my files in my OneDrive folder so I get backup but Geany didn't like that...Gosh, in this century, you have to coax software to persuade it to work. Soon, you may have to make coffee and toast for the damn thing to convince it to do its work! Bah! I need to switch careers and become a sheep farmer.
To install Geany in ubuntu and its variants (!), use: sudo apt install geany
Comments
Post a Comment