Sample running problem

Mar 11, 2011 at 10:04 PM

Hello,

is it possible to use framework without connected device? I've tryed and got an error:

Unable to load DLL 'OpenNI': Не вдалося знайти вказаний модуль. (Exception from HRESULT: 0x8007007E)

   at xn.OpenNIImporter.xnEnumerationErrorsAllocate(IntPtr& ppErrors)
   at xn.EnumerationErrors.Create()
   at xn.EnumerationErrors..ctor()
   at xn.Context.InitFromXml(String xmlFile)
   at xn.Context..ctor(String xmlFile)
   at InfoStrat.MotionFx.HandPointGenerator.VerifyInit() in C:\Users\Lenovo\Downloads\InfoStrat-MotionFx-17324ca\InfoStrat.MotionFx\HandPointGenerator.cs:line 301
   at InfoStrat.MotionFx.HandPointGenerator.DoGeneratePointsWorker() in C:\Users\Lenovo\Downloads\InfoStrat-MotionFx-17324ca\InfoStrat.MotionFx\HandPointGenerator.cs:line 266
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

even if OpenNI-Bin-Win32-v1.0.0.25, NITE-Win32-1.3.0.17, SensorKinect-Win32-5.0.0 are installed.

Thanks in advance

Coordinator
Mar 11, 2011 at 10:12 PM

No, you need to have the device connected in order to use the Framework. The error you're seeing looks more like that it cannot find data/openni.xml. OpenNI requires the configuration file openni.xml to be located in a folder data under the location of the executable.

Mar 11, 2011 at 10:20 PM

 

The configuration file exist in data folder. Also, I've checked application references: openNI.dll and OpenNI.net.dll exists in folder of executable. Still no luck