Category "makefile"

PHP installation source

often we get a pack and made configure as habitual. I'm trying to set a dev enviorment with Apache (already installed), SQL and PHP. Curiosly, the PHP introdue

Converting Makefile to CMake cannot find linked shared object

I am attempting to convert a working Makefile into a CMake and need a little assistance. I am trying to cross compile a small program for a yocto device from a

VS Code Mac m1 Debug is not hitting my breakpoints with Makefile conf C language

Hello ! I'm new with using VS Code while programming in C language and I'm trying to debug my program with the "Makefile Tools" plugin but it doesn't seem to co

How do you set compile flags in CMake?

I'm writing a project using the Slate linear algebra library in C++, with MKL, MPI and OpenMP as dependencies. Usually, I run my program on a Linux based system

Raylib Makefile Issue

I've install raylib according to this wiki page. My Project Folder is look like this: [this][1] > ..\build>mingw32-make g++ ../main.cpp -o test.exe -O2 -

Cross-compiling the gettext library: error when relinking for armv7a

I'm trying to cross compile (for armv7a and aarch64, android) the gettext library (dependency for glib). The configuration and compilation is successful, but du

LNK1117: syntax error in option 'VERSION:.' with qmake

On Qt5 project using Microsoft compiler, the qmake .pro project file have DATE = $$system(wmic os get LocalDateTime > $$OUT_PWD/wmic.txt) DATE = $$cat($$OUT_

How to hide a console in makefile

I am making something in Raylib C++ and every time I open the .exe file, the console and the raylib window opens up. How can stop/hide the console from opening

Compile microsoft rpc server with nmake: Error LNK2001: unresolved external symbol Output

Dear fellow programmers, Currently I am working on implementing a Microsoft RPC server / client program on Windows. Using nmake, I managed to compile the client

GMP works when compiling with makefile but not with cmake

I am trying to include <gmp.h> in my project. A very simple Makefile compiles it successfully: CC=gcc -std=c11 -w LIBR=-lm -lgmp FLAGS=-O0 all: test tes

Makefile error trying to use a template to compile multiple programs with similar steps

I am trying to create a makefile that can compile multiple programs. It has a list of programs and will compile each one separately. Every program has pretty mu

What are LOCAL_HEADER_LIBRARIES in Android.mk?

While generating a new library we can specify dependencies in Android.mk .For Example there are header dependencies which can be specified in LOCAL_C_INCLUDES,

Installation of taichi legacy branch on ubuntu 20.04

I am willing to work with code spgrid_topo_opt which needs taichi legacy to be installed first. To install taichi legacy following the instruction on the page I

llvm/Support/TargetRegistry.h: No such file or directory

I have this error when I make project in WSL(Ubuntu 20.04). And I have installed LLVM and Clang.Hou should I do? Kconfig Makefile README.md build configs i

@echo in Makefile always causes error " *** missing separator. Stop."

I put @echo "============= $(TOOLPREFIX) =================" in line 34 of Makefile of xv6 used by many OS courses, in hope of printing out the value of variabl

Makefiles: What is an order-only prerequisite?

The GNU make manual introduces order-only prerequisites: target: prerequisite1 prerequisite2 | orderonlyprerequisite1 orderonlyprerequisite2 However, while tha

how to find the dependencies of a source code?

Let say I have a simple c-library project, the layout is as follows - src/ - square_root.c - log.c - power.c - newton_method.c - include

modify ld library search path on cluster (no root access)

I am compiling gcc 8.5 from source on a linux cluster in my home directory (no root access). I have exported -L/MYHOME/lib/' to CFLAGS, LDFLAGS, LD_LIBRARY_PATH

Arquivo make file para entrar em pastas [closed]

I have a MakeFile file in the following way: conf: cd teste nano teste However, when i execute make conf, he does not enter in the di

How to fix error 'make g : command not found'?

I got following error. make g device/My_Kernel.cl -v My_Kernel.aocx make: g: Command not found Makefile:158: recipe for target 'My_Kernel.aocx' failed make: [M