Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
'UINT64_C' was not declared in this scope #11
From yxmline on May 02, 2010 05:28:36
Configuration information there is detailed information in the info.txt
In file included from D:/WinLinux/Minsys/local/include/libavutil/
Original issue: http://code.google.com/p/ffmpegsource/issues/detail?id=11
From rotmer on May 03, 2010 06:49:04
The same issue i'm getting here when compiling chromium with ffmpeg from svn:
In file included from /usr/include/libavutil/avutil.h:81:0,
From kalle.blomster on June 22, 2010 01:42:54
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:
From walt.j.white on October 22, 2011 12:12:02
Can someone offer some help here:
I'm still getting this error, even after typing "CXXFLAGS=-D__STDC_CONSTANT_MACROS ./configure" at the command line. I'm using Ubuntu 11.04 (natty) and openCV 2.3.1.
the make output looks like:
I've also seen here ( https://bugs.launchpad.net/ubuntu/+source/opencv/+bug/685500 ) that C++ Applications including FFmpeg Headers need to define
any help is much appreciated, and thanks in advance,
From walt.j.white on October 23, 2011 05:09:25
Kalle, can you point to a location where this is solved? Looks like several other posts here are regarding this exact topic. If you know of a more appropriate location to discuss this, how about including a link to it.
When I using the "work around" in the build system I still get the same problem stated above... if ffmpeg guys aren't doing anything to fix this, it looks like there is an opportunity (and need) to clarify the solution to make this work correctly, and this looks like the right location to do that.
thanks in advance,
From kalle.blomster on October 25, 2011 18:00:45
The unfortunate fact that this bug report shows up near the top of search results for queries like "ffmpeg UINT64_C not defined" does not make it "the right location" to ask questions about a vaguely related problem with a similar error message that appears in a completely unrelated software package.
Just in case it wasn't clear, let me point out that this is not the opencv issue tracker. It is not the ffmpeg issue tracker, either. It is the issue tracker for the library known as ffmpegsource (or ffms2), and the purpose of it is to track bugs and other issues in that library, and that library only. Your issue, on the other hand, does not have anything to do with ffmpegsource, and prior to your post I had never heard about the library you are having problems with. I cannot solve your issue for you, nor am I in any better position to find a solution elsewhere than you are.
All of that being said, I can at least give you one general hint. Your problem is almost certainly caused by __STDC_CONSTANT_MACROS not being defined at the point in the build process where libavutil/common.h tries to #include <stdint.h>. Find a way to make it defined at that point and your problem will most likely go away. Since I have no experience whatsoever with the library you are attempting to build and very little experience with its build system, I have no suggestions on how to accomplish that.
This is as far as I can help you; now go forth and seek help elsewhere.