[Bf-committers] Problems compiling CVS

Nathan Letwory jesterking at letwory.net
Wed Feb 8 00:19:57 CET 2006


BF_FFMPEG_LIB = 'avcodec avformat vorbis vorbisenc theora ogg dts a52
raw1394 dc1394_control gsm z m'

That should be the correct line. Note, this won't work with blenderplayer
(obviously).

/Nathan

> Oh, yah. For now you'll have to put manually:
>
> BF_FFMPEG_LIB = ['vorbis','vorbisenc', 'theora',
> 'ogg','dts','a52','raw1394','dc1394_control','gsm','z','m']
>
> (the output of 'ffmpeg-config --libs'). Do this in you user-config.py
>
> I'll work on these things when I get the blenderplayer to link properly.
>
> /Nathan
>
>> That won't work. Through Synaptic I found libavcodec-dev and
>> libavformat-dev - both of which were installed.
>>
>> What should I put in BF_FFMPEG_LIB ?
>>
>> Thanks,
>> Mats
>>
>> Nathan Letwory wrote:
>>
>>>sudo apt-get install libavcodec libavformat
>>>
>>>Say yes for all needed dependencies.
>>>
>>>/Nathan
>>>
>>>
>>>>Can this be in any way related (quite a flood)? Ubuntu 5.10, Amd64:
>>>>
>>>>Linking program ==> 'blender'
>>>>/home/mats/cvs/bf-blender-cvs/build/linux2/lib/libsrc.a(hdaudio.o): In
>>>>function `sound_open_hdaudio':
>>>>
>>>>
>>>[clipped the obvious]
>>>
>>>
>>>>/home/mats/cvs/bf-blender-cvs/build/linux2/lib/libblender_imbuf.a(util.o):
>>>>In function `do_init_ffmpeg':
>>>>util.c:(.text+0x1b): undefined reference to `av_register_all'
>>>>collect2: ld returned 1 exit status
>>>>scons: *** [/home/mats/cvs/bf-blender-cvs/build/linux2/bin/blender]
>>>> Error
>>>>1
>>>>scons: building terminated because of errors.
>>>>
>>>>
>>>
>>>
>>>
>>>_______________________________________________
>>>Bf-committers mailing list
>>>Bf-committers at projects.blender.org
>>>http://projects.blender.org/mailman/listinfo/bf-committers
>>>
>>>
>>>
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at projects.blender.org
>> http://projects.blender.org/mailman/listinfo/bf-committers
>>
>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>




More information about the Bf-committers mailing list