私は、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).