MyException - 我的异常网
当前位置:我的异常网» 开源软件 » Kinect寮€鍙戞暀绋嬩竷锛歄penNI2鑷甫鑼冧緥绋嬪

Kinect寮€鍙戞暀绋嬩竷锛歄penNI2鑷甫鑼冧緥绋嬪簭鐨勭紪璇戞墽琛

www.MyException.Cn  网友分享于:2013-02-20  浏览:4次
Kinect寮€鍙戞暀绋嬩竷锛歄penNI2鑷甫鑼冧緥绋嬪簭鐨勭紪璇戞墽琛?

灏忔枻瑙夊緱锛岀爺绌惰嚜甯︾殑鑼冧緥绋嬪簭鏄涔犵殑閲嶈閫斿緞涔嬩竴锛屽湪缂栬瘧涓庨厤缃甇penNI2鐨勮寖渚嬬▼搴忔椂锛屽苟娌℃湁瀹夎鏃跺€欓偅涔堥『鍒╋紝鍦ㄨ繖閲屽垎浜竴涓嬬粡楠屻€?/span>

聽聽聽聽聽 瀹夎鐗堟湰OpenNI 2.1 beta锛屽紑鍙戠幆澧僔S2008銆?/span>


聽聽聽聽聽 渚濈収涓婁竴绡囨暀绋嬪叚瀹夎鎴愬姛鍚庯紝浼氭湁浠ヤ笅鐩綍锛?br>聽聽聽聽聽 鑼冧緥绋嬪簭涓荤洰褰曪細
聽聽聽聽聽 OpenNI2\Samples\
聽聽聽聽聽 鍙墽琛屾枃浠讹細
聽聽聽聽聽 OpenNI2\Samples\Bin
聽聽聽聽聽 鍏叡澶存枃浠讹細
聽聽聽聽聽 OpenNI2\Samples\Common
聽聽聽聽聽 GL搴擄細
聽聽聽聽聽 OpenNI2\Samples\GL
聽聽聽聽聽 濡傛灉鏈塚S2010搴旇鑳界洿鎺ユ墦寮€椤圭洰銆?br>
鏂板缓VS鑼冧緥宸ョ▼
聽聽聽聽聽 鍦ㄨ緝鏃╃殑VS鐗堟湰杩愯锛屽彲浠ュ弬鑰冧互涓嬫楠ゆ潵鏂板缓涓€涓寖渚嬪伐绋嬶細
聽聽聽聽聽 銆?銆戞柊寤篊/C++宸ョ▼
聽聽聽聽聽 銆?銆戦厤缃伐绋嬪睘鎬э紙鍙傝€冩暀绋嬪叚锛?br>聽聽聽聽聽 銆?銆戞嫹璐濇簮浠g爜锛岃繖閲屽皬鏂ゆ嫹璐濅簡SimpleViewer鐨勬簮鐮佸埌宸ョ▼鐩綍銆?br>聽聽聽聽聽 銆?銆戞嫹璐濆叕鍏卞ご鏂囦欢锛歕OpenNI2\Samples\Common\OniSampleUtilities.h鍒板伐绋嬬洰褰曘€?br>聽聽聽聽聽 濡備笅鍥?br>

GLUT搴?/span>
聽聽聽聽聽 銆?銆戝浜嶰penNI2\Samples\GL鐩綍涓嬬殑澶存枃浠剁洰褰昰l涓巊lh
聽聽聽聽聽 澶嶅埗鍒颁互涓嬫枃浠跺す锛?br> 聽聽聽聽聽聽 Visual Studio 6锛歑:\Program Files\Microsoft Visual Studio\VC98\Include\GL
聽聽聽聽聽 Visual Studio .net 2003锛歑:\Program Files\Microsoft Visual Studio NET 2003\Vc7\PlatformSDK\Include\gl
聽聽聽聽聽 Visual Studio 2005锛歑:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include\gl
聽聽聽聽聽 聽Visual Studio 2008锛歑:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\gl

