"The program can't start because OpenNI.dll is missing from your computer. Try reinstalling the program to fix this problem."

14,188 views
Skip to first unread message

KasSek

unread,
Oct 11, 2011, 6:58:42 AM10/11/11
to OSCeleton
I downloaded OSCeleton-v1.2.1_win32.zip
Contains 3 files: glut32.dll, pthreadVC2.dll and OSCeleton.exe.
Extracting this to a new directory on my Desktop (Vista 64bit system)
When I run OSCeleton.exe I get this message:
"The program can't start because OpenNI.dll is missing from your
computer. Try reinstalling the program to fix this problem."
The strange thing is that I installed OpenNI yesterday:
1. Kinect Driver (Sensor Kinect)
2. OpenNI
3. OpenNI Compliant Middleware (NITE)
4. OpenNI Compliant Hardware (Sensor Driver)
But still I get this error message I stated above.

Why is that?

Brandon Leffew

unread,
Oct 15, 2011, 4:50:49 PM10/15/11
to OSCeleton

I'm running into this error as well but I'm on a Windows 7-64 bit
system

KasSek

unread,
Oct 23, 2011, 6:45:05 AM10/23/11
to OSCeleton
solved it by chaning my usb port for the kinect to another one. And I
also installed ZigFuOpenNI.exe which contains all the drivers in one
go.
Tell me you worked it out.

Fabrizio Ippoliti

unread,
Mar 5, 2012, 1:32:31 PM3/5/12
to osce...@googlegroups.com
hi everyone

also in my case i solve the problem installing ZigJSOpenNI_0.9.8.exe
i have windows 7 x64
it would be nice to understand what is included in ZigFu, that's fundamental to make work kinect

Amir Hirsch

unread,
Mar 5, 2012, 1:40:00 PM3/5/12
to osce...@googlegroups.com
ZigJSOpenNI contains installers for OpenNI, SensorKinect, Sensor (Xtion), NITE (primesense computer vision library), and ZigJS browser plugin for OpenNI and Microsoft Kinect SDK.

if you have installed the bundle, you can now try http://motionos.com/demos


Amir

Fabrizio Ippoliti

unread,
Mar 5, 2012, 2:09:15 PM3/5/12
to osce...@googlegroups.com
hi Amir,

thanks for your reply. I just tried the demo and it works properly.
I'm trying to understand which is the component missing (BUT included in ZiJSOpenNI) to set up the kinect in a Windows 7 x64 environment.
I had already installed:
I installed 32 and 64 bit versions.
When I tried to launch same samples, i received an error message:
(32 bit) "The program can't start because openNI.dll is missing from your computer. Try reinstalling the program to fix this problem."
or
(64 bit) "The program can't start because openNI64.dll is missing from your computer. Try reinstalling the program to fix this problem."

Any ideas?

Fabrizio

Amir Hirsch

unread,
Mar 5, 2012, 2:26:06 PM3/5/12
to osce...@googlegroups.com
The other installers may require you to reboot to refresh your environment variables. We run a script that does this automatically.

We only install the 32 bit drivers. When you try multiple installers there may be some problems that persist in your Environment Variables if you don't have a refresh_environment script in the installer. This happens to 64 bit users a lot because 32 bit drivers end up in C:\Program Files (x86)\ instead of C:\Program Files\ where the 64 bit version installs to.

look for your environment variable settings for:
OPEN_NI_INCLUDE
OPEN_NI_BIN
OPEN_NI_LIB
OPEN_NI_INSTALL_PATH


Amir

Fabrizio Ippoliti

unread,
Mar 5, 2012, 2:37:41 PM3/5/12
to osce...@googlegroups.com
great! thank you so much!

2012/3/5 Amir Hirsch <am...@zigfu.com>

shereen.e...@gmail.com

unread,
Dec 17, 2012, 9:03:34 AM12/17/12
to osce...@googlegroups.com
Hi Amir,
I have the same problem I ran all the OpenNI examples yesterday they were fine when I linked the Open NI with OpenCV today, I get this error and none of the examples work now.

Can you explain further what do you mean by :
'look for your environment variable settings for:
OPEN_NI_INCLUDE
OPEN_NI_BIN
OPEN_NI_LIB
OPEN_NI_INSTALL_PATH''

vin...@moonraft.com

unread,
Dec 23, 2012, 7:53:08 AM12/23/12
to osce...@googlegroups.com
Hi Amir,

I have something similar here. 

I have a 64 bit machine where I installed the 64bit installers and my examples run fine.

When I use my codeblocks to run the project, there are issues. I use ofxOpenNi plugin from gameoverhacks. The bin folder does not have openNi.dll generated while compiling. As per the instructions,

 I have copied the dlls from  addons/openNi/win/copy_to_data_openni to bin/data/openni of my project.
I have linked the libraries from the data/openni to my project. Nothing seems to work though.

Last time I got it to run by some combination, setting the verbose level of oflog gave me environment variable not found while calling init. Is it because of the 64bit OS I am using??

vin...@moonraft.com

unread,
Dec 23, 2012, 8:45:26 AM12/23/12
to osce...@googlegroups.com
Few more observations.

The only way my program starts up is by copying openni.dll from ofxopenni to the bin folder manually. This makes the code run but the context init method gives out this log.

[ofxOpenNIDevice[0]:verbose] Context initilizedstatus:The environment variable c
ould not be found!

Giacomo Deriu

unread,
Feb 28, 2013, 3:02:27 AM2/28/13
to osce...@googlegroups.com
Hi vin,

I have the exactly same problem now, did you manage to solve it?

thanks

G.

Wagner Oliveira Jr

unread,
Oct 4, 2015, 1:28:16 AM10/4/15
to OSCeleton
Me too!
Reply all
Reply to author
Forward
0 new messages