You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to use singlecompile. is there a simple way to link objc framework such as Foundation.framework to the source file? for example, I write simple.m
and in vim I run :SCCompile , and it occurs to these:
Undefined symbols for architecture x86_64:
"_NSLog", referenced from:
_main in sample-c42ea1.o
"___CFConstantStringClassReference", referenced from:
CFString in sample-c42ea1.o
"_objc_autoreleasePoolPop", referenced from:
_main in sample-c42ea1.o
"_objc_autoreleasePoolPush", referenced from:
_main in sample-c42ea1.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I think it is the Foundation.framework is not link in link time, so I wanna know how to solve it with SingleCompile
The text was updated successfully, but these errors were encountered:
davidfuzju
changed the title
single compile with objc
singlecompile with objective-c
May 5, 2015
I am new to use singlecompile. is there a simple way to link objc framework such as Foundation.framework to the source file? for example, I write simple.m
and in vim I run :SCCompile , and it occurs to these:
I think it is the Foundation.framework is not link in link time, so I wanna know how to solve it with SingleCompile
The text was updated successfully, but these errors were encountered: