People who code: we want your input. Take the Survey

Questions tagged [clion]

For questions related to JetBrains CLion IDE.

Filter by
Sorted by
Tagged with
0
votes
0answers
37 views

JetBrains program icons disappear when added to Favorites on Kubuntu

This issue is happening with PyCharm and CLion on Kubuntu 20.04 LTS. The steps are as follows: Install Program with a Desktop Entry. Desktop entry shows up when searching for Program (with icon ...
0
votes
1answer
38 views

Where did QT install to?

I am trying to set up a qt project in CLION. I installed qt using these commands sudo apt-get install qtcreator and sudo apt-get install qtdeclarative5-dev When you create a qt application in clion ...
0
votes
0answers
227 views

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 ...
0
votes
1answer
29 views

The Window of CLion/NetBeans freezes as soon as I click any button

When installing clion, when I do ./bin/clion.sh, a window for installation would appear, but as soon as I click continue button the window freezes, but then I still can use other sofwares. For ...
0
votes
1answer
654 views

Having troubles using Valgrind with WSL on CLion

Working on Windows 10, enabled WSL and installed Ubuntu. WSL toolchain configured, I can build and run stuff on CLion, everything works perfectly except for Valgrind. I used the path: \\wsl$\Ubuntu\...
0
votes
0answers
59 views

Ubuntu Clion CMake Error

I installed Clion but I am still now able to run my main hello world file. Screenshot of error Here is the whole error, hope an experienced can recognize give and give a solution.
4
votes
2answers
1k views

CLion doesn't pick up environment variables sourced in bashrc

Long Story (This is X) TLDR / The Problem (This is Y) Now, if running sh /opt/clion/bin/clion.sh from the Ubuntu terminal, CLion does pick up the environment variables sourced in the ~/.bashrc file, ...
0
votes
0answers
223 views

CLion won't track compiler via WSL

downloaded compiler and everything. Tho for some reason it downloads only cmake 3.10 and I need 3.15. I updated it following this guide How do I install the latest version of cmake from the command ...
0
votes
0answers
1k views

problem when compiling c++ files with GCC compiler in clion Ubuntu

When I change the clion compiler in toolchain to gcc-7 or gcc, it gives me undefined reference to every thing in a simple hello world program. this is my code : #include <bits/stdtr1c++.h> using ...
2
votes
1answer
1k views

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 ...
1
vote
0answers
104 views

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 ...
1
vote
0answers
997 views

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 ...
0
votes
2answers
673 views

Compiling in JetBrains don't work

I used Eclipse CDT for college lectures, but today I found the solution for C/C++ by JetBrains. But I can't compile because I don't know how to set the compiler.
1
vote
1answer
184 views

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 ...
1
vote
0answers
86 views

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 ...
0
votes
1answer
5k views

Internet through proxy in Ubuntu VirtualBox: works for apt and Firefox but not for other softwares

I installed a Ubuntu 16.04 VirtualBox and wrote the apt.conf file to access Internet via my proxy: Acquire::http::proxy "http://userID:pwd@host:port"; And now I can update & install packets. I ...
1
vote
1answer
336 views

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
votes
1answer
298 views

Can't see volume when I run `ls` in teminal

this is my first problem in Ubuntu 16.04: when I run ls in terminal as you can see I can't see my volume. I have 315 GB and 104GB volumes and when I want to make a project in C Lion I can't see my ...
0
votes
0answers
3k views

How to remove CLion-2016.2.3 completely from Ubuntu 16.04 LTS?

I had installed CLion(2016.2.3) IDE from CLion-2016.2.3.tar.gz file. I accidentally deleted the CLion-2016.2.3.tar.gz file and CLion-2016.2.3 folder(which I got after extracting CLion-2016.2.3.tar.gz)....
3
votes
1answer
5k views

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 "<<u<<" "<<rho; ...
1
vote
0answers
35 views

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 ...
1
vote
1answer
1k views

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 ...
1
vote
0answers
407 views

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 ...