在 Xcode 中静态链接 Nvidia 的 Cg 框架

发布于 2024-08-01 15:33:29 字数 122 浏览 4 评论 0原文

任何能解决这个问题的人都会获得终生一百亿的荣誉。

Nvidia 只为 Cg 提供了一个标准框架,我不知道如何静态链接。 我需要静态链接它,因为它是一个插件。

有什么办法可以做到这一点吗?

10 billion kudos for life to anyone who can figure this one out.

Nvidia only provides a standard framework for Cg, which I cannot figure how I can link statically. I need to link it statically because it's for a plugin.

Is there any way at all this can be done?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

裸钻 2024-08-08 15:33:29

您可以使用Cg编译器将着色器编译为程序集,然后使用opengl函数加载程序集。 那么您不需要在使用您的应用程序的系统上安装 Cg 框架。

You can use Cg compiler to compile the shader to the assembly, and then load the assembly using opengl functions. Then you do not need to have the Cg framework on the system using your application.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文