Hi Ulrich,

The print out of the FFMPEG_INCLUDE_DIRS and FFMPEG_LIBRARIES is a bit
misleading, as it is actually composed on separate strings like CMake
picks up on correctly when passing it to macros that set up paths, but
when you output these variables to the console they get concatenated
together.

To see what is be compiled against do:

  cd src/osgPlugins/ffmpeg
  make VERBOSE=1

What errors do you see some errors in the compilation?   What version
of the ffmpeg are you using?

Robert.

On Tue, Mar 3, 2009 at 8:34 AM, Ulrich Hertlein <u.hertl...@sandbox.de> wrote:
> Hi all,
>
> is anyone else using DarwinPorts ffmpeg/avcodec/avformat and was successful
> in compiling the plugin?
>
> Apparently there's a problem between pkg-config and cmake, "cmake" is giving
> me:
> FFMPEG_INCLUDE_DIRS = /opt/local/include/opt/local/include/dirac
> FFMPEG_LIBRARIES =
> avformatavcodeczbz2a52faacfaadmp3lameschroedinger-1.0pthreadoil-0.3xvidcoredirac_encoderdirac_decoderstdc++theoravorbisencavutilvorbismogg
>
> It's stringing the different include paths and libraries together which of
> course doesn't work.
>
> pkg-config looks good:
> $ pkg-config --cflags libavformat
> -I/opt/local/include -I/opt/local/include/dirac
> $ pkg-config --libs libavformat
> -L/opt/local/lib -lavformat -lavcodec -lz -lbz2 -la52 -lfaac -lfaad
> -lmp3lame -lschroedinger-1.0 -lpthread -loil-0.3 -lxvidcore -ldirac_encoder
> -ldirac_decoder -lstdc++ -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg
>
> Anyone?
> Cheers,
> /ulrich
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to