clion Questions

18

Solved

I'm trying to debug an executable which has been created with CMake configuration SET(CMAKE_BUILD_TYPE Debug) However, CLion does not hit any breakpoints. What could be the problem?
Grayce asked 9/3, 2016 at 10:21

4

I need someone to outline how to pass command line arguments to CLion. What I've found so far hasn't worked for me. Specifically I need to know how to pass multiple arguments to the program from th...
Neurath asked 10/2, 2016 at 14:34

4

Is there a way to send EOF to stdin when running a c program in Clion IDE? I tried ctrl+D - it simply shuts the program down. Ctrl+Z doesn't work either. Any ideas? BTW - I'm using it on a Windows...
Thrilling asked 4/4, 2016 at 14:33

4

I have trouble using toolchains in Docker from CLION. My Docker container is based on ubuntu 18.04 and CMake 3.17 is installed. The image definition is based on this reference implementation. When ...
Quietly asked 12/2, 2021 at 11:22

5

I am recently working on a project which includes the use of Emscripten. I am able to install and run some examples on terminal, but I want to integrate it with Clion so that I can directly include...
Pushcart asked 16/8, 2018 at 2:30

2

I use vcpkg manifest mode to install packages, vcpkg.json: { "name": "vcpkgtest", "version": "1.0.0", "description": "learn vkpg & glfw...
Northman asked 13/12, 2022 at 5:28

3

Solved

I included <math.h> library in my C source code. But I get compilation errors. Error: **undefined reference to 'sqrt' **undefined reference to 'atan' How can I link to <math.h> in CMa...
Pohai asked 22/10, 2016 at 19:51

3

Clion doesn't open and it gives me "The procedure entry point CreateAppContainerProfile could not be located in the dynamic link library USERENV.dll" I have tried many things and nothing ...
Retro asked 17/8, 2023 at 12:22

3

Running Makefile in CLion. The Makefile is of stockfish(chess) and is here https://github.com/official-stockfish/Stockfish/blob/master/src/Makefile I am trying this on a windows 10 system. Why is m...
Hypnotic asked 3/5, 2021 at 22:56

3

Solved

I'm actually looking for a way to create apps with OpenCV with Clion from JetBrains. I've installed OpenCV with Choco, so I have all the stuff in C:\opencv this is my projet with Clion CMakeList...
Rident asked 14/3, 2016 at 10:12

4

Solved

I have been sitting online for hours already trying to setup Google test on Clion in Linux but have not been able to find anything. Can someone guide me with setting this up please?
Decasyllabic asked 10/11, 2015 at 19:56

8

Solved

I am using Clion to develop a cuda program. The code highlight works fine when the extension is .h. However, when it is changed to .cuh, Clion just consider the new file a plain text file, and I ha...
Anitraaniweta asked 11/10, 2016 at 15:13

4

Solved

How can I make CLion automatically copy my compiled executable to a specified directory after each build? Since CLion uses CMake, I guess this should be possible with some CMake command in the CMa...
Stinkhorn asked 7/7, 2015 at 19:2

2

Solved

I am using printf("%d", 15); and nothing prints on the console. I tried calling setvbuf (stdout, NULL, _IONBF, 0); first, nothing changed. Any ideas how to tackle this issue ?
Jacobi asked 22/2, 2016 at 14:28

1

So i had this error with a large code that im working on for college, i need to visualize how strings get reorder while debugging in order to know my program is working, but debugger just shows (st...
Amphitropous asked 5/7, 2023 at 15:52

2

Can anyone suggest a tutorial or getting started guide to CLion and wxWdgets? I have searched around but am unable to find anything.
Cynthea asked 12/4, 2016 at 11:44

3

Solved

I am trying to write a C++ application with Clion that makes use of colored console output using ASCII sequences. When I run the program in Clion, the colors are not shown. But when I run the progr...
Dietrich asked 23/9, 2015 at 14:52

2

Solved

I am trying to get NVIDIA's CUDA setup and installed on my PC which has an NVIDIA GEFORCE RTX 2080 SUPER graphics card. After hours of trying different things and lots of research I have gotten CUD...
Cnidoblast asked 23/7, 2020 at 18:45

4

Solved

Seeing this blew my mind: But it would be really awesome if it actually showed me the value inside it. Is it possible to fix this?
Exigent asked 7/6, 2017 at 17:47

4

Solved

I have two files in my project called Test4: Structure.h Structure.c I want to create a static library that can be loaded by other projects who want to use those files. Here is my CMake file curr...
Moffit asked 4/5, 2017 at 2:32

4

Solved

I am developing a QT application in C++. Since i like CLion, I would like to use this IDE to write my code. My problem: I cannot open the .ui - files. CLion just ignores my double-click on the file...
Dryly asked 12/12, 2017 at 9:59

3

Solved

I'm evaluating CLion 1.2.1 on an existing project which is already using CMake. The project is made up of a few library modules and a single executable. I have an install target which I use to col...
Misquotation asked 18/11, 2015 at 19:30

12

Solved

I'm struggling to run a program with CLion on Windows 10. It was working fine a couple weeks ago and the only thing I could think of that might have broken things is installing git. As you can see...
Frogman asked 2/3, 2020 at 3:45

3

Solved

Unlike this question or this one, CLion seems to detect the WSL correctly: You can see that Ubuntu-20.04 is listed but still not found : Versions : Windows 10 : 1803 WSL : 1 (since windows 1803 ...

6

I'm trying to run a program written in C/C++ by using CLion 2022.3.2 as superuser. Anyone here knows how to run it as superuser? I'm using CMake.
Welldone asked 21/1, 2016 at 15:31

© 2022 - 2024 — McMap. All rights reserved.