Questions tagged [cmake]

CMake is a cross-platform, open-source make system.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Remove Boost Directory from Cmake

I am on Ubuntu 18.04 and have run into a lot of dependency issues, especially with Boost, since I had two versions of Boost- 1.65 and 1.72. I have successfully removed both versions of Boost. However, ...
0
votes
1answer
58 views

cmake installation

I am trying to install cmake on ubuntu 20.04 sudo apt isntall cmake everything starts fine, but downloading of package stuck Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 cmake-data all ...
0
votes
0answers
10 views

Compiling Cassandra client on Ubuntu 18.04

I'm trying to compile the Cassandra client on Ubuntu 18.04. The operating system is installed using default settings, but almost all of my code needs to be compiled from source and maintained ...
0
votes
1answer
27 views

Make file wrong for building libbot2 library

Let me describe my problems. So far I was building the MPNet which requests the libbot2 library. MPNet GitHub libbot2 GitHub I have installed the requirement libraries as followed: GLib 2....
0
votes
1answer
94 views

Install cmake 3.17 failed,CMake has most likely not been installed correctly

Ubuntu 18.04 past cmake version 3.10.2 After I have install cmake with sudo make ,sudo make install,and cmake --version (base) lzw@resplendent-star:~/3d_lib/cmake-3.17.1$ cmake --version CMake ...
0
votes
0answers
40 views

Qt5.4: libQt5.4OpenGL.so.5.4.2 error adding symbols: File in wrong format

