1
我一直在寻找一种解决方案,以摆脱在Visual Studio Express 2013中丢失的-D__STDC_CONSTANT_MACROS
消息无济于事。我已经包含了stdint.h和inttypes。内COMMON.H头文件在这里http://www.ffmpeg.org/doxygen/trunk/common_8h_source.html有上线29是有以下部分摆脱在Visual Studio中缺少-D__STDC_CONSTANT_MACROS
#if defined(__cplusplus) && !defined(__STDC_CONSTANT_MACROS) && !defined(UINT64_C)
#error missing -D__STDC_CONSTANT_MACROS/#define __STDC_CONSTANT_MACROS
#endif
然而,似乎__STDC_CONSTANT_MACROS
在stdint.h定义。但我仍然得到错误。我试图编译源是在这里: http://ffmpeg.org/doxygen/trunk/decoding__encoding_8c-source.html
感谢,
相关d:[FFMpeg:CFLAGS = -D \ _ \ _ STDC \ _CONSTANT \ _MACROS ./configure where?](http://stackoverflow.com/questions/4010345/ffmpeg-cflags-d-stdc-constant-macros-configure- )[使用FFMPeg与VS2010 express](http://stackoverflow.com/q/16586437/332733) – Mgetz
[\ STDC \ _LIMIT \ _MACROS和\ _ \ _ STDC \ _CONSTANT \ _MACROS是什么意思? ](http://stackoverflow.com/questions/986426/what-do-stdc-limit-macros-and-stdc-constant-macros-mean) –
@Mgetz;该解决方案适用于Ubuntu而不是Visual Studio。 – jax