[FFmpeg-user] Problem with compiling first time

dE . de.techno at gmail.com
Sat Dec 10 17:19:46 CET 2011


On 12/09/11 12:55, charisma tubagus wrote:
> Hi,
>
> I would like to use FFMpeg since I would like to study about video
> encoding.
>
> This is my code (very simple one) since I want to test whether my setting
> up is correct. I am using Visual C++ 2008 Express
>
> #include<libavcodec/avcodec.h>
>> #include<libavformat/avformat.h>
>> int main(int argc, char *argv[])
>> {
>> return 0;
>> }
>
> My error is like this
>
> fatal error C1083: Cannot open include file: 'inttypes.h': No such file or
>> directory
>
> Please suggest me how to solve this problem. Thank you.
>
> Best Regards,
>
> Charisma TS
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
I'm not a coder but what I think might be a problem is the fact that 
ffmpeg libraries follow global coding standard and syntax, while while 
VC follows Microsoft standards and syntax.

Since you use VC, it's designed such that it's apps run only on Windows, 
how would you expect it'll take any non-Microsoft standard library which 
does not break compatibility with any other OS? e.g. Visual C++ doesn't 
follow c99 standard, instead has it's own standards, but ffmpeg 
libraries follow the standards, thus is cross platform.


More information about the ffmpeg-user mailing list