denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] make dist failing


From: Federico Bruni
Subject: Re: [Denemo-devel] make dist failing
Date: Sun, 12 Jan 2014 16:27:01 +0100

Hi Richard

sorry for the late answer

2014/1/4 Richard Shann <address@hidden>
> -I/usr/include/evince/3.0   -DUSE_EVINCE -D_HAVE_FLUIDSYNTH_
> -D_HAVE_RUBBERBAND_   -D_HAVE_PORTAUDIO_ -pthread
> -D_HAVE_PORTMIDI_ -D_HAVE_X11_ -MT sourceaudio.o -MD -MP
> -MF .deps/sourceaudio.Tpo -c -o sourceaudio.o sourceaudio.c
> sourceaudio.c: In function ‘generate_note_onsets’:
> sourceaudio.c:48:3: error: unknown type name
> ‘aubio_onsetdetection_type’
>    aubio_onsetdetection_type type_onset = aubio_onset_kl;

This would imply that the aubio.h is not getting found for
sourceaudio.c

#include <aubio/aubio.h>

is how it is included - what config flags are you using - you need aubio
for that stuff...

I run configure without any option.
I've just run 'make distclean && ./autogen.sh && ./configure && make'

and I get this error:

gcc -DHAVE_CONFIG_H -I. -I..    -I../intl -I../include -I../libs/libsffile -I../pixmaps -DPREFIX=\"/usr/local\" -DBINDIR=\"/usr/local/bin\" -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc/denemo/\" -DPKGDATADIR=\"/usr/local/share/denemo/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPKGNAME=\"denemo\" -DG_LOG_DOMAIN=\"Denemo\"    -g -O2    -I/usr/include/libxml2   -pthread -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm   -I/usr/include/freetype2   -pthread -lgthread-2.0 -lglib-2.0   -lsndfile   -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm   -pthread -I/usr/include/gtksourceview-3.0 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm   -pthread -I/usr/include/gtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/evince/3.0   -DUSE_EVINCE -D_HAVE_FLUIDSYNTH_   -D_HAVE_RUBBERBAND_   -D_HAVE_PORTAUDIO_ -pthread       -D_HAVE_PORTMIDI_ -D_HAVE_X11_ -MT sourceaudio.o -MD -MP -MF .deps/sourceaudio.Tpo -c -o sourceaudio.o sourceaudio.c
sourceaudio.c: In function ‘generate_note_onsets’:
sourceaudio.c:48:3: error: unknown type name ‘aubio_onsetdetection_type’
   aubio_onsetdetection_type type_onset = aubio_onset_kl;
   ^
sourceaudio.c:48:42: error: ‘aubio_onset_kl’ undeclared (first use in this function)
   aubio_onsetdetection_type type_onset = aubio_onset_kl;
                                          ^
sourceaudio.c:48:42: note: each undeclared identifier is reported only once for each function it appears in
sourceaudio.c:49:3: error: unknown type name ‘aubio_onsetdetection_type’
   aubio_onsetdetection_type type_onset2 = aubio_onset_complex;
   ^
sourceaudio.c:49:43: error: ‘aubio_onset_complex’ undeclared (first use in this function)
   aubio_onsetdetection_type type_onset2 = aubio_onset_complex;
                                           ^
sourceaudio.c:62:3: error: unknown type name ‘aubio_onsetdetection_t’
   aubio_onsetdetection_t *o;
   ^
sourceaudio.c:63:3: error: unknown type name ‘aubio_onsetdetection_t’
   aubio_onsetdetection_t *o2;
   ^
sourceaudio.c:67:3: error: unknown type name ‘aubio_pickpeak_t’
   aubio_pickpeak_t *parms;
   ^
sourceaudio.c:78:3: error: too many arguments to function ‘new_fvec’
   ibuf = new_fvec (overlap_size, channels);
   ^
In file included from /usr/include/aubio/aubio.h:164:0,
                 from sourceaudio.c:24:
