[Bf-committers] linux compile error

Ejner Fergo ejnersan at gmail.com
Wed Aug 31 03:15:07 CEST 2011


When you compile ffmpeg, you need to enable shared libraries:

./configure --enable-shared
make
sudo make install

Hope that helps (it did for me).

Best regards,
Ejner

On Wed, Aug 31, 2011 at 2:00 AM, Jonathan Smith <j.jaydez at gmail.com> wrote:
> I'm still having problems similar to yours. I followed instructions here:
> http://ubuntuforums.org/showthread.php?t=786095 on how to do it, but I still
> haven't managed to get it to work. For now I've just started compiling with
> WITH_BF_FFMPEG = False
> If anyone figures out the problem it would be great to know.
>
> Cheers,
> Jonathan
>
> On Tue, Aug 30, 2011 at 4:17 AM, INTERLICHTSPIELHAUS <
> interlichtspielhaus at gmail.com> wrote:
>
>> hi
>>
>> so i compiled and installed ffmpeg 0.8.2
>>  , codenamed "love" :-)
>>
>> i get the following blender compilation error:
>>
>>
>> /home/interlichtspielhaus/build/linux/lib/libbf_blenkernel.a(writeffmpeg.o):
>> In function `.L87':
>> writeffmpeg.c:(.text+0xc85): undefined reference to `avio_open'
>> writeffmpeg.c:(.text+0xcbd): undefined reference to `av_dump_format'
>>
>> /home/interlichtspielhaus/build/linux/lib/libbf_blenkernel.a(writeffmpeg.o):
>> In function `end_ffmpeg':
>> writeffmpeg.c:(.text+0x1627): undefined reference to `avio_close'
>>
>> /home/interlichtspielhaus/build/linux/lib/libbf_blenkernel.a(writeffmpeg.o):
>> In function `append_ffmpeg':
>> writeffmpeg.c:(.text+0x1881): undefined reference to `avio_seek'
>> /home/interlichtspielhaus/build/linux/lib/libbf_imbuf.a(anim_movie.o):
>> In function `IMB_anim_absolute':
>> anim_movie.c:(.text+0x1e88): undefined reference to `av_dump_format'
>> /home/interlichtspielhaus/build/linux/lib/libbf_imbuf.a(indexer.o): In
>> function `index_rebuild_ffmpeg.clone.3':
>> indexer.c:(.text+0x1796): undefined reference to `avio_size'
>> indexer.c:(.text+0x1fb4): undefined reference to `avio_open'
>> indexer.c:(.text+0x2218): undefined reference to `avio_close'
>> /home/interlichtspielhaus/build/linux/lib/libge_videotex.a(VideoFFmpeg.o):
>> In function `VideoFFmpeg::openCam(char*, short)':
>> VideoFFmpeg.cpp:(.text+0x930): undefined reference to `av_parse_video_rate'
>> collect2: ld returned 1 exit status
>>
>>
>> is that an error on my end ?
>>
>> thanks
>> inS
>>
>>
>> On Sun, Aug 28, 2011 at 10:54 PM, INTERLICHTSPIELHAUS
>> <interlichtspielhaus at gmail.com> wrote:
>> > hi
>> >
>> > fresh checkout
>> >  , following error:
>> >
>> >
>> > scons: ***
>> [/home/interlichtspielhaus/build/linux/intern/audaspace/ffmpeg/AUD_FFMPEGReader.o]
>> > Error 1
>> > In file included from
>> source/blender/blenkernel/intern/writeffmpeg.c:66:0:
>> > intern/ffmpeg/ffmpeg_compat.h: In function ‘av_get_pts_from_frame’:
>> > intern/ffmpeg/ffmpeg_compat.h:137:23: error: ‘AVFrame’ has no member
>> > named ‘pkt_pts’
>> > intern/ffmpeg/ffmpeg_compat.h:140:16: error: ‘AVFrame’ has no member
>> > named ‘pkt_dts’
>> > intern/ffmpeg/ffmpeg_compat.h:135:48: warning: unused parameter ‘avctx’
>> > scons: ***
>> [/home/interlichtspielhaus/build/linux/source/blender/blenkernel/intern/writeffmpeg.o]
>> > Error 1
>> > scons: building terminated because of errors.
>> >
>> >
>> > i have following version of ffmpeg installed:
>> > 4:0.6.2-1ubuntu1
>> >
>> >
>> > thanks for any help
>> > inS
>> >
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list