聽聽聽聽聽 銆?銆戝浜嶰penNI2\Samples\GL鐩綍涓嬬殑*.lib澶嶅埗鍒颁互涓嬫枃浠跺す锛?br> 聽聽聽聽聽聽 Visual Studio 6锛歑:\Program Files\Microsoft Visual Studio\VC98\Lib
聽聽聽聽聽 Visual Studio .net 2003锛歑:\Program Files\Microsoft Visual Studio NET 2003\Vc7\PlatformSDK\Lib
聽聽聽聽聽 Visual Studio 2005锛歑:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib
聽聽聽聽聽 Visual Studio 2008锛歑:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib

聽聽聽聽聽 銆?銆慜penNI2\Samples\GL鐩綍涓嬬殑*.dll澶嶅埗鍒板伐绋嬬洰褰曟垨鑰匔:\Windows\system涓€?br>
涓€浜涘皬鍧?/span>
聽聽聽聽聽 銆?銆戝湪灏忔枻鐨勫伐浣滅幆澧僔S2008涓紝閬囧埌缂栬瘧閿欒锛?br>聽聽聽聽聽 error C2146: syntax error : missing ';' before identifier 'usbVendorId'
聽聽聽聽聽 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
聽聽聽聽聽 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
聽聽聽聽聽 error C2146: syntax error : missing ';' before identifier 'usbProductId'
聽聽聽聽聽 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

聽聽聽聽聽 鍦∣penNI2\Include\Win32\OniPlatformWin32.h涓彂鐜?/span>

    //---------------------------------------  
    // Includes  
    //---------------------------------------  
    #include <windows.h>  
    #include <stdlib.h>  
    #include <stdio.h>  
    #include <malloc.h>  
    #include <io.h>  
    #include <time.h>  
    #include <assert.h>  
    #include <float.h>  
    #include <crtdbg.h>  
    #if _MSC_VER < 1600 // Visual Studio 2008 and older doesn't have stdint.h...  
    typedef __int64 int64_t;  
    typedef unsigned __int64 uint64_t;  
    #else  
    #include <stdint.h>  
    #endif  

聽聽聽聽聽 璇ラ敊璇敱浜巙int32_t涓巙int8_t鏈畾涔夐€犳垚锛屽姞鍏ュ畾涔夊悗缂栬瘧鎴愬姛銆?/span>

    #if _MSC_VER < 1600 // Visual Studio 2008 and older doesn't have stdint.h...  
    typedef __int64 int64_t;  
    typedef unsigned __int64 uint64_t;  
    typedef unsigned __int32 uint32_t;  
    typedef unsigned __int16 uint16_t;  
    typedef unsigned __int8 uint8_t;  
    #else  
    #include <stdint.h>  
    #endif  


聽聽聽聽聽 銆?銆戝湪涓婁竴绡囨暀绋嬩腑锛屽皬鏂や篃璇磋繃锛岃鎷疯礉\OpenNI2\Redist鐩綍涓嬬殑鎵€鏈夋枃浠跺埌VS鐨勫伐浣滅洰褰曪紙濡傛灉涓嶉€氳繃VS鍚姩锛屽垯鎷疯礉鍒扮▼搴忔墽琛岀洰褰曪級
聽聽聽聽聽 鍚﹀垯灏嗕細鐪嬪埌浠ヤ笅閿欒锛?br>

----------------------------------

浣滆€咃細灏忔枻锛堥檲蹇伙級

鏂版氮鍥磋剸锛欯灏忔枻闄?/p>

鏈枃灞炰簬鍘熷垱鏂囩珷锛屽闇€杞浇寮曠敤璇锋敞鏄庡師鏂囦綔鑰呭拰閾炬帴锛岃阿璋€?/p>

1 妤? Tophuhu 鍓嶅ぉ  
杩欎釜绯诲垪鐨勫浘鍏ㄦ寕浜嗭紝璇锋鏌ヤ竴涓?/div>

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有