Questions tagged as 'makefile'

1
answer

Makefile: dependencies and objectives with the same name, varying the route

I'm trying to process files using the GNU Make tool. The goal is to generate files with the same name , but in different routes . When this decides to work, I will use it as a template to apply a word processor , and be able to...
asked by 21.04.2017 / 10:28
1
answer

Linking multiple files

I was doing tests with a couple of files that are planned to be an attempt of script that can be started in bootloader . In principle to link between the 2 files that made the executable ( kernel.c and loader.asm ) wit...
asked by 29.07.2017 / 13:30
2
answers

Segmentation fault (core dumped)

I'm working with makefiles, when compiling the following code, the random option works perfectly, but in the option to enter the matrix using the keyboard, this Segmentation fault (core dumped) comes out, could you tell me why this is wro...
asked by 25.05.2016 / 16:17
1
answer

Linker does not link

I'm trying to compile a package; specifically, the plugin gkrellm-leds for gkrellm . I downloaded the sources from packages.ubuntu.com/source/zesty/gkrellm-leds . After compiling and installing it, it does not work. The progra...
asked by 29.05.2017 / 07:52
1
answer

error when compiling main c ++ file

There is an error that has come up to me several times, I have modified the classes to remove that error, but it keeps coming out when executing the main, I do not know what it is referring to, we appreciate help. this is the main code: #in...
asked by 27.09.2017 / 01:27
1
answer

Makefile does not find .hpp

I have 2 folders in my project, 1 called Builds containing the Makefile and a test program (test-P0-console.cpp) and another called P0 with the date and string classes (date.hpp / cpp and string. hpp / cpp). The test-P0-console.cpp file includes...
asked by 17.03.2017 / 18:20
0
answers

Error compiling OpenGL project

I was programming a project in C ++ with OpenGL that worked before I had to reinstall Ubuntu. After reinstalling Ubuntu, I installed the libraries using the following commands in the terminal:    sudo apt-get install freeglut3 freeglut3-dev...
asked by 24.06.2018 / 17:29
0
answers

CMake and pkg-config

I have no experience creating files CMakeLists.txt to compile my project and I was trying to do one for the first time. Originally, from the command line, I compiled the project in the following way: g++ -Wall -std=c++11 src/main...
asked by 24.01.2017 / 20:29
1
answer

Error calling a function in c

I have the .c file with the function I want to invoke #include <stdio.h> #include <string.h> #include <stdlib.h> #include "entrada_minishell.h" void imprimir_prompt() { printf("minishell> "); fflush(stdout);...
asked by 02.05.2018 / 12:19
1
answer

I can not find the android folder emulated / 0 /

I am creating a public file in an android route, I have followed the steps of the android developer web. I try to create a folder in pictures, I have refined and everything works fine, but when I see the cell phone I can not find the folder....
asked by 04.11.2017 / 18:36