Category : cmake

I am trying to integrate rabbitmq into one of the modules of my solution in order to switch from mailslots to rabbitmq. The problem is that during the fectcontent, the module "breaks" the links of the other modules. The errors generated are "unresolved external symbols". ########################## # CODE CMAKELISTS ########################## file(GLOB sources "src/*.cpp" "src/*.c") file(GLOB ..

Read more

I load a path name with cmake add_definitions(-DMY_PATH =${CMAKE_INSTALL_FULL_DATADIR}/path) and want to use as a string in my C++ program to load some data. For this the stringification operator # is really handy – I use the macro provided in this answer which is the same as here. Now when I have "linux" or "unix" ..

Read more

I’m trying to define my own opencv module and build it out of the sources folder, and I meet some link error while building on window’s msvc: link error log on visual studio here is my file structure(on any arbitrary path): file structure I try to build this extra module(matlib.cpp) with opencv source in: F:/opencv-master ..

Read more

My build_and_run function for single cpp file in vimrc file: function Get_metrics() abort let l:qf = getqflist() let l:recognized = filter(qf, ‘get(v:val, "valid", 1)’) " TODO: support other locales, see lh#po#context().tranlate() let l:errors = filter(copy(recognized), ‘v:val.type == "E" || v:val.text =~ "v^ *(error|erreur)"’) let l:warnings = filter(copy(recognized), ‘v:val.type == "W" || v:val.text =~ "v^ *(warning|attention)"’) ..

Read more

i want to install fast map matching fmm on windows (win7) and cmake has error: after command "cmake .." — Detecting CXX compiler ABI info — Detecting CXX compiler ABI info – failed — Check for working CXX compiler: /cygdrive/c/MinGW/bin/c++.exe — Check for working CXX compiler: /cygdrive/c/MinGW/bin/c++.exe – broken CMake Error at /usr/share/cmake-3.20.0/Modules/CMakeTestCXXCompiler.cmake:59 (message): The ..

Read more

I am very much lost here and could really use some help. I’m working on an Honours project for next year that involves a physics simulation using Bullet and Vulkan for rendering. After a few months of work I have most of the project functioning. It needs a lot of refactoring and cleaning which will ..

Read more

I have a project that uses CMake with a top level CMakeLists which references subdirectories each with their own targets and CMakeLists. Each subdirectory includes src, include dirs. I’m trying to execute Cppcheck on my code base using the following command: cppcheck –project=compile_commands.json –suppressions-list=suppressions.txt –output-file=cppcheck-results.log –xml –enable=all My suppressions.txt file contains a bunch of style ..

Read more