I’m struggling to get the IR stream from my K4W using the ofxKinectCommonBridge addon. From looking at the github readme it does look like the addon supports the IR stream so im possibly just doing it incorrectly. The RGB cam and Depth streams work fine. Does anyone have any ideas or encountered this before.
This is the code im using
#include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
kinect.initSensor();
kinect.initIRStream(320, 240);
//kinect.initColorStream(640, 480, true);
//kinect.initDepthStream(640, 480, true);
//kinect.initSkeletonStream(true);
//simple start
kinect.start();
ofDisableAlphaBlending(); //Kinect alpha channel is default 0;
ofSetWindowShape(960, 720);
}
//--------------------------------------------------------------
void testApp::update(){
kinect.update();
}
//--------------------------------------------------------------
void testApp::draw()
{
kinect.drawIR(0,0,320,240);
}
When I try run this I receive these two errors
Error 4 error LNK2019: unresolved external symbol "public: void __thiscall ofxKinectCommonBridge::drawIR(float,float,float,float)" (?drawIR@ofxKinectCommonBridge@@QAEXMMMM@Z) referenced in function "public: virtual void __thiscall testApp::draw(void)" (?draw@testApp@@UAEXXZ) C:\Users\Nathan O'Gates\Documents\Visual Studio 2012\Projects\of_v0.8.3_vs_release\addons\ofxKinectCommonBridge\example-Skeleton\testApp.obj example-Simple
Error 5 error LNK1120: 1 unresolved externals C:\Users\Nathan O'Gates\Documents\Visual Studio 2012\Projects\of_v0.8.3_vs_release\addons\ofxKinectCommonBridge\example-Skeleton\bin\example-Simple_debug.exe 1 1 example-Simple
Any help is much appreciated