Hi Guys
11)Change the Data folder path
12)Inside data folder
13)Inside Libs
Today i am going to show you how we can set OpenNI in Visual studio 2010
Procedure
1)Install OpenNI in Windows 7
2)Creating an empty project
3)Check the enviornmental variable properly set or not. Which will automatically set while installing openNI
4)Add an empty source file and copy a sample code from OpenNI sample folder to test code. I used NiSimpleViewer
5)Copy GL headers and gl libs from NiSimpleViewer folder to current project folder. Also copy Data folder from OpenNI folder.
6)Include directories
7)Linker dir
8)Additional dependancy
9)Release folder
10)Setting Env.Variable for getting glut32.dll
11)Change the Data folder path
12)Inside data folder
13)Inside Libs
After building output
Video of this tutorial
7 comments:
hello, Letin Joseph. thanks for the tutorial is very good i loved it, but i have a problem when i want to buil my project in visual studio it say
error LNK1104: cannot open file 'openNI.lib' C:\Users\jairo sanchez\Documents\Visual Studio 2010\Projects\openni_visual\openni_visual\LINK openni_visual
Joseph thanks but i have resolved my problem.
your post is pretty good you help me to begin with kinet.
which version of OpenNI is involved in the process?
ñacañaca how did you solve that problem ???
i used Open NI 2.2.0.30 alpha version. i am getting linker errors LNK2019.
openni_test.obj : error LNK2019: unresolved external symbol __imp__oniStreamStart referenced in function "public: enum openni::Status __thiscall openni::VideoStream::start(void)" (?start@VideoStream@openni@@QAE?AW4Status@2@XZ)
please help me to get rid of these errors.
Can you try it in release mode ?
im using openni 2.2 it does not contain data folder in it
Post a Comment