makefile Questions

21

Solved

I had installed OpenCV following these steps. After trying to compile one example, I got this error: OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windo...
Dreyer asked 27/2, 2015 at 23:24

2

While I'm trying to run cmake on windows, I get the error that nmake cannot be found. It is to my understanding that nmake is the default build control software to use in windows but I haven't foun...
Jackfish asked 21/12, 2021 at 21:7

6

Solved

I am running Ubuntu 10.04. Whenever I run make clean, I get this: make: *** No rule to make target `clean'. Stop. Here is my makefile: CC = gcc CFLAGS = -g -pedantic -O0 -std=gnu99 -m32 -Wal...
Scott asked 15/11, 2010 at 7:2

5

Solved

I want to check that an environment variable is set before executing some code in a Makefile. If it's not set I want to throw an error with a simple error message: run: [ -z "$(MY_APP)" ] &&a...
Fuzz asked 29/10, 2019 at 7:37

3

I've got a makefile that has a 'contingency step' to bootstrap the environment if the task is run without prior, critical setup: bootstrap: ensure_opam_switch_once build .ONESHELL: $(FRONTEND_OPA...
Guessrope asked 20/6, 2022 at 16:23

3

Solved

I have the following rule in a makefile: ninja: git clone git://github.com/martine/ninja.git pushd ninja pwd git checkout release ./configure.py --bootstrap popd The idea is to download an...
Fortis asked 30/8, 2015 at 23:37

3

Solved

I'm getting the following issue when trying to run make on the HTK library: (cd HTKLib && make HTKLib.a) \ || case "" in *k*) fail=yes;; *) exit 1;; esac; make[1]: Entering directory '/ho...
Iow asked 7/1, 2019 at 21:58

6

Solved

I have been trying to create a neatly-organized makefile project template utilizing the ARM mbed library. I have already solved a few of the problems (see this post) related to header file paths. H...
Podiatry asked 11/7, 2016 at 5:42

3

Solved

Can anyone help me to run Makefile in windows using "make" command. When I try to run from git bash, am getting following error, $ make build bash: make: command not found $ make deploy b...
Krafftebing asked 8/3, 2021 at 6:4

2

If cc configuration is set to use -Werror is there a way to override -Werror flag from the terminal when using make?
Meuse asked 1/8, 2012 at 0:33

7

I need to activate a conda environment in my makefile in order to run some python scripts, however, whenever I try to run conda activate env_name, I get the following message: CommandNotFoundErr...
Tinner asked 19/11, 2018 at 20:45

6

Solved

Let's say you have a variable in a makefile fragment like the following: MY_LIST=a b c d How do I then reverse the order of that list? I need: $(warning MY_LIST=${MY_LIST}) to show MY_LIST=...
Insistent asked 9/9, 2008 at 19:21

3

Solved

How to define local variable in Makefile target? I would like to avoid repeating filename like: zsh: FILENAME := "text.txt" @echo "Copying ${FILENAME}..."; scp "${FILENA...
Gaikwar asked 14/4, 2021 at 17:27

10

Solved

I am attempting to do the following. There is a program, call it foo-bin, that takes in a single input file and generates two output files. A dumb Makefile rule for this would be: file-a.out file-...
Ursola asked 4/6, 2010 at 10:57

3

Solved

I'm writing a Makefile, and some of the commands the makefile runs require a password. I'd like to give the user the ability to either pass this in as a Makefile variable using make PASSWORD=passwo...
Plasia asked 19/12, 2013 at 0:45

4

Solved

I am trying to get rid of setting LD_LIBRARY_PATH everytime time I run my program. After adding in the library and targeting my executable to the library, when I run it tells me it can not open sha...
Callahan asked 22/5, 2015 at 13:39

6

Solved

In my Makefile, I need to test if the current directory is an SVN repo or not and if it is not I want to indicate an error using the $(error) directive in Makefile. So I plan to use the return val...
Vargas asked 12/9, 2011 at 21:29

12

Solved

Im trying to run a c++ program on github. (available at the following link https://github.com/mortehu/text-classifier) I have a mac, and am trying to run it in the terminal. I think I have downloa...
Knowle asked 22/10, 2015 at 10:32

11

Solved

In a makefile, I'd like to define a variable specifying whether the current redhat-release is greater than 5.3. (This variable will be passed to gcc as a #define) So far I've come up with: # Find...
Tallou asked 16/9, 2010 at 15:49

3

Running Makefile in CLion. The Makefile is of stockfish(chess) and is here https://github.com/official-stockfish/Stockfish/blob/master/src/Makefile I am trying this on a windows 10 system. Why is m...
Hypnotic asked 3/5, 2021 at 22:56

4

Solved

I want to use the include directive only for a specific target. I do not want to run the other makefiles when the target is not needed because it means the makefiles are generated needlessly. So i...
Teresetereshkova asked 17/11, 2012 at 15:48

9

Solved

I'm building a project using a GNU tool chain and everything works fine until I get to linking it, where the linker complains that it is missing/can't find crti.o. This is not one of my object file...
Dakota asked 18/9, 2008 at 10:50

4

I'm trying to install different software onto my Raspberry Pi with Debian Wheezy OS. When I run try to configure software I'm trying to install I get this output checking for C compiler default o...
Soy asked 11/8, 2015 at 13:42

2

The latest version of make has an option --output-sync that can make the STDOUT of each target atomic so that statements from multiple targets are not interleaved when using make --jobs=N Unfortun...
Overweigh asked 21/6, 2016 at 16:12

17

I have reached the end of my rope with CMake; it has so much potential, but I cannot seem to make it find the basic system tools (i.e. make) in order to function. SYMPTOMS CMake and the CMake GUI...
Frutescent asked 26/5, 2011 at 16:7

© 2022 - 2024 — McMap. All rights reserved.