ofxEtherdream在Windows上编译

ofxEtherdream compile on Windows

本文关键字:编译 Windows ofxEtherdream      更新时间:2023-10-16

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

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

以下是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++接口来包装windows的etherdream dll。我无法从头开始编译源代码,所以决定使用dll运行。可能会感兴趣。我已经成功地在各种项目中使用了它,没有任何问题:https://github.com/naivisoftware/netherdream

不幸的是,dll只有一个x32版本。我想在64位环境中使用它,但在那里没有运气。一直与以太梦的开发者保持联系,并得到了更新的承诺。不幸的是,我什么都没看到。请注意,上面提到的接口只使用以太梦DAC和dll的第一个版本进行了测试。

libetherdream有两个独立的版本,一个是windows,一个为linux/mac。ofxEtherdream与linux/mac版本相关联。windows C驱动程序可以在这里找到,但我认为有人必须重新实现xEtherdream并链接到windows lib:

https://github.com/j4cbo/j4cDAC/tree/master/driver/