clion Questions

1

In JetBrains IDEs, like CLion or PyCharm, I can setup "deployment" so that if I right click any local file or directory, I can "deploy" it via SSH into corresponding place on re...
Tenebrific asked 7/11, 2020 at 18:50

4

This seems really basic. How can i add files to a project without having to manually edit the CMakeLists.txt. For example source files in another directory
Justiciar asked 10/11, 2015 at 10:26

2

To my knowledge I'm initializing a string a fairly normal way and when I debug, the variables window in my IDE (CLion) shows its value as <incomplete type>. I have some simple code that resul...
Sound asked 17/10, 2017 at 4:13

3

I don't know how can I see memory leaks using CLion on MacOS Big Sur using CLion and I've tried these things: Valgrind - which is not compatible with Big Sur Leak Sanitizer from Clang - which app...
Kobold asked 12/3, 2021 at 12:4

1

I installed Ubuntu through the Windows store and then followed the Jetbrains CLion/WSL setup guide here: https://www.jetbrains.com/help/clion/how-to-use-wsl-development-environment-in-clion.html H...
Pinette asked 29/8, 2019 at 18:15

1

Solved

Idk how to make it automaticly - the only option is to specify where the file is - not to generate it, but I don't wan't to write it by my own, because there are too many source files to include.
Sinew asked 14/6, 2021 at 19:28

3

I'm using CLion on Linux and having difficulties with debugging. I evaluated an expression which ends up being a string, but the debugger is useless at showing me what the return value is, other th...
Ossiferous asked 10/2, 2017 at 13:50

6

Solved

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....
Milamilady asked 29/11, 2016 at 11:18

1

I am working with CLion and when loading a project from a valid CMakeLists file I get the warning that none of the files belong to any project target. This is annoying and I found a solution here t...
Haberman asked 4/6, 2021 at 18:19

2

Solved

I am new to OpenMP and MPI, and I want to import OpenMP and MPI to my existing CMake project. Therefore -- First, I created a very simple MPI project. main.cpp: #include "mpi.h" #include "iostr...
Velure asked 13/1, 2020 at 8:54

1

I'm write console application on C++ and wanna use CLion (JetBrains). But when i'm runned exe, it use internal IDE console output. Is there way to say to CLion that it should use cmd.exe directly w...
Leucine asked 21/3, 2016 at 14:45

5

What I'm trying to do is basically: ./myProgram < myData.txt While I'm debugging with CLion IDE. I just can't find the option to do so. A similar question - but product-specific to MSVS
Acropetal asked 6/10, 2015 at 13:52

3

Solved

Since I've been using for some while ReSharper for C# (and other JetBrains tools) and have been very pleased with the experience, I'm oscillating regarding which would be the better option, between...
Heaver asked 1/3, 2016 at 15:54

2

Solved

As you can see, there's plenty of space for the text to expand to the right, but it gets wrapped at 120 characters. I have tried turning off soft wrapping (the little button on the right side), I...
Frons asked 11/9, 2018 at 4:31

1

I have used Visual Studio successfully to generate class diagrams from C++ source code. But I'm finding it hard to do the same in CLION. I used Settings / Preferences | Tools | Diagrams as per the ...
Chowder asked 31/5, 2021 at 23:34

3

I'm currently playing around with ncurses. Ncurses is a library I installed, NOT my own file. I already did some stuff but using an IDE is much easier so I decided to use CLion (I'm on Linux so can...
Unionist asked 7/12, 2016 at 12:34

2

Solved

When on a C++ line of code like the following aType.aMethod( std::make_shared< T_1>(); ^^^^^-- Press tab here ) Clion tries to move to the next parameter(i guess), but being the only par...
Lave asked 4/7, 2017 at 15:15

2

I know about Ctrl/Cmd+P to show the popup for parameters, however that's not what I am looking for. I am looking for the parameter name hints (which can be found in Preferences > Editor > Genera...
Perfect asked 16/10, 2017 at 6:28

3

Solved

I'm using CLion. My CMakeLists.txt looks like this: cmake_minimum_required(VERSION 3.2) project(MPI) add_executable(MPI main.cpp) # Require MPI for this project: find_package(MPI REQUIRED) set...
Arella asked 7/7, 2015 at 15:7

6

I try to rename my project from encoding to Tutorial, but after I refactor directory name, it comes out an error, like: Error: CMakeLists.txt not found in D:\code\encoding I find that files in...
Top asked 11/10, 2015 at 15:34

5

Most people that switched from some other IDE that had an option to build single file are a bit confused by CLion which doesn't happen to have an option. So how can you avoid adding every name of...
Depriest asked 5/5, 2016 at 10:21

6

Currently trying to setup my C development environment on windows with MinGW and it looks like CMAKE is giving me the following error: sh.exe was found in your PATH, here: C:/Program Files/Git/use...
Mozellamozelle asked 26/12, 2016 at 15:23

5

Solved

I am using Ubuntu and CLion 2016.1. I installed it by downloading tar.gz archive. Now I have such CLion-2016.1/bin folder. For launching Clion I run ./clion.sh. How can I add CLion icon to des...
Pinwork asked 30/5, 2016 at 10:49

1

Solved

In CLion, What is the difference between Qt Console and Qt Widgets Executable project templates. My intuition is that Qt Console is CLI and Widgets is GUI, but googling hasn't confirmed this. I'm h...
Balenciaga asked 27/1, 2021 at 14:58

2

When I use the GDB of CLion for debugging on vectors for example, no value is printed at all, even if the vector is in fact filled. I have activated the GNU C++ view, which effectively hides the M ...
Demeanor asked 26/7, 2016 at 10:2

© 2022 - 2024 — McMap. All rights reserved.