Questions tagged [clion]

For questions related to JetBrains CLion IDE.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

how to install the cmake with specific version on WSL ubuntu 20.04

I am currently trying to link my CLion to WSL, but CLion only supported the Cmake of version 3.20.x, not the latest version, so I wonder how to downgrade my Cmake (version 3.21.3) to 3.20.x on Ubuntu ...
user avatar
  • 3
0 votes
0 answers
22 views

Run/Debug Configurations

Can I get help setting up my CLion for compiling? I'm sort of a newbie.
user avatar
  • 119
0 votes
1 answer
393 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 ...
user avatar
  • 1
1 vote
0 answers
439 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 ...
user avatar
  • 111
0 votes
1 answer
46 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 ...
user avatar
0 votes
1 answer
1k 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\...
user avatar
0 votes
0 answers
89 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.
user avatar
4 votes
2 answers
2k 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, ...
user avatar
  • 221
0 votes
0 answers
301 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 ...
user avatar
0 votes
0 answers
2k 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 ...
user avatar
2 votes
1 answer
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 ...
user avatar
1 vote
0 answers
171 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 ...
user avatar
  • 1,604
1 vote
0 answers
1k 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 ...
user avatar
0 votes
2 answers
824 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.
user avatar
1 vote
1 answer
226 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 ...
user avatar
  • 274
1 vote
0 answers
99 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 ...
user avatar
0 votes
1 answer
6k 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 ...
user avatar
  • 165
1 vote
1 answer
375 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.
user avatar
-1 votes
1 answer
445 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 ...
user avatar
0 votes
0 answers
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)....
user avatar
3 votes
1 answer
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; ...
user avatar
  • 185
1 vote
0 answers
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 ...
user avatar
1 vote
1 answer
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 ...
user avatar
1 vote
0 answers
410 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 ...
user avatar