I’m trying to add ofxKinect to one of the examples (exampleLoopback) to use the kinect instead of a webcam.
I managed to compile the example in both release 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.
I’ve opened an issue with more details here:
I can also share project files.
Has anyone encountered this problem before? Maybe the property sheets that ofxSquashBuddies requires are changing the way libraries are linked? If @elliotwoods or someone else can shed some light on this issue it would be greatly appreciated.