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
$ ./configure --enable-static --disable-shared && make
CCLD bench
Undefined symbols for architecture x86_64:
"_CGDisplayPixelsHigh", referenced from:
_convert_NSRect in libcaca.a(libcaca_la-cocoa.o)
"_CGMainDisplayID", referenced from:
_convert_NSRect in libcaca.a(libcaca_la-cocoa.o)
"_GetCurrentProcess", referenced from:
_register_cocoa_app in libcaca.a(libcaca_la-cocoa.o)
"_NSApp", referenced from:
-[CacaWindowDelegate windowShouldClose:] in libcaca.a(libcaca_la-cocoa.o)
_cocoa_get_event in libcaca.a(libcaca_la-cocoa.o)
_register_cocoa_app in libcaca.a(libcaca_la-cocoa.o)
_create_application_menus in libcaca.a(libcaca_la-cocoa.o)
"_NSDefaultRunLoopMode", referenced from:
_cocoa_get_event in libcaca.a(libcaca_la-cocoa.o)
"_NSFontAttributeName", referenced from:
-[CacaView setFont:] in libcaca.a(libcaca_la-cocoa.o)
"_NSForegroundColorAttributeName", referenced from:
-[CacaView drawRect:] in libcaca.a(libcaca_la-cocoa.o)
"_NSIntersectsRect", referenced from:
-[CacaView drawRect:] in libcaca.a(libcaca_la-cocoa.o)
"_NSLog", referenced from:
-[CacaView keyDown:] in libcaca.a(libcaca_la-cocoa.o)
-[CacaView mouseMoved:] in libcaca.a(libcaca_la-cocoa.o)
"_NSRectFill", referenced from:
-[CacaView drawRect:] in libcaca.a(libcaca_la-cocoa.o)
"_NSRectFillListWithColors", referenced from:
-[CacaView drawRect:] in libcaca.a(libcaca_la-cocoa.o)
"_NSUnderlineStyleAttributeName", referenced from:
-[CacaView initWithFrame:] in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSApplication", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
l_OBJC_$_CATEGORY_NSApplication_$_Caca in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSAutoreleasePool", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSBundle", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSColor", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
l_OBJC_$_CATEGORY_NSColor_$_Caca in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSCursor", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSDate", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSEvent", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSFont", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSMenu", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSMenuItem", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSMutableDictionary", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSNumber", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSObject", referenced from:
_OBJC_CLASS_$_CacaWindowDelegate in libcaca.a(libcaca_la-cocoa.o)
_OBJC_CLASS_$_CacaAppDelegate in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSProcessInfo", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSString", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSView", referenced from:
_OBJC_CLASS_$_CacaView in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_CLASS_$_NSWindow", referenced from:
objc-class-ref in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_IVAR_$_NSApplication._running", referenced from:
-[NSApplication(Caca) setRunning] in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_METACLASS_$_NSObject", referenced from:
_OBJC_METACLASS_$_CacaView in libcaca.a(libcaca_la-cocoa.o)
_OBJC_METACLASS_$_CacaWindowDelegate in libcaca.a(libcaca_la-cocoa.o)
_OBJC_METACLASS_$_CacaAppDelegate in libcaca.a(libcaca_la-cocoa.o)
"_OBJC_METACLASS_$_NSView", referenced from:
_OBJC_METACLASS_$_CacaView in libcaca.a(libcaca_la-cocoa.o)
"_SetFrontProcess", referenced from:
_register_cocoa_app in libcaca.a(libcaca_la-cocoa.o)
"_TransformProcessType", referenced from:
_register_cocoa_app in libcaca.a(libcaca_la-cocoa.o)
"___CFConstantStringClassReference", referenced from:
CFString in libcaca.a(libcaca_la-cocoa.o)
CFString in libcaca.a(libcaca_la-cocoa.o)
CFString in libcaca.a(libcaca_la-cocoa.o)
CFString in libcaca.a(libcaca_la-cocoa.o)
CFString in libcaca.a(libcaca_la-cocoa.o)
CFString in libcaca.a(libcaca_la-cocoa.o)
CFString in libcaca.a(libcaca_la-cocoa.o)
...
"__objc_empty_cache", referenced from:
_OBJC_CLASS_$_CacaView in libcaca.a(libcaca_la-cocoa.o)
_OBJC_METACLASS_$_CacaView in libcaca.a(libcaca_la-cocoa.o)
_OBJC_METACLASS_$_CacaWindowDelegate in libcaca.a(libcaca_la-cocoa.o)
_OBJC_CLASS_$_CacaWindowDelegate in libcaca.a(libcaca_la-cocoa.o)
_OBJC_METACLASS_$_CacaAppDelegate in libcaca.a(libcaca_la-cocoa.o)
_OBJC_CLASS_$_CacaAppDelegate in libcaca.a(libcaca_la-cocoa.o)
"_objc_msgSend", referenced from:
-[CacaView initWithFrame:] in libcaca.a(libcaca_la-cocoa.o)
-[CacaView dealloc] in libcaca.a(libcaca_la-cocoa.o)
-[CacaView setFont:] in libcaca.a(libcaca_la-cocoa.o)
-[CacaView resizeIfNeeded:] in libcaca.a(libcaca_la-cocoa.o)
-[CacaView updateBuffersFromCaca:] in libcaca.a(libcaca_la-cocoa.o)
-[CacaView drawRect:] in libcaca.a(libcaca_la-cocoa.o)
+[NSColor(Caca) colorFromRgb12:] in libcaca.a(libcaca_la-cocoa.o)
...
"_objc_msgSendSuper2", referenced from:
-[CacaView initWithFrame:] in libcaca.a(libcaca_la-cocoa.o)
-[CacaView dealloc] in libcaca.a(libcaca_la-cocoa.o)
"_objc_msgSend_stret", referenced from:
-[CacaView setupNewSize] in libcaca.a(libcaca_la-cocoa.o)
-[CacaView setFont:] in libcaca.a(libcaca_la-cocoa.o)
_cocoa_get_display_width in libcaca.a(libcaca_la-cocoa.o)
_cocoa_get_display_height in libcaca.a(libcaca_la-cocoa.o)
_create_first_window in libcaca.a(libcaca_la-cocoa.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered:
with dynamic it works, but with static:
The text was updated successfully, but these errors were encountered: