Skip to main content

Questions tagged [cmake]

CMake is a tool to manage building of source code, mainly used for the C and C++ languages.

0 votes
0 answers
150 views

How can I configure Visual Studio as the default CMake generator?

I have configured Visual Studio to use CMakePresets.json for CMake settings, not CMakeSettings.json: My CMakePresets.json does not explicitly specify any generator: { "version": 3, &...
StoneThrow's user avatar
  • 1,207
0 votes
0 answers
50 views

Does Visual Studio Code have an equivalent to CLion's CMake Profiles?

I'm following along this tutorial to learn CMake. In the tutorial, the instructor demonstrates encapsulating the setting of a CMake variable (i.e. a -D command line argument) in the Settings > ...
StoneThrow's user avatar
  • 1,207
0 votes
0 answers
131 views

Cross compiling ffmpeg: error while adding libopus: undefined reference to `__memcpy_chk'

I have set in the cmake file the following: set(STACK_PROTECTOR_SUPPORTED 0) set(FORTIFY_SOURCE_SUPPORTED 0) However ffmpeg configure fails at this point: (from config log) ... ... rnx/...
Rajib's user avatar
  • 3,106
0 votes
0 answers
129 views

How to tell autoconf to run specific commands in with 'make install'

I am on OSX 12.6.8, and I succesfully generated a makefile by using autoconf by creating configure.ac and makefile.am as indicated in this tutorial By running autoconf, then ./configure and make, my ...
Pascal's user avatar
  • 1
0 votes
0 answers
58 views

How do I install libraries if I don't have the config file

How do I install the libraries if I don't have the config file, and in addition to not having the configure file, they come with an extension. I have followed the instructions, I have placed the ...
Emm ou's user avatar
  • 1
-1 votes
1 answer
15k views

What exactly cmake say: /usr/bin/ld: cannot find -ledit or /usr/bin/ld: cannot find -lcurses?

I am using ubuntu 20.04. I am doing debugging of building with cmake. What exactly cmake say: /usr/bin/ld: cannot find -ledit, i.e.what is ledit? What is /usr/bin/ld: cannot find -lcurses exactly? I ...
Dmitriy Ogureckiy's user avatar
0 votes
1 answer
952 views

How to pass custom CMake option to a KDE debian package

I want to enable CMake option KIMAGEFORMATS_HEIF (from this MR) in the ubuntu 22.04 package kimageformat-plugins.
eddygeek's user avatar
  • 191
0 votes
2 answers
345 views

Where are Cygwin Packages Installed?

I've recently installed cygwin64 on my Windows 10 machine in an attempt to build a project using cmake (Through CLion). The project has lz4 as a dependency and when running the cygwin setup, there's a ...
waveform_tinker's user avatar
1 vote
2 answers
318 views

GpgmeppConfig.cmake not found

I am using Craft for building Linux applications in Windows, but the following error occurs when building a Linux application: CMake Error at CMakeLists.txt:44 (find_package): Could not find a ...
MUHAMMAD KASHIF's user avatar
0 votes
1 answer
110 views

Could not install owa-epanet in python

I am new to python. I need to install owa-epanet on my computer, so I used the code pip install owa-epanet. But it returned the error shown below: C:\Users\Ziyuan>pip install owa-epanet Collecting ...
Ziyuan  Cai's user avatar
0 votes
1 answer
67 views

How can I get passed this zipHMMlib build error on Ubuntu?

I've installed the latest Ubuntu Server on an Oracle VirtualBox 64-bit machine instance, with host machine Windows 10 and 64-bit OS. I installed a "slim" desktop environment using a random ...
SeekingAMathGeekGirlfriend's user avatar
1 vote
1 answer
2k views

How to install CMake from binary distribution on Linux

I've downloaded an already compiled binary distribution of CMake from this link. The package contains a bin, doc, man and share folders. I can unpack them and use them directly from a specific folder, ...
José Tomás Tocino's user avatar
0 votes
1 answer
412 views

Trouble with imlib2 while installing Tint2

I'm trying to install Tint2 dock through its git repository on, Linux Mint. Following the instructions, i got to the cmake .. part, ran it, and received this output after a while: -- Checking for ...
delyodobrev's user avatar
0 votes
0 answers
96 views

Proper way for cmake to look for installed third-party include files

Pardon my very newbie question - I want cmake to look in “standard” system locations for installed third-party headers - how to do that in a "modern" portable way? The variable ...
Tomasso's user avatar
  • 143
2 votes
0 answers
161 views

CMAKE_SYSTEM_INCLUDE_PATH - has just one path, for X11? [closed]

Running on Ubuntu 18.04, cmake version 3.18.0-rc2. From documentation I expect CMAKE_SYSTEM_INCLUDE_PATH to hold a list of directories including /usr/include, /usr/local/include, etc. : Semicolon-...
Tomasso's user avatar
  • 143

15 30 50 per page
1
2 3 4 5