[FFmpeg-user] Ffmpeg build on Ubuntu

Thomas Hehl thomas.hehl at lexmark.com
Fri Dec 4 16:05:52 CET 2015


Made change to the header as requested and re-ran the build. Doesn't look
like much has changed:

thomas at thomas-linux-box:~/ffmpeg_sources/x265/build/linux$ make install
Scanning dependencies of target common
[  1%] Building CXX object
common/CMakeFiles/common.dir/x86/asm-primitives.cpp.o
[ 25%] Building CXX object common/CMakeFiles/common.dir/yuv.cpp.o
[ 44%] Building CXX object common/CMakeFiles/common.dir/deblock.cpp.o
[ 63%] Built target common
Scanning dependencies of target encoder
[ 87%] Building CXX object
encoder/CMakeFiles/encoder.dir/weightPrediction.cpp.o
[ 87%] Built target encoder
Linking CXX static library libx265.a
[ 87%] Built target x265-static
Scanning dependencies of target cli
[ 98%] Building CXX object CMakeFiles/cli.dir/x265.cpp.o
[100%] Building CXX object CMakeFiles/cli.dir/x265-extras.cpp.o
Linking CXX executable x265
[100%] Built target cli
Install the project...
-- Install configuration: "Release"
-- Installing: /home/thomas/ffmpeg_build/lib/libx265.a
-- Installing: /home/thomas/ffmpeg_build/include/x265.h
-- Up-to-date: /home/thomas/ffmpeg_build/include/x265_config.h
-- Up-to-date: /home/thomas/ffmpeg_build/lib/pkgconfig/x265.pc
-- Installing: /home/thomas/ffmpeg_build/bin/x265
thomas at thomas-linux-box:~/ffmpeg_sources/x265/build/linux$ make distclean
make: *** No rule to make target 'distclean'.  Stop.
thomas at thomas-linux-box:~/ffmpeg_sources/x265/build/linux$ cd
~/ffmpeg_build/
thomas at thomas-linux-box:~/ffmpeg_build$ pkg-config --libs x265
Package x265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x265.pc'
to the PKG_CONFIG_PATH environment variable
No package 'x265' found
thomas at thomas-linux-box:~/ffmpeg_build$ (export
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config --libs x265)
-L/home/thomas/ffmpeg_build/lib -lx265
thomas at thomas-linux-box:~/ffmpeg_build$ (export
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config --cflags
x265)
-I/home/thomas/ffmpeg_build/include
thomas at thomas-linux-box:~/ffmpeg_build$ (export
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config --libs
--static x265)
-L/home/thomas/ffmpeg_build/lib -lx265 -lstdc++ -lm -lrt -ldl
thomas at thomas-linux-box:~/ffmpeg_build$ (export
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"; pkg-config --cflags
--static x265)
-I/home/thomas/ffmpeg_build/include


On Fri, Dec 4, 2015 at 9:21 AM, Nicolas George <george at nsup.org> wrote:

> Le quartidi 14 frimaire, an CCXXIV, Thomas Hehl a écrit :
> > ERROR: x265 not found using pkg-config
>
> If this is a snapshot of the latest hg tree, then it is probably because
> the
> "bool" bug. Add "#include <stdbool.h>" somewhere in the beginning of x265.h
> and it should work.
>
> Regards,
>
> --
>   Nicolas George
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>


More information about the ffmpeg-user mailing list