LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-07-2013, 05:05 AM   #1
JAYANTHI
LQ Newbie
 
Registered: Nov 2013
Posts: 3

Rep: Reputation: Disabled
Compiling Issues:Compiling FFMPEG souce code on Visual Studio 2010


I have downloaded FFMPEG source code(c code) by the following link

http://ffmpeg.zeranoe.com/builds/

After that,I have completed the configuration part and generated and linked the library files [avcodec-54.lib,avdevice-54.lib,avfilter-3.lib,avformat-54.lib,avutil-52.lib,swresample-0.lib,swscale-2.lib ] in Microsoft Visual Studio C++ by creating a new project and i was included all .c and header files.

Referred Links:

http://www.ffmpeg.org/platform.html#...er-for-Windows

http://ramu492.blogspot.in/2013/06/p...odws7-and.html

When I was compiling on Visual studio 2010... I am getting more than 300 errors under all the files libavcodec,libavdevice,libavfilter,libavformat,libavresample,libavutil,libpostproc,libswresample,lib swscale like

ASM ERRORS:

error C2400: inline assembler syntax error in 'opcode'; found 'data type'
error C2065: '__asm__' : undeclared identifier
error C2143: syntax error : missing ';' before 'volatile'

SYNTAX ERRORS

error C2143: syntax error : missing '}' before '.'
error C2143: syntax error : missing ';' before '.'
error C2059: syntax error : '.'
error C2143: syntax error : missing ';' before '}'
error C2059: syntax error : '}'
error C2143: syntax error : missing ';' before '{'
error C2447: '{' : missing function header (old-style formal list?)
error C2059: syntax error : ','
error C2143: syntax error : missing ';' before '{'
error C2447: '{' : missing function header (old-style formal list?)


Please anyone let me know how to compile a ffmpeg c code on vs2010 successfully.
 
Old 11-07-2013, 11:41 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,986

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
you are aware that this is a LINUX forum
and NOT a Microsoft Windows forum

MS's Visual studio dose some very ODD things

you really DO need to post this on a forum with people that are using the old VS 2010

we can tell you how to fix a "syntax error " for the LINUX gcc compiler but NOT a older MS Windows one .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.vcxproj.user (Visual Studio 2010) johnsfine Programming 2 04-06-2013 10:58 AM
Can I use Microsoft Visual Studio 2010 with Red Hat Enterprise Linux 6? Sumit Kumar Pathak Linux - Newbie 2 05-23-2012 07:06 AM
[SOLVED] compiling header file and souce files hmtng Linux - Newbie 3 03-22-2012 03:28 AM
installing visual studio 2010 on ubuntu B055 Linux - Software 2 07-01-2010 02:33 PM


All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration