Questions Tagged [Clion]
Ask Question for Questions Related to Jetbrains Clion Ide. 24 Questions More Bountied 0 Unanswered Frequent Score Unanswered (My Tags) Apply Filter 0 Votes 1...
For questions related to JetBrains CLion IDE.
Must Read
24
questions
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
...
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.
0
votes
1
answer
384
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 ...
1
vote
0
answers
435
views
CLion with WSL try to run QT application (xcb can not be loaded)
I am trying to run the code from here 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
1
answer
44
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
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\...
0
votes
0
answers
88
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
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, ...
0
votes
0
answers
300
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
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 ...
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 ...
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
...
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 ...
0
votes
2
answers
821
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
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 ...