Connecting OpenFrameWorks with exciting project VS2015

时间:2017-06-09 12:53:06

标签: visual-studio-2015 linker openframeworks ar.drone

I want to make a awesome user interface using openframeworks for a drone project. I am using CVDrone project as my base, and want to able to connect CVDrone project to my openframeworks project, so that I can call functions from CVDrone in my openframeworks project.

If I run the two projects separately, they works perfectly, no errors or anything. But can't connect them.

I have given it a go, but VS 2015 trows all kind of errors at me. Everything from libraries not found to .dll files missing.

1 个答案:

答案 0 :(得分:0)

你有几个选择。一个hacky选项,但在时间和c ++经验方面务实,将有两个程序,一个CVDrone和一个OF,通过同一台计算机上的套接字相互通信。 OSC可以轻松传递参数,而不必担心解析数据。就流式帧而言,您可能需要查看spout

然而,快速完成CVDrone项目及其样本,应该可以将项目集成到OpenFrameworks项目中。我建议您尝试ofxCV直接使用OpenCV。您需要将OpenCV 2替换为OpenCV 3库(标题/ dll),当然还需要将ardrone类交换到项目中。