link errors on Linux (avformat_alloc_output_context2) #1

Closed
opened 2015-03-13 18:33:11 +01:00 by GoogleCodeExporter · 4 comments
GoogleCodeExporter commented 2015-03-13 18:33:11 +01:00 (Migrated from github.com)
What steps will reproduce the problem?
1. Download the source for version 3.
2. Install flex, bison, and libavformat-dev. The latter isn't mentioned in the 
readme but seems to be required for the new AGG.
3. make

What is the expected output? What do you see instead?

The linker output is:

objs/ffCanvas.o: In function `ffCanvas::Impl::Impl(char const*, 
aggCanvas::PixelFormat, int, int, int, char*, int)':
ffCanvas.cpp:(.text+0x90): undefined reference to 
`avformat_alloc_output_context2'

What version of the product are you using? On what operating system?

Latest code from mercurial. Ubuntu 12.04. libavformat53 version 
4:0.8.3-0ubuntu0.12.04.1

Original issue reported on code.google.com by mzahniser@gmail.com on 20 Jun 2012 at 12:28

``` What steps will reproduce the problem? 1. Download the source for version 3. 2. Install flex, bison, and libavformat-dev. The latter isn't mentioned in the readme but seems to be required for the new AGG. 3. make What is the expected output? What do you see instead? The linker output is: objs/ffCanvas.o: In function `ffCanvas::Impl::Impl(char const*, aggCanvas::PixelFormat, int, int, int, char*, int)': ffCanvas.cpp:(.text+0x90): undefined reference to `avformat_alloc_output_context2' What version of the product are you using? On what operating system? Latest code from mercurial. Ubuntu 12.04. libavformat53 version 4:0.8.3-0ubuntu0.12.04.1 ``` Original issue reported on code.google.com by `mzahniser@gmail.com` on 20 Jun 2012 at 12:28
GoogleCodeExporter commented 2015-03-13 18:33:12 +01:00 (Migrated from github.com)
More a documentation problem - README.txt should at least include

"Check out src-ffmpeg/README.ffmpeg for building ffmpeg or disabling ffmpeg 
support"

Original comment by vogr...@gmail.com on 24 Nov 2012 at 5:40

``` More a documentation problem - README.txt should at least include "Check out src-ffmpeg/README.ffmpeg for building ffmpeg or disabling ffmpeg support" ``` Original comment by `vogr...@gmail.com` on 24 Nov 2012 at 5:40
GoogleCodeExporter commented 2015-03-13 18:33:12 +01:00 (Migrated from github.com)
README.ffmpeg has been moved to the top level and the suggested reference has 
been added to README.txt

Original comment by j...@glyphic.com on 12 Jan 2013 at 8:01

``` README.ffmpeg has been moved to the top level and the suggested reference has been added to README.txt ``` Original comment by `j...@glyphic.com` on 12 Jan 2013 at 8:01
GoogleCodeExporter commented 2015-03-13 18:33:12 +01:00 (Migrated from github.com)
closing

Original comment by j...@glyphic.com on 12 Jan 2013 at 8:09

  • Changed state: Verified
``` closing ``` Original comment by `j...@glyphic.com` on 12 Jan 2013 at 8:09 - Changed state: **Verified**
GoogleCodeExporter commented 2015-03-13 18:33:12 +01:00 (Migrated from github.com)
Confirmed on Ubuntu 12.04 64-bit for both the current dev version and the 3.0 
release that's currently on the Downloads page. Same error message.

I had just successfully compiled the 3.0beta4 version a couple weeks ago, and 
I've just confirmed that that version still compiles properly by checking out 
that version from mercurial ('hg clone -r Version3beta4_3 
https://code.google.com/p/context-free/ CF3').

Original comment by marius.mather@gmail.com on 22 Jun 2012 at 3:46

``` Confirmed on Ubuntu 12.04 64-bit for both the current dev version and the 3.0 release that's currently on the Downloads page. Same error message. I had just successfully compiled the 3.0beta4 version a couple weeks ago, and I've just confirmed that that version still compiles properly by checking out that version from mercurial ('hg clone -r Version3beta4_3 https://code.google.com/p/context-free/ CF3'). ``` Original comment by `marius.mather@gmail.com` on 22 Jun 2012 at 3:46
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: john/context-free#1
No description provided.