作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用 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 框架。
关于objective-c - NSWindowFlipper 构建错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7957324/
我正在尝试使用 Mizage 的 window flipper library在我的 Mac 应用程序中。 当我尝试构建它时,出现以下错误: Undefined symbols for archite
我是一名优秀的程序员,十分优秀!