Visual Studio 2010でWindowsでffMPEGビルドを使用しているときに、inttypes.hが見つかりませんでした。
インターネットで検索した結果、間違った解決策が見つかったので、ここで適切な解決策を立てて人々が簡単に見つけられると思った。私自身の疑問にすぐに答えるだろう。ffMPEG "inttypes.h not found"エラー
19
A
答えて
44
解決策は、this fileをダウンロードし、Visual Studioが見つけられる場所にinttypes.h
ファイルを置くか、ffMPEGのcommon.h
があるフォルダに置きます。後者を選択する場合は、#include<inttypes.h>
行を#include "inttypes.h"
に変更する必要があります。
hereからこのソリューションを入手していましたか?私のために動作しませんでした
別の解決策は、この溶液をhereから入手した
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef signed long long int64_t;
typedef unsigned long long uint64_t;
で#include<inttypes.h>
を交換することです。
これが役に立った。
2
#ifndef HAS_INT_TYPES
#ifdef HAS_C99
#include <stdint.h>
#endif
#endif
関連する問題
- 1. centos7 "export:command not found
- 2. PyInstaller lib not found
- 3. i18n.properties Not Found OpenUI5
- 4. sudo:docker-compose:command not found
- 5. java.io.FileInputStream、Source not found
- 6. nvcc:command not found
- 7. PST DONGLE NOT FOUND
- 8. bash:ngc:command not found
- 9. mod_rails make:command not found
- 10. Gradle not found dependency
- 11. com.google.api.client.googleapis.json.GoogleJsonResponseException:404 Not Found
私のffMPEGのバージョンでは、pixdesc.hにもこのためのインクルードがありました。さらに、インクルードされたディレクトリにリストされている外部インクルードフォルダのみを使用している場合は、代わりに '#include" libavutil/inttypes.d "'があります。 – Chris