source buid fails, missing samplreate.h

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
miltmobley
Posts: 1
Joined: Sun Oct 14, 2018 8:22 pm

source buid fails, missing samplreate.h

Post by miltmobley »

Description of problem or question:
Build from source fails. Used both zip file and git clone.
The file samplerate.h (needed by sync.c) is missing from libhb folder.
what to do?




Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):
1.1.2



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
opensuse leap 15.0



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g0 -O3 -mfpmath=sse -msse2 -DUSE_LIBAV_AAC -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_X265 -DHAS_STRERROR_R -DARCH_X86_64 -I./libhb/ -I./contrib/include -I/usr/include/libxml2 -c ../libhb/sync.c -o libhb/sync.o
../libhb/sync.c:13:10: fatal error: samplerate.h: No such file or directory
 #include "samplerate.h"
          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [../libhb/module.rules:12: libhb/sync.o] Error 1
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: source buid fails, missing samplreate.h

Post by s55 »

Instructions for building, including installing the required dependencies is here: https://handbrake.fr/docs/en/1.1.0/deve ... linux.html
Post Reply