Questions tagged [clion]

For questions related to JetBrains CLion IDE.

CLion is a cross-platform IDE used to develop C and C++ projects.

CLion has built-in tools to run, debug and compile your code more easily.

It also integrates VCS and terminal.

26 questions
4
votes
3 answers

CLion doesn't pick up environment variables sourced in bashrc

Long Story (This is X) I need to start CLion with sudo so that I can attach gdb to the running process from CLion (for a debugging purpose). The reason is because when I run CLion without sudo, and trying to attach to a process (CLion GUI), I…
IgNite
  • 231
3
votes
1 answer

Fatal Python error: Py_Initialize: Unable to get the locale encoding

I'm trying to execute a python script from C++ by calling popen(). The important code looks like this: ostringstream command; command<<"cd ; python3 piap.py "<
lhk
  • 185
2
votes
1 answer

Set GCC as Clion C++ compiler

I'm trying to set GCC as Clion c++ compiler from settings, but I found many gcc files like : gcc, gcc-8, gcc-ar, gcc-nm, and I don't know which one to attach in c++ compiler in Toolchain. I'm totally new to Ubuntu and Clion also.
zyydoosh
  • 135
1
vote
1 answer

How can I fix my CLion installation?

I can successfully run /opt/clion-2017.2.1/bin/clion.sh from where I installed it but how do I update what is shown in the launcher? In the launcher it still links to the old 2017.1.1.
1
vote
0 answers

Will Ubuntu-SDK as module for other frameworks

I use CLion. For me (and for most people, I suppose) QT Creator is not good choice for working. Will it be possible in the future to install Ubuntu-SDK to other programs (for example CLion)? Because CLion has become the best cross-platform program,…
1
vote
1 answer

clion ubuntu navigate back

I use Clion. How can I navigate back if I follow links by pressing ctrl+mouse click? If I press ctrl+mouse click on a function, I come to the declaration. But how to I navigate back? On Windows I think it was ctrl+l.
1
vote
0 answers

CLion ugly fonts

I have a problem with Clion fonts. They look really ugly. I tried different methods to fix that: Urshulyak solution JetBrains forum solution AskUbuntu solution I even installed infinality and changed clion.sh java machine to run java-7-openjdk and…
1
vote
0 answers

Snap CLion IDE exits on run

I installed snap package of CLion IDE, when I launch it from ULauncher it exits upon clicking run, however when I run it from the terminal it seems to work just fine, what could be the cause of this? Using Ubuntu 22.10. (The same happens with…
ararune
  • 31
1
vote
0 answers

CLion with WSL try to run QT application (xcb can not be loaded)

I am trying to run the code from here https://github.com/vt4a2h/uml-tool and I found myself stuck with this error message: qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was…
Mircea
  • 111
1
vote
0 answers

Ctrl-Shift-F doesn't work in CLion in KDE

Ctrl-Shift-F (find in files) doesn't work in CLion in KDE. How to fix? $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic
Dims
  • 1,861
1
vote
0 answers

CLion CMake: arm-none-eabi-g++: error trying to exec 'cc1plus': execvp: No such file or directory

I've been struggling with this for ~2 days now and I can't seem to find the solution. I recently switched to a new laptop and installed Ubuntu 19.04, and now something with my c++ compiler is not working. I'm trying to load the CMakeLists.txt file…
1
vote
1 answer

What is the difference between starting a program from an unity icon and the command line?

I have a weird bug that only happens when I start clion from the icon. Clicking on the icon I get: ImportError: No module named catkin.environment_cache in the cmake window. When I start clion from the console like I usually do I don't get this…
Hakaishin
  • 386
1
vote
0 answers

Installation of CliPP on Ubuntu 18.04

I am working on a C++ project and I want to include a JavaScript function (call JavaScript functions from C++) in my CLion project. I found the CliPP library that can do that, but the installation provided there is for Windows only. Can anyone help…
0
votes
0 answers

WSL- System cannot find file... Wsl/Service/CreateInstance

When I open Ubuntu I got the message: wsl: The system cannot find the path specified. Error code: CreateInstance/CreateVm/ConfigureNetworking/ERROR_PATH_NOT_FOUND wsl: Failed to configure network (networkingMode Bridged), falling back to no…
0
votes
1 answer

CLion `find in files` action triggers a sudden logout in Kubuntu22.04

I came across a weird problem on Kubuntu22.04. After opening my CLion and selecting Edit -> Find -> Find in Files action, when I tried to type some word to find, the system suddenly got black screen and logged out. Some error message…
1
2