gpt4 book ai didi

c++ - ofxEtherdream 在 Windows 上编译

转载 作者:行者123 更新时间:2023-11-28 05:46:00 25 4
gpt4 key购买 nike

我刚开始学习 openFrameworks,它很棒!我喜欢它。但现在我被困住了……很糟糕。在网上找不到任何东西,也许我错过了这个问题的一些编程技巧。

这是我的问题:我在一个项目,实习,涉及openFrameworks和ofxEtherdream。我开始在我的 Linux 笔记本电脑上编写代码,并且进展顺利。
不过,最终项目需要在 Windows 上运行,而 etherdream.c 只使用 Linux 库。所以我不能只用 Visual Studio 编译这个程序而不链接 dll...我该怎么做?

以下是 Etherdream 的源代码: https://github.com/j4cbo/j4cDAC/tree/master/driver/libetherdream

这是 ofxEtherdream 项目,我需要在 Windows 上编译的项目。 https://github.com/memo/ofxEtherdream

我真的需要这个来工作!有没有办法:

  • 在 Windows 上编译 xEtherdream?
  • 找到 Windows 版本的源代码? (为什么有etherdream.dll却没有windows的源代码?)
  • 将 etherdream.dll 链接到我的 Visual Studio 项目并能够告诉 Visual Studio 忽略 ofxEtherdream 的 lib 文件夹中的当前 etherdream.c/h,它在 ofxEtherdream.cpp 中被引用?
  • >...?我不知道的任何其他解决方案

最佳答案

我遇到了同样的问题并决定制作一个 c++ 接口(interface)来包装 windows 的 etherdream dll。我无法从头开始编译源代码,所以决定改用 dll 运行。可能会感兴趣。我已经成功地将它用于各种项目,没有任何问题:https://github.com/naivisoftware/netherdream

不幸的是,只有一个 x32 版本的 dll。我想在 64 位环境中使用它,但运气不好。已经与以太梦想开发者保持联系,并得到了更新的 promise 。不幸的是我还没有看到任何东西。注意,上面提到的接口(interface)只用第一版的ether-dream DAC和dll测试过。

关于c++ - ofxEtherdream 在 Windows 上编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36196720/

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