FFmpeg "Inttypes.h": No such file or directory

Source: Internet
Author: User

Compile process:
Error One: Cannot open include file: "Inttypes.h": No such file or directory
WORKAROUND: Delete it and add the following code before it:

#if defined (WIN32) &&!defined (__mingw32__) &&!defined (__cygwin__)
# define Config_win32
#endif
#if defined (WIN32) &&!defined (__mingw32__) &&!defined (__cygwin__) &&!defined (emulate_ Inttypes)
# define Emulate_inttypes
#endif
#ifndef emulate_inttypes
# include <inttypes.h>
#else
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;
# ifdef CONFIG_WIN32
typedef signed __INT64 int64_t;
typedef unsigned __INT64 uint64_t;
# Else/* Other OS */
typedef signed long Long int64_t;
typedef unsigned long long uint64_t;
# endif */Other OS */
#endif/* Emulate_inttypes */

FFmpeg "Inttypes.h": No such file or directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.