I am building a cpp based codebase (COLMAP: https://github.com/colmap/colmap) using cmake build system. When I run the make command, I get the following error: Qt/5.4/gcc/lib/libQt5OpenGL.so.5.4.2: ...
0
votes
1answer
29 views

cudnn 7 confliction problem in compiling tvm with cuda 10.0, ubuntu 18.04

I am using ubuntu 18.04 (x64), I installed cuda 10.0 with cudnn 7.6 (as suggested by Nvidia) and nvidia driver 410. I am trying to build tvm-7.0 with cuda, but Im getting the following error: -- ...
0
votes
0answers
57 views

Issues with building matplotlib-cpp

I downloaded the matplotlib-cpp And I created a CMakeList.txt to build it. Contents of CmakeList.txt project(myproject) find_package(Python2 COMPONENTS Development NumPy) target_include_directories(...
0
votes
1answer
66 views

cmake installation from bin file

I ran a cmake-3.17.0-rc2-Linux-x86_64.shscript on Linux and now have a cmake-3.17.0-rc2-Linux-x86_64 folder with the folders bin man doc share. From here, how do I install cmake? When I type cmake, I ...
0
votes
0answers
74 views

Installing libmodbus in Ubuntu 16.04

I am trying to install libmodbus on ubuntu 16.04. I follow the directions in this page. https://libmodbus.org/download/ I get following error when I run the command command: ./configure &&...
0
votes
0answers
438 views

A required library with LAPACK API not found. Please specify library location

I’m trying to install ESTER and I keep getting this error message. I've already installed BLAS and LAPACK libraries. Any ideas? $ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/usr -- A library with BLAS API ...
3
votes
2answers
1k views

Installing latest cmake on Ubuntu 18.04.3 LTS run via WSL: OpenSSL error

Using CLion on Windows (a C++ IDE), I'd like to install the latest version of cmake on Ubuntu 18.04.3 LTS run via WSL (the current version of CLion requires cmake > 3.15, while I have only version 3....
0
votes
1answer
221 views

make directory permission denied

make[2]: Entering directory '/home/nabi/fftw-3.3.8/api' make[3]: Entering directory '/home/nabi/fftw-3.3.8/api' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/local/include' /...
0
votes
0answers
122 views

CMake Error (find_package) - compilation Geant4 example

CMake Error at CMakeLists.txt:14 (find_package): By not providing "FindGeant4.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Geant4", ...
0
votes
0answers
28 views

ccmake on vitualbox - “window is too small. a size of at least 65*6 is required to run ccmake”

I am trying to run ccmake GUI on Ubuntu 18.04 (virtualbox 6.1 on Windows 10). However, such error appeared: "window is too small. a size of at least 65*6 is required to run ccmake". Any hint how to ...
-1
votes
1answer
230 views

Installing cmake3.9 in ubuntu18.04

How to install cmake 3.9 or higher version in Ubuntu 18.04? I am using: sudo apt-get install cmake And then trying to check version using: cmake --version All I am getting is: cmake version 3.5.0-...
0
votes
2answers
350 views

How do I install and build Generic Mapping Tools version 6.0.0 or above?

I tried to install generic mapping tools v6.0.0 according to instructions. I failed to install it. I thought I carried out installing and building GMT v6.0.0. gmt not found, but can be installed with ...
0
votes
1answer
31 views

Unable to install GATE software using “make install” command - “— Up-to-date:” related error

I am installing GATE 8.2 (a Geant4 based software) on my Ubuntu 18.04.3 system, following instructions given in GATE website. Everything works fine but in last stage of the GATE software can't be ...
0
votes
0answers
73 views

Error when trying to install cmake

I get this error message when trying to install cmake. Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: ...
2
votes
1answer
175 views

Why does pip not install the latest CMake on Ubuntu

As you can see on https://pypi.org/project/cmake/, this is not the latest version. On Windows, it's work as expected. Is it a bug or something? root@85acafdb63d3 /app# pip3 install cmake Collecting ...
0
votes
0answers
101 views

“NSS headers not found” error while building evolution-data-server-3.34.1 using cmake

I am installing Evolution Data Server from source using cmake by following command: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DWITH_OPENLDAP=OFF -DWITH_NSPR_INCLUDES=/usr/inclue/nspr/ .. ...
0
votes
0answers
23 views

OpenLDAP Error while making evolution from source bu cmake

I am installing Evolution on my ubuntu from source, using cmake. based on guide provided in (Evolution git-hub page) I run this command: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. It ...
0
votes
0answers
153 views

CLion won't track compiler via WSL

downloaded compiler and everything. Tho for some reason it downloads only cmake 3.10 and I need 3.15. I updated it following this guide How do I install the latest version of cmake from the command ...
0
votes
0answers
41 views

Running CMake through GUI - After identical reinstall of Ubuntu, cmake-gui throws an error and does not launch

I've been reinstalling Ubuntu on my server a bunch of times, as I've inadvertently mucked something up every time, and found it easier to just do a fresh install. Now, for some reason, after doing a ...
3
votes
1answer
729 views

How to build swig on ubuntu?

I am trying to install swig on ubuntu 16.04 as it is required for building opencv for android. I found a guide to do this: git clone https://github.com/swig/swig.git cd swig ./autogen.sh ./configure ...
0
votes
1answer
56 views

I'm installing opencv in ubuntu 16.04. After installing the necessary prerequisites I used the following command:-

avi@avi-VPCEB46FG:~$ cd ~/opencv avi@avi-VPCEB46FG:~/opencv$ cd build avi@avi-VPCEB46FG:~/opencv/build$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local .. During the installation ...
0
votes
1answer
539 views

/usr/bin/ld : cannot find -lCUDA_cublas_device_LIBRARY-NOTFOUND

I get the following error while installing a GPU pytorch library. cmake .. has been compiled correctly but l do make -j4 l get the following error [ 98%] Building CXX object caffe2/CMakeFiles/...
1
vote
1answer
3k views

How to install cmake 3.14 on ubuntu 18.04

My version of Ubuntu is 18.04,I want to install the latest version of Cmake.However,I just can find the example on Ubuntu 16.04.Because I am a beginner,I want to know if I could follow the example....
1
vote
1answer
1k views

how to solve No CMAKE_Fortran_COMPILER could be found.?

how to solve No CMAKE_Fortran_COMPILER could be found. ? CMake Error at CMakeLists.txt:3 (project): No CMAKE_Fortran_COMPILER could be found. Tell CMake where to find the compiler by ...
1
vote
1answer
342 views

CMake can't find source dir when run from bash script in WSL

I'm running the Ubuntu version of Windows Subsystem for Linux. In there I've set up a simple cmake project and created a script to save me from typing out cmake -G "Unix Makefiles" -...
0
votes
0answers
57 views

How to install the latest version of Cmake? I had Cmake 3.5, after removing and again installing Cmake, I am getting the same older version only [duplicate]

smaash@smaash-Default-string:~$ cmake --version cmake version 3.5.1 CMake suite maintained and supported by Kitware (kitware.com/cmake). smaash@smaash-Default-string:~$ sudo apt remove cmake Reading ...
1
vote
0answers
281 views

Ubuntu 16.04 OpenFOAM-7 ParaView Installation Error CMake Error at VTK/CMake/vtkQt.cmake

I'm following the build guide provided by OpenFOAMenter, but I am having issues with an error that occurs when I try to compile ParaView: $ ./makeParaView CMake Error at VTK/CMake/vtkQt.cmake:6 (...
1
vote
1answer
179 views

How do I fix “cannot find -lccp4c” to install Gromacs with Density Fit?

I am trying to install gromacs 5.0.7 with automated desnity fitting according to the protocol provided at the bottom of this link: https://www.mpibpc.mpg.de/grubmueller/densityfitting Unfortunately, ...
0
votes
0answers
109 views

CMake error while installing Bullet Physics (PYTHON_LIBRARY set to NOTFOUND)

Hello everyone I'm trying to install Bullet Physics in my Ubuntu 18.04 LTS. I managed to install cmake successfully, but as soon as I try to run ./build_cmake_pybullet_double.sh it shows me the ...
0
votes
0answers
557 views

CMake: Not Found Tcmalloc: Tcmalloc_LIBRARY-NOTFOUND

I am trying to execute CMake in a C++ project which uses Tcmalloc. The vm is new and I tried to install first sudo apt-get install libgoogle-perftools-dev Which upon other things it installed ...
0
votes
0answers
226 views

Can't convert vcxproj to cmake with the cmake-converter

I am using the cmake-converter tool from this link to convert a .vcxproj file to cmake to be able to use it with Clion. I am in the folder where the vcxproj file is located and I run the following ...
3
votes
2answers
754 views

Managing dependencies for GNU radio to compile from source

Ettus research gives a big list of dependencies for 18.04 which almost works for compiling gnu radio from source. cmake gives the following config error: -- Python checking for PyQt5 - found -- ...
1
vote
1answer
878 views

No rule to make target '/usr/lib/x86_64-linux-gnu/libEGL.so'

I am building a cmake project in C++ on ubuntu 16.04. I get this error when I build my project : make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libEGL.so', needed by bin/worker The ...
1
vote
0answers
302 views

Including SOIL library with find_package

I have been porting my old OpenGL application to Ubuntu and stumbled across this problem. I can't figure out how to properly import SOIL library. I use CMake and I'd like to use the standard ...
0
votes
1answer
862 views

Unable to install CMake on Ubuntu 18.10

I can't install CMake on Ubuntu 18.10 because I get an error: Ign.:1 http://pl.archive.ubuntu.com/ubuntu cosmic-updates/main amd64 linux-libc-dev amd64 4.18.0-17.18 Błąd:1 http://security.ubuntu.com/...
3
votes
2answers
647 views

OpenCV compiles correctly but fails during .deb packaging

Attempting to follow some tutorials on building a .deb package for a newer version of OpenCV in Ubuntu 18.04. Here are my steps: wget https://github.com/opencv/opencv/archive/4.1.0.zip unzip 4.1.0....
0
votes
0answers
121 views

Error while using make

hello i'm new to linux and currently using Ubuntu 18.04.2 LTS. When I performed 'make' command to install nvclock program , the terminal showed me this error: make -C src all make[1]: Entering ...
1
vote
0answers
763 views

Install gcc, g++ and cmake3

How can I install gcc6.4, g++6.4 and cmake3 on Ubuntu 14.04? I want to rewrite below lines that run on Linux to be run on Ubuntu $ yum install gcc64-c++ libcurl-devel $ export CC=gcc64 $ export CXX=...
0
votes
1answer
2k views

How to Upgrade CMake in ARM based Ubuntu?

I managed to upgrade CMake on my PC following this link How to upgrade cmake in Ubuntu . But now I want to upgrade CMake on my Nvidia Jetson TX2 which is ARM architecture based and the steps on that ...
1
vote
1answer
165 views

Error: Cannot find -lNrrdIO

I am trying to install NrrdIO on Ubuntu 18.04, to run Marching Cubes to segment medical images. This is the link from which I'm trying to run it. http://web.cse.ohio-state.edu/research/graphics/...
0
votes
0answers
354 views

How to make cmake use my newly installed Qt on the home folder?

My Qt was installed on /home/lz/Qt5.11.2/. ls /home/lz/Qt5.11.2/5.11.2/gcc_64 bin doc include lib libexec mkspecs phrasebooks plugins qml qtvirtualkeyboard resources translations I tried ...
0
votes
0answers
940 views

OSError: [Errno 13] Permission denied

I updated cmake from 2.8 to 3.51 I used this: sudo apt-get remove cmake sudo apt-get update sudo apt-get upgrade sudo apt-get install cmake3 finallly apt-cache search cmake but output step 5: ...
1
vote
0answers
1k views

“cmake --version” points to /usr/bin/cmake while “which cmake” points to /usr/local/bin

I am trying to upgrade cmake on my linux computer. Here is the command I used sudo apt purge --auto-remove cmake After downloading and extracted cmake-3.13.3.tar.gz ./bootstrap make sudo make ...
0
votes
0answers
4k views

CMake version 3.13.2 using Ubuntu 18.04.01 LTS

I have removed all CMAKE versions from my Ubuntu file directory. But when i'm giving the command cmake --version I get that CMake version is 3.13.2. How can I find the below cmake version in my file ...
1
vote
1answer
896 views

Error while building zephyr with cmake

im using ubuntu 18.04 and im getting this error while executing the first program helloworld ...

1
2 3 4 5 6