Quantcast
Viewing all articles
Browse latest Browse all 40524

Openni2 and ofxNI2 with Visual Studio 2015

Ok I managed to make it to compile, I added these to the project:

In Project -> Properties:

- in C/C++ -> General -> Additional Include Directories : $(OPENNI2_INCLUDE64)
- in Linker -> General -> Additional Library Directories : $(OPENNI2_LIB64)
- in Linker -> Input     -> Additonal depdendancies : OpenNI2.lib

Now I get a new error:

Exception non gérée à 0x00007FFA60F5871C dans openniTest_debug.exe :
exception Microsoft C++ : [rethrow] à l'emplacement de mémoire
0x0000000000000000.

which points to the code below, and specifically the line with the throw.

	bool assert_error(openni::Status rc)
	{
		if (rc == openni::STATUS_OK) return true;
		ofLogError("ofxNI2") << openni::OpenNI::getExtendedError();
		throw;
	}

I'm a bit lost now.


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>