Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibilities with ofxKinect (visual studio) #9

Open
mimetikxs opened this issue May 16, 2019 · 0 comments
Open

Incompatibilities with ofxKinect (visual studio) #9

mimetikxs opened this issue May 16, 2019 · 0 comments

Comments

@mimetikxs
Copy link

Hi,

I'm trying to add ofxKinect to one of the examples (exampleLoopback) to use the kinect instead of a webcam.

Initially, I managed to compile the example in both relese and debug configurations but when I add ofxKinect the project will only compile in debug. Trying to compile in release triggers this error:
Error C1047 The object or library file '..\..\..\addons\ofxKinect\libs\libusb\lib\vs\x64\libusb-1.0.lib' was created with an older compiler than other objects; rebuild old objects and libraries

I've managed to compile other projects using ofxKinect in release mode without problems, the problem comes when trying to use these two addons together.

My environment is Windows 10, oF 0.10.1, Visual Studio 2017. These are the steps I followed to create the solution (x64):

  • Use projectGenerator, only add ofxKinect and ofxSquashBuddies
  • Add projects ofxAsioLib and ofxSquashLib to solution
  • Add ofxAsio.props to ofxAsioLib and exampleLoopback
  • Add ofxSquash.props to ofxSquashLib and exampleLoopback
  • Add references

I'm not very experienced with visual studio and can't figure out what the problem is, it would be super helpful if someone could share a fix or point me into the right direction.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant