MacOSX 屏幕保护程序和 CG.framework

发布于 2024-10-09 14:50:13 字数 358 浏览 0 评论 0原文

我正在为 Mac (10.6) 开发基于 openGL 的屏幕保护程序,并且在链接到 CG.framework 时遇到问题。

一旦提到的框架链接到项目,屏幕保护程序就失效了。没有警告,没有错误。只是在屏幕保护程序列表中呈灰色。

更新:

重现的方法非常简单,但是您需要 NVidia 的 CG.framework:

  1. 在 XCode 编译中创建一个空的屏幕保护程序项目
  2. 并安装它以验证其 OK
  3. 添加 CG.framework 并重建项目
  4. 尝试再次安装。之后我收到“您无法在此计算机上使用“xxx”屏幕保护程序。请联系此屏幕保护程序的开发人员以获取更新版本。”信息

I'm developing openGL-based screensaver for Mac (10.6), and have an issue with linking to CG.framework.

Once mentioned framework is linked to project, screensaver becomes to be invalid. No warning, no errors. Just grayed in list of screensavers.

UPDATE:

Way to reproduce is very simple, but you need CG.framework from NVidia:

  1. Make an empty screensaver project in XCode
  2. Compile and install it to verify that its OK
  3. Add CG.framework and rebuild project
  4. Try to install again. After that i got "You cannot use the "xxx" screen saver on this computer. Contact the developer of this screen saver for a newer version." message

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文