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

All Questions

Tagged with
0 votes
1 answer
49 views

Problem with Cmake and including third-party library

I'm trying to properly configure Cmake for my CUDA project. I'm using third party library, CGBN: https://github.com/NVlabs/CGBN/tree/master and Catch2 for unit-tests. Basically I am trying to build ...
drzejus's user avatar
-1 votes
0 answers
34 views

Undefined reference to _imp__glClear@4? [closed]

I have been trying to set up a graphics environment using GLFW following this tutorial on OpenGL. I have been having a great deal of trouble installing the GLFW library using CLion and by extension ...
William Dappen's user avatar
0 votes
1 answer
26 views

Linker Error with MariaDB Connector/C++ When Using CMake

I'm encountering a linker error while trying to build a project using the MariaDB Connector/C++ 1.1.4 on Windows with CMake. I installed the MariaDB Connector/C++ from the MariaDB download page and ...
Nazim Araz's user avatar
0 votes
0 answers
50 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
0 votes
1 answer
62 views

Unknown type name 'ImVec2'

I am trying to build the hello_imgui_template with Cmake, but I am unable to proceed without it giving me hello_imgui/hello_imgui.h file not found. Just to try it out I manually inserted the absolute ...
user22615570's user avatar
0 votes
1 answer
32 views

Doesn't find files when building project

I have linked the SFML and TGUI libraries in my project. I also included these libraries in another CMakeLists in this project. When I start building the project, I get a message that the files from ...
Vinograd's user avatar
0 votes
0 answers
31 views

Finding the build directory for cmake --install from CMakePresets.json

I'm developing a C++ bases software for Linux using CMake 3.29.3. In my CMake based project, I've the following CMakePresets.json: { "version": 6, "cmakeMinimumRequired": { ...
Donotalo's user avatar
  • 12.9k
-1 votes
0 answers
44 views

Getting error, No Uuid API found while building cmake for qpid c++ messaging API

I am trying to build QPid Messageing API C++ from here. I downloaded all the required dependencies including Boost. However, I'm getting 'No Uuid API found' error. uuid/uuid.h is present in usr/...
lehar's user avatar
  • 9
-1 votes
0 answers
36 views

OpenCV build keeps failing with errors related to ffmpeg [closed]

I am trying to install OpenCV on a Raspberry PI 4 with Raspbian Version 12. The default method via pip didnt work it kept failing to build the wheel. So I tried to install it manully. I followed this ...
Aterox_os's user avatar
0 votes
0 answers
23 views

Flutter can't find libsecret using nix/nixos

I am trying to run a Flutter application with flutter_secure_storage as a dependency on linux. This dependency in turn needs libsecret and won't compile despite the path being present in ...
Butzlabben's user avatar
0 votes
0 answers
14 views

How to use gcc compiler on Github windows runners when using scikit-build-core [duplicate]

I'm using scikit-build-core to build my c++ program on github windows runners. I would like to use gcc instead of microsoft visual studio as the compiler. Below is how I configure compiler settings in ...
Jiawei Lu's user avatar
  • 537
-2 votes
0 answers
28 views

Missing .so files while building Speed Dreams with Emscripten

I'm currently trying to build Speed Dreams with Emscripten. While running 'emmake make', I ran into this error: [ 20%] Linking CXX static library dandroid.a Creating directory D:/speed-dreams-code-2....
Priscilla Lagunas's user avatar
1 vote
0 answers
34 views

wxWidgets vcpkg link errors

I installed vcpkg and then ran the command vcpkg install wxwidgets. This has successfully installed wxwidgets. To test it, I have the following files: wxsample.cpp class MyApp : public wxApp { public: ...
macroland's user avatar
  • 1,023
0 votes
1 answer
82 views

using std::mutex without including it

I am trying to build openrave on the production branch and I can't understand what I am seeing. The code looks like it isn't including #include <mutex> but it is making use of std::mutex ...
Pinknoise's user avatar

15 30 50 per page
1
2 3 4 5
830