Hi,
so, short selfdescription: HTML/CSS/JS savvy musician bought new Kinect v2 (“hah it’s a lot better”) to create some livevisuals. Naturally, I expected plug and play ready software (plugins) for vj software. Came home, installed the SDK and Kinect Studio. That was my last successful step.
I tried codeblocks on OS X, Windows and Visual Studio Express 2012 on Windows which I’m trying right now. I downloaded openframeworks addons for Kinect (ofxKinectForWindows2 and ofxKinect2), trying the first on my own and the latter following one of the not out of the date tutorials I managed to find: http://rbarraza.com/using-ofxkinectv2-with-of/
I couldn’t Debug (or Release) either the test included in the ofxKinectForWindows2 or the test file I created according to the tutorial in the link. I tried several variants which made sense to me. The last try fails because a MSVCP120.dll is missing. WTF, I thought I’m using 2012 (120.dll seems to be for 2013) and before it failed on other weird messages which I managed to get rid of. I followed the instructions in the tutorial exactly and set up the project right. There was already mistakes I took care of. I need to mention that I installed a lot of software hoping for something which saves my ass and provides a quick solution. I feel like I need to be much more precise with everything here. Last thing I tried is to port the code from the example in ofxKinectv2 to my Visual Studio from the Project Generator. It fails at the same step while trying to run.
ofApp.h:
#pragma once
#include "ofMain.h"
#include "ofxKinectCommonBridge.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
ofxKinectCommonBridge kinect;
};
ofApp.cpp:
#include "ofApp.h"
void ofApp::setup(){
kinect.initSensor();
kinect.initColorStream();
kinect.start();
}
void ofApp::update(){
kinect.update();
}
void ofApp::draw(){
kinect.draw(0,0);
}
Debug Output:
'mySketch_debug.exe' (Win32): Loaded 'C:\openframeworks\apps\myApps\mySketch\bin\mySketch_debug.exe'. Symbols loaded.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\openframeworks\apps\myApps\mySketch\bin\KCBv2.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp110d.dll'. Symbols loaded.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr110d.dll'. Symbols loaded.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msimg32.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\opengl32.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\glu32.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\openframeworks\apps\myApps\mySketch\bin\FreeType-6.dll'. Module was built without symbols.
'mySketch_debug.exe' (Win32): Loaded 'C:\openframeworks\apps\myApps\mySketch\bin\FreeImage.dll'. Module was built without symbols.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\openframeworks\apps\myApps\mySketch\bin\fmodex.dll'. Module was built without symbols.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.
'mySketch_debug.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Kinect20.dll'. Cannot find or open the PDB file.
First-chance exception at 0x77B98F05 (ntdll.dll) in mySketch_debug.exe: 0xC0000135: Unable to Locate DLL.
Unhandled exception at 0x77B98F05 (ntdll.dll) in mySketch_debug.exe: 0xC0000135: Unable to Locate DLL.
The thread 0xf6c has exited with code -1073741510 (0xc000013a).
The program '[4880] mySketch_debug.exe' has exited with code -1073741510 (0xc000013a).
I’m frustrated, I also can only guess a little bit where this will be going. Anyway, I’m also hooked and would like to get all the options out of this since I’m very drawn to audio visualization influenced by performance and this seems like fun, nevermind the frustration, I’m motivated. If someone could help me out on the following questions:
What are the best prerequisites to reach my goals which would be to use the Kinect with a VJ tool like vvvv or vdmx or resolume (I only researched this software, I have no idea how to use it) or how to create a more user friendly enviroment for me to try to use the sensor.
I’d rather stay with OS X but thought it’s not the best idea since most people mentioned it’s only working with Windows 8 which I’m using now. It might be a huge jump but I have no idea where to begin. Maybe I should clean up my Windows and reinstall all software which I will want to use to ensure a clean start? Or is it possible to use OS X in my projects and stay out of Windows?
Maybe I will need to get into much more basic stuff, and if, are there some recommended resources which are kind of aligned to my goals? I’m kind of a fiddler and patient with google. I can kind of read my way around but here much more can fail than just code, so is my feeling.
Thanks a lot for reading and help, happy new year
Best