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...
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...
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...
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...
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...
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...
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...
2
If cc configuration is set to use -Werror is there a way to override -Werror flag from the terminal when using make?
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
© 2022 - 2024 — McMap. All rights reserved.