Questions tagged [cmake]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
10 views

Trouble updating G++ to version >5 using apt-get in Windows Subsystem for Linux

Context: I'm trying to run CMake as described here (under Linux-installing dependencies > Building OpenVDB). I'm in WSL. When I do so I get this error: CMake Deprecation Warning at CMakeLists.txt:...
0
votes
1answer
61 views

Cmake 3.17 can't run bootstrap because **fatal error: config.h: No such file or directory**

Please note: I'm using the WSL Ubuntu app on Win10. I downloaded the CMake 3.17.1 Linux/Unix Source from CMake.org | Downloads and followed the instructions on CMake.org | Install. I ran the ./...
0
votes
0answers
89 views

How to fix cmake error on payday 2 super blt source in debian buster

I have debian 10 running on a virtual machine inside windows 10. I have installed build-essential, openssl, libssl-dev, libcurl4-openssl-dev, and cmake. I am trying to have cmake generate a makefile ...
0
votes
0answers
68 views

What is the PCL version used under pcl_ros package?

I want to use pcl::cuda and pcl::gpu classes under PCL 1.9, but with ROS Kinetic I got PCL 1.7 by default.How can I get a pcl_ros package having PCL 1.9 bundle?
0
votes
0answers
138 views

Error: no kernel image is available for execution on the device

I am trying to use a library written in CUDA in my own C++ program. As I call the functions of this library, I get the following errors - Error: no kernel image is available for execution on the ...
1
vote
0answers
187 views

trying to configure cmake on windows 10

Please help me out with this error when am trying to configure CMake... am getting this error on Windows 10: CMake Error at cmake/OpenCVFindLibsGUI.cmake:18 (find_package): Could not find a package ...
0
votes
1answer
835 views

The C compiler “/usr/bin/clang” is not able to compile a simple test program

Why does my C compiler (Clang) fail to compile a simple test program when opening a CMake project in CLion? I'm trying to setup CLion to run with CMake, Ninja, Clang and Clang++. To test it I tried ...
0
votes
0answers
40 views

Shared libraries not appearing in Intel VTune analysis

I'm trying to profile a running application by running Intel VTune on Windows and by remote-connecting to the Linux Docker the program is running on. When I end an analysis and that results are being ...
0
votes
0answers
455 views

'CMake test failed with errors' in CLion

Every time I try to build a project in CLion, regardless the toolchain, this error appears: -- The C compiler identification is GNU 8.1.0 -- The CXX compiler identification is GNU 8.1.0 -- Check ...
0
votes
1answer
125 views

Cmake could not find Eigen3 on HPC