/usr/include/aubio/fvec.h:77:10: note: declared here
 fvec_t * new_fvec(uint_t length);
          ^
sourceaudio.c:79:3: error: too many arguments to function ‘new_fvec’
   obuf = new_fvec (overlap_size, channels);
   ^
In file included from /usr/include/aubio/aubio.h:164:0,
                 from sourceaudio.c:24:
/usr/include/aubio/fvec.h:77:10: note: declared here
 fvec_t * new_fvec(uint_t length);
          ^
sourceaudio.c:80:3: error: too many arguments to function ‘new_cvec’
   fftgrain = new_cvec (buffer_size, channels);
   ^
In file included from /usr/include/aubio/aubio.h:165:0,
                 from sourceaudio.c:24:
/usr/include/aubio/cvec.h:80:10: note: declared here
 cvec_t * new_cvec(uint_t length);
          ^
sourceaudio.c:83:3: error: too many arguments to function ‘new_aubio_pvoc’
   pv = new_aubio_pvoc (buffer_size, overlap_size, channels);
   ^
In file included from /usr/include/aubio/aubio.h:176:0,
                 from sourceaudio.c:24:
/usr/include/aubio/spectral/phasevoc.h:50:16: note: declared here
 aubio_pvoc_t * new_aubio_pvoc (uint_t win_s, uint_t hop_s);
                ^
sourceaudio.c:85:9: warning: assignment makes pointer from integer without a cast [enabled by default]
   parms = new_aubio_peakpicker (threshold);
         ^
sourceaudio.c:86:5: warning: assignment makes pointer from integer without a cast [enabled by default]
   o = new_aubio_onsetdetection (type_onset, buffer_size, channels);
     ^
sourceaudio.c:90:6: warning: assignment makes pointer from integer without a cast [enabled by default]
   o2 = new_aubio_onsetdetection (type_onset2, buffer_size, channels);
      ^
sourceaudio.c:91:3: error: too many arguments to function ‘new_fvec’
    (1, channels);
   ^
In file included from /usr/include/aubio/aubio.h:164:0,
                 from sourceaudio.c:24:
/usr/include/aubio/fvec.h:77:10: note: declared here
 fvec_t * new_fvec(uint_t length);
          ^
sourceaudio.c:94:3: error: too many arguments to function ‘new_fvec’
    (1, channels);
   ^
In file included from /usr/include/aubio/aubio.h:164:0,
                 from sourceaudio.c:24:
/usr/include/aubio/fvec.h:77:10: note: declared here
 fvec_t * new_fvec(uint_t length);
          ^
sourceaudio.c:103:7: error: incompatible type for argument 2 of ‘sf_read_float’
       sf_read_float (audio->sndfile, ibuf->data[0] + pos, 2);   //g_debug("\t%f", ibuf->data[0][pos]);
       ^
In file included from sourceaudio.c:22:0:
/usr/include/sndfile.h:620:12: note: expected ‘float *’ but argument is of type ‘smpl_t’
 sf_count_t sf_read_float (SNDFILE *sndfile, float *ptr, sf_count_t items) ;
            ^
sourceaudio.c:121:25: error: subscripted value is neither array nor pointer nor vector
           onset->data[0][0] *= onset2->data[0][0];
                         ^
sourceaudio.c:121:47: error: subscripted value is neither array nor pointer nor vector
           onset->data[0][0] *= onset2->data[0][0];
                                               ^
sourceaudio.c: In function ‘open_source_audio’:
sourceaudio.c:223:11: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
           g_static_mutex_lock (&smfmutex);
           ^
sourceaudio.c:225:11: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
           g_static_mutex_unlock (&smfmutex);
           ^
make[2]: *** [sourceaudio.o] Error 1
make[2]: Leaving directory `/home/fede/src/denemo/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fede/src/denemo'
make: *** [all] Error 2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]