The config files must be generated for the particular architecture, in our case Linux x64.
It was generated by running:$ ./configure --target=x86_64-linux-gcc --disable-vp8 --disable-examples --disable-webm-io --disable-vp9-encoder --disable-avx --disable-sse4_1 --disable-ssse3 --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-runtime_cpu_detect
Any configure problems will be logged in config.log.
This will generate some vpx_config files in the source directory. They don't show up in ‘git status
’ because they are listed in .gitignore
.
Now run “make
” in order to generate vp9_rtcd.h
, vpx_scale_rtcd.h
, and vpx_version.h
.
Everything should build and you should end up with libvpx.a
.
At this point, you should have the following files:
vp9_rtcd.h vpx_config.c vpx_config.h vpx_dsp_rtcd.h vpx_scale_rtcd.h vpx_version.h
Any other generated files can be discarded.
To generate the test data, set LIBVPX_TEST_DATA_PATH
to a local directory, and run ‘make testdata
’.
The list of source files can be generated by running$ make libvpx_srcs.txt
This can be used to update the sources rule in libvpx.gyp
.