Building samplecat on Ubuntu 18

Link to good samples/soundfonts at http://wiki.linuxaudio.org/wiki/free_audio_data

Moderators: khz, MattKingUSA

martibs
Established Member
Posts: 21
Joined: Mon Oct 15, 2018 7:06 pm

Building samplecat on Ubuntu 18

Postby martibs » Wed Jul 03, 2019 2:32 pm

I'm trying to build samplecat (stable version) on Ubuntu 19.04. It seems ffmpeg support is not possible, even though I've installed all the ffmpeg related packages. It's possible to disable ffmpeg (--disable-ffmpeg) in the configure script, however, but when I try to build it, it still fails:

Code: Select all

audio_file.c:32:25: error: unknown type name ‘FF’; did you mean ‘WF’?
 static bool wf_ff_info (FF*);
                         ^~
                         WF
audio_file.c: In function ‘wf_ff_init’:
audio_file.c:41:3: warning: implicit declaration of function ‘av_register_all’ [-Wimplicit-function-declaration]
   av_register_all();
   ^~~~~~~~~~~~~~~
audio_file.c:42:3: warning: implicit declaration of function ‘avcodec_register_all’ [-Wimplicit-function-declaration]
   avcodec_register_all();
   ^~~~~~~~~~~~~~~~~~~~
audio_file.c:43:3: warning: implicit declaration of function ‘av_log_set_level’; did you mean ‘g_log_set_handler’? [-Wimplicit-function-declaration]
   av_log_set_level(wf_debug > 1 ? AV_LOG_VERBOSE : AV_LOG_QUIET);
   ^~~~~~~~~~~~~~~~
   g_log_set_handler
audio_file.c:43:35: error: ‘AV_LOG_VERBOSE’ undeclared (first use in this function)
   av_log_set_level(wf_debug > 1 ? AV_LOG_VERBOSE : AV_LOG_QUIET);
                                   ^~~~~~~~~~~~~~
audio_file.c:43:35: note: each undeclared identifier is reported only once for each function it appears in
audio_file.c:43:52: error: ‘AV_LOG_QUIET’ undeclared (first use in this function)
   av_log_set_level(wf_debug > 1 ? AV_LOG_VERBOSE : AV_LOG_QUIET);
                                                    ^~~~~~~~~~~~
audio_file.c: At top level:
audio_file.c:49:12: error: unknown type name ‘FF’; did you mean ‘WF’?
 wf_ff_open(FF* f, const char* infilename)
            ^~
            WF
audio_file.c:108:13: error: unknown type name ‘FF’; did you mean ‘WF’?
 wf_ff_close(FF* f)
             ^~
             WF
audio_file.c:115:12: error: unknown type name ‘FF’; did you mean ‘WF’?
 wf_ff_info(FF* f)
            ^~
            WF
audio_file.c:149:12: error: unknown type name ‘FF’; did you mean ‘WF’?
 wf_ff_read(FF* f, float* d, size_t len)
            ^~
            WF
audio_file.c:137:1: warning: ‘int16_to_float’ defined but not used [-Wunused-function]
 int16_to_float(int16_t* in, float* out, int num_channels, int num_samples, int out_offset)
 ^~~~~~~~~~~~~~
audio_file.c:36:1: warning: ‘wf_ff_init’ defined but not used [-Wunused-function]
 wf_ff_init()

Return to “Samplers & samples”

Who is online

Users browsing this forum: No registered users and 1 guest