I met the same error as (https://stackoverflow.com/questions/12249140/find-package-eigen3-for-cmake) when trying to install fenics-dolfin on the HPC clusters. According to @Johannes S., simply using ...
0
votes
0answers
663 views

Error: C compiler identification is unknown with Cmake 3.15.1 and Visual Studio 2019

I am trying to build project in Visual Studio 2019 environment with Cmake. But I am getting following Error, C:\Program Files (x86)\Jenkins\workspace\xyz\build>call "C:\Program Files (x86)\...
0
votes
0answers
75 views

Importing a very large CMake project into Clion

Working with a very large preexisting CMake project. The project has 38000 files in it with 274 CMakeList.txt files. What I am experiencing is the failure to build and subsequent failure to load the ...
0
votes
0answers
89 views

Error Unable to start program…\\debug\ALL_BUILD. access is denied. For compiling an example of CGAL?

I'm trying to add CGAL to visual studio 2017 on the Windows platform. I did all the steps according to https://www.cgal.org/download/windows.html#BuildingCGAL. In step building an example, I can not ...
0
votes
0answers
61 views

CMake Build Error for WrnchAI/ OpenCV

Im currently working on a project concering pose estimation in combination with Humans + Robots. To do so, i want to try WrnchAI instead of OpenPose. The Demo is just working fine, either on GPU/ CPU....
0
votes
1answer
26 views

gcc version is different when using sudo

I have two versions of gcc installed on my CentOS7 machine: 4.8.5 and 8.3. If I do: $ gcc --version I get 8.3 If I do: $ sudo gcc --version I get 4.8.5 How can I get sudo commands to also use 8.3 ...
1
vote
1answer
174 views

Why is my yaml build failing test? yaml-cpp-0.6.0: handler_test.cpp:(.text+0x9f2): undefined reference to `testing::internal::GetWithoutMatchers()'

When I install the astronomy software purify. It needs a latest version of yaml like yaml-cpp-0.6.0 I didn't encounter any errors, standard output is like -- The C compiler identification is GNU 7.3....
0
votes
0answers
55 views

cmake find_file finds wrong file

I'm trying to make a cmake option to use the precompiled library or the (uncompiled) source. The folder structure looks like this: /my_dir/ /my_dir/src/xxx.cmake /my_dir/lib/xxx.cmake set(...
0
votes
0answers
80 views

CMake CMakeLists.txt not interpreted in sub directory

i'm quite new to cmake and have a really basic question. In my company i took over a cmake project. This project has several CMakeLists.txt files in each subdirectory. Now i did add a new ...
0
votes
2answers
186 views

Issue on compiling config.guess from llvm project source with cmake on cygwin

It seems like my compiler is not adapted to the syntax on the file config.guess and it keeps getting errors. The URL from which I downloaded the source is llvm project or more specifically problematic ...
0
votes
0answers
42 views

Cmake using chinese single quotation marks

I'm using wsl with clion coding cpp program. When a error occurred, cmake using chinese single quotation marks result in gibberish in messages of clion like below: error: expected 鈥�;鈥� at end of ...
1
vote
0answers
96 views

CMake stays at old version after upgrade

I was trying to upgrade cmake 3.3.2 on Ubuntu 16.04.6 using following command line sudo apt upgrade cmake The terminal outputs indicate that version 3.5.1 is successfully installed. However, when I ...
0
votes
1answer
218 views

NDK r20 embedded toolchain fails on MacOS

I am trying to build libzmq for Android using CMake and the toolchain embedded in the NDK. My system is MacOS 10.14.3 I freshly downloaded the latest NDK [r20] but the problem was here already with ...
0
votes
0answers
28 views

Compatibility of code between 2 laptops & CMake

I am syncing my code between a desktop and a laptop, but when I try to build the program in my laptop I get the following error message: CMake Error: The current CMakeCache.txt directory /home/...
1
vote
2answers
3k views

OpenCV Failed Compilation “Eigen/Core: No such file or directory” — Cannot Change CMake Entry

I'm trying to install OpenCV but when I try to compile using CMake, I always get the error stated in the question, usually around 4% - 6%. [ 6%] Building CXX object modules/core/CMakeFiles /...
1
vote
0answers
493 views

Building Caffe CMAKE errors

I'm trying to build and install caffe for DIGITS on ubuntu 18.04 , following these steps : 1- git clone https://github.com/NVIDIA/caffe.git 2- cd caffe/ 3- mkdir build && cd build/ 4- ...
0
votes
0answers
920 views

What is “ DWARF error: could not find abbrev number 67”

I am trying to build library with cmake tool chain but facing with "bin/ld: DWARF error: could not find abbrev number 67" Could someone explain in which consequences this would occur
0
votes
1answer
54 views

Can Alpine3D's code be compiled following their instructions?

I have been attempting to run Alpine3d for a personal project to model wind-drifted snow. This software uses 3 main libraries of code (each of which are open source projects of the SLF): MeteoIO, ...
1
vote
1answer
153 views

Cmake unknown command

cmake version 3.7.2 CMake Error at CMakeLists.txt:1 (INCLUDE_SUBDIRECTORY): Unknown CMake command "INCLUDE_SUBDIRECTORY". CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command ...
1
vote
1answer
599 views

tar on windows fails to extract symlink out of archive

While trying to install GTK with vcpkg it fails to extract libexpat-libexpat-R_2_2_6.tar.gz: Building package expat[core]:x64-windows... -- Downloading https://github.com/libexpat/libexpat/archive/...
10
votes
1answer
2k views

Can CMake stop at the first error?

It's all in the question. When cmake encounters an error, sometimes it does not stop instantly but continues to process all CMake files. It is only at the end of the treatment that we learn that there ...
3
votes
1answer
4k views

ERROR: Dependency “mount” not found, tried pkgconfig and cmake Linux while trying to install glib-2.60.0

Runing the following command from a terminal: sudo python3 meson _build : **The Meson build system** Version: 0.50.0 .... Checking for function "ngettext" : YES Checking for function "...
1
vote
0answers
2k views

Conda gcc/g++ did not replace system (linux) gcc

I'm using a Linux system (in which I don't have sudo access) which already had gcc installed. I have to run some software, which requires stuff like cmake, bison and flex, and I installed them with ...
1
vote
1answer
924 views

Configure build process in CMake's ExternalProject_Add

I have a C++ project (Superproject) that depends on another project I have no control over (Subproject). To be able to build my project I need to build first the Subproject and then the Superproject, ...
2
votes
1answer
5k views

How to force `yum reinstall` to overwrite changed files in a `/var` sub-directory?

I have a software package[1] that is already being used by multiple users. Its RPM is created with Cmake. For historical reasons, the software package installs some files in a subdirectory of /...
3
votes
1answer
227 views

Having trouble building gcc (libiberty obstack.c won't compile)

I'm running openSUSE 11.4, which is kinda old, so I'm trying to build some updated dependencies for another thing I want to build. I've downloaded the source for gcc-6.4.0 (also tried the latest - ...
1
vote
0answers
631 views

Why can't I find visual studio generators in cmake?

I am trying to install clang by creating a .sln file using cmake. To generate the file I used this command inside the build directory: cmake -DLLVM_ENABLE_PROJECTS=clang -G "Visual Studio 15 2017" -A ...
1
vote
0answers
37 views

error: cannot convert ‘boost::shared_ptr<permlib::Permutation>’ to ‘bool’ in return return repr;

I am very new in linux and trying to install SymPol in linux. SymPol requires Boost in version 1.34.1 or higher GMP with both C and C++ bindings CMake in version 2.6 or higher I installed these 3 ...
0
votes
1answer
1k views

Cmake on ARM (arm-none-eabi) - configuration

I use cmake to compile my project for arm cortex m3 (arm-none-eabi-). I would like to add the following options: 1.) the linker should generate a .map file of the binary. 2.) make (Unix Makefiles) ...
1
vote
0answers
223 views

cmake error encountered when build clang-query

I encountered the following error when I was trying to build clang-query. parallels@ubuntu18:~/myllvm/llvm/tools/clang/tools/extra/clang-query$ cmake . -- The C compiler identification is GNU 7.3.0 --...
1
vote
0answers
51 views

Cmake asks me to set EmotivSDK_LIBRARIES but I don't know where they are [closed]

I am using Windows 10. While I was generating an LSL for emotiv it showed me this error: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them ...
0
votes
1answer
1k views

Build failed at Cmake while building native module

I am building a cordova project which requires cmake for building the native modules for android. Everything was working well and the build was successful but after upgrading the cmake to 3.10.2 on ...
1
vote
1answer
738 views

How to fix undefined references to Qt5 lib with CMake in ubuntu-based docker?

I'm trying to run a Qt project with CMake in an ubuntu 18.04-based docker container. When I run the cmake and make commands for my project, I get the following errors. /usr/local/Qt-5.12.0/lib/...
1
vote
2answers
1k views

cmake environment error with clion

I downloaded MinGW/cygwin/mingw-w64 not one of them work. I can't find the issue, every time CMake - Bundled "!Does not work in this environment". I watched youtube for clion-setup more than one. I ...
0
votes
0answers
206 views

CMake Error 2 when trying to build an apk

When I try to build an APK with CMake on Ubuntu, it says that it failed to sign and gives me an Error 2. Im trying to build DualBootPatcher, if this is necessary. [ 9%] File signing target '...
0
votes
1answer
73 views

UIC doesn't output to a file

It just doesn't. I'm fairly certain this is an issue with my computer, possibly due to the path variables, because I get the same problem with qt 5.11 as well as qt 5.12. It also seems like I'm not ...
1
vote
1answer
66 views

How to fail if a certain program is run?

I am using cmake-conan to call conan during my build (on Ubuntu 16.04). However now I want to test that certain builds do NOT call conan. cmake-conan calls conan in this fashion: execute_process(...
1
vote
1answer
663 views

gentoo - Disable parallel build for llvm

I have Gentoo installed on computer with relatively small amount of RAM (1 GB). When I install llvm (emerge -a llvm), the computer always goes out of memory. All 4 cc1plus processes are using about 25 ...
2
votes
0answers
2k views

Building using CMake within Conda environment

I have a resource constrained lab machine (thats not controlled by me), which basically only allows me to write to an external hdd. I need to compile my class project using boost and pcl. My ...
0
votes
1answer
588 views

make install error when compiling a program with cuda

I am trying to compile THIS program for my ubuntu system using the master source. I have installed the AMDGPU-PRO drivers and the AMD 3.0 SDK drivers via the basic install instructions on AMDs website....
0
votes
1answer
2k views

CMake error when creating project in CLion

I recently uninstalled Cygwin and switched to using MinGW as my toolchain. I installed the required packages; I triple checked to make sure that mingw32-make, mingw32-gcc and mingw32-gcc-g++ are all ...