我正在开发一个使用 MS Kinect SDK 和 facetracker 的 Kinect 项目。该代码在 Win32 上编译和运行完美,但我试图让它在 x64 中运行。我正在使用 Visual Studio,我创建了这个 x64 构建并将所有库位置更新为 amd64 并且它编译正确。当我尝试运行 x64 调试时,我收到以下警告:
VS2012 输出如下:
'KinectMain.exe' (Win32): Loaded 'C:\Users\Jacko\Documents\GitHub\KinectMain\x64\Debug\KinectMain.exe'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\lpk.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\Kinect10.dll'. Cannot find or open the PDB file.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\msvcp100.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\msvcr100.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\winusb.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Windows\System32\d2d1.dll'. Symbols loaded.
'KinectMain.exe' (Win32): Loaded 'C:\Program Files\Microsoft SDKs\Kinect\Developer Toolkit v1.7.0\Redist\x86\FaceTrackLib.dll'. Cannot find or open the PDB file.
'KinectMain.exe' (Win32): Unloaded 'C:\Program Files\Microsoft SDKs\Kinect\Developer Toolkit v1.7.0\Redist\x86\FaceTrackLib.dll'
The program '[0x17D0] KinectMain.exe' has exited with code -1073741701 (0xc000007b).