1

我正在开发一个使用 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).
4

1 回答 1

2

加载...\x86\FaceTrackLib.dll看起来很可疑。如果这是一个 64 位程序,您不应该加载 x64 或 amd64 或 x86_64 或其他任何称为 DLL 的东西吗?查看您的机器或安装媒体,看看是否有另一个可能是 64 位的 FaceTrackLib.dll。

微软在此处的文档证实了这一点:http: //msdn.microsoft.com/en-us/library/jj130970.aspx

于 2013-04-23T14:02:44.827 回答