- Joined
- Oct 3, 2016
- Messages
- 1
- Reaction score
- 0
- Points
- 1
When I add Release build .dylib to command line project then it gives error while compiling as follow
:=
Undefined symbols for architecture x86_64:
"hello()", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Note:- "hello()" is the function which is declared in .h file in added .dylib
I have also added that .h file to my command line project.
:=
Undefined symbols for architecture x86_64:
"hello()", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Note:- "hello()" is the function which is declared in .h file in added .dylib
I have also added that .h file to my command line project.