FFMpeg:CFLAGS = -D__STDC_CONSTANT_MACROS ./configure在哪里? [英] FFMpeg: CFLAGS=-D__STDC_CONSTANT_MACROS ./configure where?

查看:617
本文介绍了FFMpeg:CFLAGS = -D__STDC_CONSTANT_MACROS ./configure在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



一段时间后,我有了这个问题'在这个范围内没有声明'UINT64_C',而在Ubuntu下运行的ffmpeg库。发现此解决方案: http://code.google.com/p/ffmpegsource / issues / detail?id = 11



但是我不知道该怎么做:



这个应该在我们的构建系统中被修复,不管你使用什么版本的ffmpeg。如果你仍然得到它,运行配置如下所示:
CFLAGS = -D__STDC_CONSTANT_MACROS ./configure
,你的问题应该消失。这适用于使用ffmpeg的其他C ++程序,而不仅仅是ffms2,但是我不能保证其他程序不会破坏,如果你定义了这个宏(他们真的不应该,但是)。
$ b

我可以在哪里运行配置?从航站楼?我尝试使用终端,但它不起作用。



任何人都有一个想法如何运行配置?



感谢提前,您的帮助非常感谢!

解决方案

在目录中运行,您已经提取了ffmpeg源,您会看到configure 文件


I got this problem " 'UINT64_C' was not declared in this scope" while using the ffmpeg library for Eclipse running under Ubuntu.

After a while, I have found this solution: http://code.google.com/p/ffmpegsource/issues/detail?id=11

But I could not know how to this:

This should be fixed in our build system no matter what version of ffmpeg you're using. If you're still getting it, run configure like so: CFLAGS=-D__STDC_CONSTANT_MACROS ./configure and your problems should go away. This applies to other C++ programs using ffmpeg as well and not just to ffms2, but I can't guarantee that other programs won't break if you define that macro (they really shouldn't, though).

Where can I run the configure? from Terminal? I tried with Terminal but it does not work.

Anybody has an idea how to run the configure?

Thanks in advance and your help is much appreciate!

解决方案

run in directory, where you have ffmpeg sources extracted and you see "configure" file

这篇关于FFMpeg:CFLAGS = -D__STDC_CONSTANT_MACROS ./configure在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