doug / depthjs

DepthJS allows any web page to interact with the Microsoft Kinect using Javascript.
depthjs.media.mit.edu
GNU Affero General Public License v3.0
1k stars 109 forks source link

Windows 7 64 Bit Support #29

Open chumphries opened 12 years ago

chumphries commented 12 years ago

Hello,

I am trying to get the depthjs plugin to work with Windows 7 64 bit and have installed all the OpenNI modules, but I get:

-- Could NOT find OpenNI (missing: OpenNI_LIBRARY) -- Can't find OpenNI!

I have no problem with NITE, but I cannot get OpenNI to work. Does depthjs work on 64 bit Windows 7?

royshil commented 12 years ago

@chumphries You should be able to build once you sort out the OpenNI location. By default the CMake script is looking in C:\Program Files\OpenNI (and the same for D drive), which is usually where the OpenNI installer puts things.. (maybe it's in the C:\Program Files (x86)\ directory) You may want to point CMake to exact place where OpenNI is by something like: ${DepthJS}\firebreath-plugin> ${FireBreath}/prep2010.cmd . "-DOpenNI_INCLUDE_DIR=C:\Program Files (x86)\OpenNI"

daniloavila commented 12 years ago

edit file doug-depthjs\firebreath-plugin\cmake\FindOpenNI.cmake: change line 21 :SET(OPENNI_LIB_SEARCH_PATHS "C:/Program Files/OpenNI/Lib64/" "D:/Program Files/OpenNI/Lib64/") change line 42: NAMES OpenNI64