clion Questions
4
Solved
I recently started to use CLion, on Windows 7 64-bit, for editing C files.
One thing that bothers me a lot is that it uses too much system memory. It doesn't cause out of memory error as asked in...
4
Solved
I have a C++ project using CMake. The project is built on CentOS machine. I have configured CLion to build remotely from MacOS. I have unit tests for the project and I am trying to run them from CL...
Tambour asked 26/9, 2019 at 20:0
2
Solved
How to only build a static library with clion without having an executable?
How does the CMakeLists.txt look like? (without add_executable)
Update: If I don't add executable to Clion, I have an
e...
Matronna asked 30/3, 2015 at 20:45
1
I followed the tutorial described in the VCPKG github site and then installed OpenMesh 8.0, and after, i linked the toolchain
-DCMAKE_TOOLCHAIN_FILE=/home/diolante/vcpkg/scripts/buildsystems/vcpkg...
2
Solved
I want to be able to step though my C++ code for a Node.js addon that I am making. I understand that CMake.js has the --debug option, but there is no documentation about it.
I am using the node-ad...
6
I am working on some c++ stuff and I hate having to create a whole new project just to run a few things on a file.
I also don't like how when you create a project a file is already called main.cpp...
1
Solved
When opening a makefile project in CLion I get the error message:
Cannot run program "make" (in directory "D:\Werkstudent\XWF\XT_Einzelauswertung"): CreateProcess error=2, The s...
Britten asked 23/11, 2020 at 9:13
5
I'm using CLion IDE, Cmake and trying to write Hello world using CERN ROOT library.
CMakeLists.txt:
message(STATUS $ENV{ROOTSYS})
~/.bashrc:
export ROOTSYS="$HOME/tools/root-build/"
During bu...
Scant asked 6/6, 2016 at 16:10
3
I need to add a watch in hexadecimal format in CLion.
ltoa(variable, 16) doesn't work, at least, on my system.
In Java/Python, I can have a workaround: write a custom toString()/__str__ for my cl...
1
Solved
I couldn't find anything on the web and seems like it can be done with Windows, but nothing for Linux.
I want to be able to open a core dump file and debug it (using its sources and binaries) usin...
4
I've used AppCode (Intellij C++/ObjC IDE that replaces Xcode) for a while and really gotten used to being able to Ctrl+Click on any identifier to get to its definition/decleration.
Now on a new w...
Manlike asked 19/6, 2018 at 8:18
2
I am trying to properly setup JetBrains CLion 2019.1 to build WebAssembly from C source code.
I've tried almost everything, however, nothing works. I do not get any WebAssembly build. All I get is...
Christmas asked 6/5, 2019 at 21:38
4
Solved
I've been trying to set a path to Clion directory in my computer in order to open this program with a command in terminal, but it didn't worked.
If you read this and asked yourself: "what?". I wa...
Precontract asked 5/1, 2017 at 12:25
3
Solved
I want to develop some small linux kernel modules in CLion. For example, I want to compile these files:
stack.h:
#ifndef _LL_STACK_H
#define _LL_STACK_H
#include <linux/list.h>
typedef str...
Cacodemon asked 23/2, 2015 at 15:16
3
I am trying to configure my Intellij Clion IDE for working with ns-3. Since ns-3 is using waf, it is more tricky than i thought and would be really happy to hear any advice
3
Solved
*I know there are lots of questions about this, but they simply don't help much when talking about CMake, hence my decision of making the question *
So I was working on CLion which uses CMake in o...
1
Solved
I am trying to build a clang tool, and I am trying to debug it using CLion. However, I can't get it to compile as a standalone binary. Currently I have this in my CMakeLists.txt:
add_clang_executab...
2
Solved
In my CMake project I have several targets which simply run a certain set of unit tests (for example, runTestsForA, runTestsForB and runTestsForC).
I also have a target, tests, that depends on all ...
Sula asked 1/5, 2015 at 7:27
1
Solved
I'm writing a function dealing with string in C, which is recursive. Basically what it does is to find a string between some characters and '\0'. If before it finds '\0', it hits on the particular ...
Waterhouse asked 17/9, 2020 at 14:2
3
I want to read .txt file in my C/C++ project in CLion IDE.
I want to automate the command that I run in bash:
./<executable_file> < input.txt
I edited program parameter in Run/Debug co...
Ezra asked 15/3, 2017 at 15:9
5
Solved
I am currently doing some Project Euler challenges in C using the JetBrains CLion IDE. When I completed these in Python and Java (in PyCharm and IntelliJ, respectively), I was always able to create...
Forelady asked 14/5, 2015 at 14:2
2
Solved
I have a project that links multiple static libs (e.g. libModule.a). When I try to navigate to classes inside the Module lib, Clion takes me only to the header declaration and stops navigation ther...
3
Recently I switched from terminal Cpp programming to CLion and found it's a really sweet one. But the font size is kind of small, so how can I change the default font size of each editor page? Than...
3
Solved
I'm looking for a way to work on multiple projects in parallel in CLion IDE.
For now I can only work on each project in a window at a time, but I'm looking for a solution similar to Eclipse IDE (s...
Chianti asked 6/4, 2016 at 6:22
2
Solved
I have figured out how to download and install new color schemes.
It is after I did this that I noticed that IntelliJ will still color the following line yellow:
// ToDo: implement
Further, this c...
Primp asked 21/4, 2017 at 15:59
© 2022 - 2024 — McMap. All rights reserved.