Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [clion]

CLion is a cross-platform IDE for C and C++ development.

0 votes
0 answers
34 views

TCC & CLion errors

I've setup successfully the CLion + TCC enviroment on the windows 10 machine. My colleague asked me for help with that so I shared the CLion project and he: unpacked the TCC in the right directory, ...
Krzysztof 666's user avatar
1 vote
0 answers
48 views

How to make CLion recognize linux/init.h and other linux kernel headers?

I am trying to do some Linux Kernel programming with CLion. I observe that some headers, like <linux/kernel.h> and <linux/module.h> are correctly recognized, but some others, like <...
G. Ianni's user avatar
0 votes
0 answers
24 views

How to custom cpp var value in gdb and clion > watches

see my img, I find zoned_time can show custom str "America/New_York" 1721904914882986761ns [2024-07-25 10:55:14] how to custom this value in my own class I try following code but it only ...
chikadance's user avatar
  • 4,025
0 votes
0 answers
51 views

Does CMake support converting headers to header modules?

I've just started to learn programming in C++ and the books I use for that focus on the new module system to replace the #include method. For make I've found Makefiles that allow to first convert the #...
Patrick Kox's user avatar
-1 votes
1 answer
42 views

Import glfw for CLion [closed]

I couldnt manage to find a way to import glfw library for CLion. I tried things but they didnt work as expected. cmake_minimum_required(VERSION 3.29) project(TestProj) set(CMAKE_CXX_STANDARD 20) set(...
Melih 's user avatar
-1 votes
0 answers
28 views

Weird debugging error lead to aborting in CLion/VS Code [closed]

I have a weird error. if I step into the line of the break point and then run a few lines, it will abort for strange reasons but if I jump over this line, it will just be fine. It is a function ...
user900476's user avatar
0 votes
0 answers
19 views

Clion can't Identify functions form head file in WSL2

I use clion with WSL2 toolchain. When i include ncurses.h(has already been insntalled) and use "initsrc()", The IDE is giving me an error that it cannot resolve the symbol.But the file can ...
baicanyuzhuzhu's user avatar
0 votes
0 answers
12 views

Undefined symbols for architecture arm64 when linking GMP library in C++ project on Mac M1 in CLion, clang: linked command failed [duplicate]

I’m developing a C++ project using the SymEngine library with GMP dependencies on a Mac M1, and I’m encountering the following linker errors for architecture arm64: Undefined symbols for architecture ...
SuperAnon's user avatar
0 votes
1 answer
37 views

CLion vs Stm32CubeIDE build size

I'm working on an embedded project for STM32 Bluepill. I was using Stm32CubeIDE for development but I recently transitioned to CLion (Jetbrains) as I really like that IDE. However, I noticed there's a ...
user975068's user avatar
-1 votes
0 answers
30 views

How to configure CLion to avoid build failed while running

I have written a simple program in CLion C++ that solves USACO 2016 February Contest, BRONZE, Problem 1. Milk Pails. However, as I tried to run it, I got the following error ld: open() failed, errno=...
Ow Ji's user avatar
  • 82
0 votes
0 answers
10 views

How to debug a ros2 command?

I have installed ros2 and this driver (build on windows 10) : https://github.com/ros-naoqi/naoqi_driver2 and that work all fine. I want to see what's happening under the hood by debugging the c++ code....
Sam's user avatar
  • 374
0 votes
1 answer
70 views

How to synchronize a producer consumer problem with two mutexes?

I'm currently working on a homework assignment for my university. We are supposed to make a circular buffer threadsafe, given a struct rbuf with two mutexes and two signals. The two mutexes can ...
Miriman's user avatar
  • 19
0 votes
0 answers
31 views

Trouble compiling a CUDA executable in CLion [duplicate]

I'm trying to compile a very basic program in CUDA. However, when I hit build in CLion, I get the following error message: [1/3] Building CUDA object CMakeFiles\test.dir\main.cu.obj FAILED: CMakeFiles/...
Andrew Kornder's user avatar
-1 votes
0 answers
25 views

Using Clion with Mac OS and I keep getting linker command failed with exit code 1 error, how do I fix it? [duplicate]

My code will not run no matter what I change, and I'm not sure what this error actually means. I just started this class so I have to use clion, which I am fairly new to. This is cloned from github to ...
Lucy Shah's user avatar
-1 votes
0 answers
20 views

How Do I Disable the IntelliJ/CLion Vim Plugin in Terminal?

I want the vim plugin to be enabled in the editor windows, but be disabled in the terminal and other non-editor windows.
Elvir Crncevic's user avatar

15 30 50 per page
1
2 3 4 5
193