gpt4 book ai didi

objective-c - NSWindowFlipper 构建错误

转载 作者:行者123 更新时间:2023-12-03 17:32:17 25 4
gpt4 key购买 nike

我正在尝试使用 Mizage 的 window flipper library在我的 Mac 应用程序中。

当我尝试构建它时,出现以下错误:

Undefined symbols for architecture x86_64:
"_kCAGravityCenter", referenced from:
-[NSWindow(Flipper) flipWithArguments:] in NSWindowFlipper.o
"_CATransform3DMakeRotation", referenced from:
-[NSWindow(Flipper) flipWithArguments:] in NSWindowFlipper.o
"_kCAMediaTimingFunctionEaseInEaseOut", referenced from:
-[NSWindow(Flipper) flipWithArguments:] in NSWindowFlipper.o
"_CATransform3DIdentity", referenced from:
-[NSWindow(Flipper) flipWithArguments:] in NSWindowFlipper.o
"_CATransform3DRotate", referenced from:
-[NSWindow(Flipper) flipWithArguments:] in NSWindowFlipper.o
"_OBJC_CLASS_$_CALayer", referenced from:
objc-class-ref in NSWindowFlipper.o
"_OBJC_CLASS_$_CABasicAnimation", referenced from:
objc-class-ref in NSWindowFlipper.o
"_OBJC_CLASS_$_CAMediaTimingFunction", referenced from:
objc-class-ref in NSWindowFlipper.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我的基础 SDK 是 10.7 并且启用了 ARC。我是 Cocoa 的新手,以前没有见过这种错误。有人可以建议这里有什么问题以及如何解决它吗?谢谢。

最佳答案

您需要链接 QuartzCore 框架。

Linking to a Library or Framework

关于objective-c - NSWindowFlipper 构建错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7957324/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com