Questions tagged [linker]
In computing, a linker or link editor is a computer utility program that takes one or more object files generated by a compiler or an assembler and combines them into a single executable file, library file, or another 'object' file.
11 questions
1
vote
0
answers
116
views
Linker missing using Arduino IDE
I use the Arduino IDE 1.8.5 and it seems the linker disappeared. The error messages are:
arm-none-eabi-g++: warning: {compiler.optimization_flags}: linker input file unused because linking not done\
...
0
votes
1
answer
85
views
Inconsistent behavior of include statements?
This question deals with fonts. Well, actually, singular include files with constants that form bitmap fonts or images for LCD or OLED displays, such as this one: https://github.com/ThingPulse/esp8266-...
-1
votes
1
answer
112
views
Initializing an object as class member resulting in linking error?
I'm a little dumbfounded as to why this isn't working. I keep getting the following linker error:
In file included from src\ac.cpp:1:0:
src/ac.h:9:21: error: expected identifier before numeric ...
1
vote
1
answer
342
views
Program size optimization
I am trying to spare a few bytes of program size.
I faced a problem which I cannot understand and I hope somebody will help.
Look at this empty sketch, pleas. It takes just 444 bytes:
void setup()
{
}
...
0
votes
1
answer
1k
views
Splitting up code in multiple files causing `multiple definition` and `undefined reference` error
I have the following very basic program that reads MPU6050(accelerometer and gyroscope) sensor using the I2C library, and prints the sensor information. This program works as expected.
#include <...
1
vote
1
answer
619
views
cant figure out how to fix this compile error
evrything worked for a bit and changed to much to get it working again. dont really understand the error.
[![C:\Users\bavob\AppData\Local\Temp\ccyfrkaL.ltrans0.ltrans.o: In function `loop':
C:\Users\...