[Bf-committers] GSOC audio system cleanup branch linking issue @ 1190746325

Johan Meskens CS3 jmcs3 johanmeskenscs3 at chromaticspaceandworld.com
Tue Sep 25 21:10:25 CEST 2007



 Intrah onat Diria .. Mon, 24 Sep 2007 18:45:16 -0700
  , Ken Hughes  wrote  "Noalim y": 


> 
> I got the same error when the linker was looking at my old ffmpeg libraries.
> 
> Ken
> 
> Stephen Swaney wrote:
> > On Mon, Sep 24, 2007 at 10:09:10PM +0200, Johan Meskens CS3 jmcs3 wrote:
> >
> >>  Intrah onat Diria .. Sun, 23 Sep 2007 18:07:11 -0400
> >>   , Stephen Swaney  wrote  "Noalim y":
> >>
> >>
> >>
> >>> On Sun, Sep 23, 2007 at 10:47:27PM +0200, Csaba Hruska wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I have a problem probably with scons build script.
> >>>> For me the compilation works fine and also linking. But many other people
> >>>> said that they have linking problem with ffmpeg.
> >>>>
> >>> There was an update to blender's included ffmpeg today to
> >>> the current ffmpeg version.  if ffmpeg can be said to have versions!
> >>>
> >>> For me with scons, the easiest thing was to install the current
> >>> svn version of ffmpeg into /usr/local (the default),
> >>> set my BF_FFMPEG dir in user-config.py to /usr/local
> >>> and add swscale to the BF_FFMPEG_LIB
> >>>
> >> ok i did just that
> >> but get the following error:
> >>
> >> Compiling ==> 'buildinfo.c'
> >> Linking program ==> 'blender'
> >> /home/interlichtspielhaus/build/linux2/lib/libbf_blenkernel.a(writeffmpeg.o): In function `write_audio_frames':
> >> writeffmpeg.c:(.text+0x16b): undefined reference to `av_init_packet'
> >> /home/interlichtspielhaus/build/linux2/lib/libbf_blenkernel.a(writeffmpeg.o): In function `append_ffmpeg':
> >> writeffmpeg.c:(.text+0x141d): undefined reference to `av_init_packet'
> >> collect2: ld returned 1 exit status
> >> scons: *** [/home/interlichtspielhaus/build/linux2/bin/blender] Error 1
> >> scons: building terminated because of errors.
> >>
> >
> > The symbol av_init_packet lives in libavformat.
> > You should have something like this in your config file:
> >
> > BF_FFMPEG_LIB = 'avformat avcodec avutil swscale'

still no luck for me
 , i uninstalled the old ffmpeg 

i got the following in my linux2-config.py:
..
WITH_BF_FFMPEG = 'true' # -DWITH_FFMPEG
BF_FFMPEG = '/usr'
BF_FFMPEG_INC = '${BF_FFMPEG}/include'
BF_FFMPEG_LIBPATH='${BF_FFMPEG}/lib'
BF_FFMPEG_LIB = 'avformat avcodec swscale avutil'
..

and installed the fresh 'ffmpeg-checkout-2007-09-25' library
with:
./configure --prefix=/usr

result:
..
Compiling ==> 'buildinfo.c'
Linking program ==> 'blender'
/usr/bin/ld: cannot find -lswscale
collect2: ld returned 1 exit status
scons: *** [/home/interlichtspielhaus/build/linux2/bin/blender] Error 1
scons: building terminated because of errors.
interlichtspielhaus at ilaupoleas:~/blender$ 


> >
> >
> 
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers







--------the following could be unreadable @ 1190747420   ::: 
|41
 , 1::@|
 , 0::psuc
 , 0::34
 , 0::-to-AM
 , 0::398
 , 1::xALGORITMO
 , 1::|1
 , 0::_
 , 0::>
 , 0::************
 , 0::+1,
 , 






More information about the Bf-committers mailing list