Questions tagged [duplicate-symbol]
99 questions
0
votes
1 answer
C++ duplicate symbol from function pointer
I have a 3 source files. The main file has a function that use if statements to define a pointer:
main(int dispersalfn) {
if(dispersalfn == 0) {
kernel1 = flatdisp;
} else if(dispersalfn == 1) {
kernel1 = expdisp;
}
[...more…

Noam Ross
- 5,969
- 5
- 24
- 40
0
votes
0 answers
DDlog symbol duplication xcode
I am trying to add Lumberjack logger to my project. However it seems that a precompiled library in the project also has this included in it so I get a lot of duplicate symbol errors:
duplicate symbol _OBJC_CLASS_$_DDAbstractLogger in:
…

user426132
- 1,341
- 4
- 13
- 28
0
votes
1 answer
What I am looking at? Duplicate symbols?
I have these messages on Xcode
duplicate symbol _OBJC_IVAR_$_Cars._color in:
…

Duck
- 34,902
- 47
- 248
- 470
0
votes
1 answer
unordered_set with custom predicate make linker error (duplicate symbol)
i'm stuck with a little problem: i have a unordered_set which contain a struct. I have already implemented the hash function. But when i have first compiled my program, i 'v got some compiler error saying that i haven't implemented a overloaded…

Mr Bonjour
- 3,330
- 2
- 23
- 46
0
votes
2 answers
Apple Mach-0 linker error duplicate
I have written a straight forward program, but getting duplicate symbol linker error (error below) There is nothing additional in the .h file excepting for the @interface Fraction : NSObject @end
I am rather new to xcode.
//SAMPLE CODE
#import…

Jimmypooza
- 97
- 2
- 8
0
votes
1 answer
Xcode error: Command /Developer/usr/bin/clang++ failed with exit code 1 due to duplicate symbol
I'm trying to write a program in C++ which runs Conway's Game of Life. I think I have everything that I need, but I'm having some trouble with compiling.
The program is composed of four files: gameoflife.h, a header file which contains my global…

lachlanroy
- 5
- 1
-1
votes
1 answer
Including a header in multiple headers in my C++ code
I am trying to include a header file from the book Numerical Recipes in my code. The header files I have to include are the nr3.hpp and the interp_1d.hpp. The interp_1d needs the definitions of nr3 in order to work.
I will write some of the code…

blindProgrammer
- 3
- 3
-1
votes
2 answers
Duplicate Symbol - linker command failed with exit code 1 (use -v to see invocation)?
Building an iOS app off a tutorial and I get this message:
Ld /Users/EvanBresnan/Library/Developer/Xcode/DerivedData/FirstGame-ekyyaqwhjsjimddxggwkkkgblylu/Build/Products/Debug-iphonesimulator/FirstGame.app/FirstGame normal i386
cd…

E. Brez
- 1
- 3
-1
votes
3 answers
Unknown Xcode Error: linker command failed with exit code 1 (use -v to see invocation)
I keep getting this error but I have no idea where it's coming from.
linker command failed with exit code 1 (use -v to see invocation)
How do I fix this?
Here's the code from WebView.m
#import "WebViewController1.h"
@interface…

PHP Web Dev 101
- 535
- 2
- 9
- 21