freecycle-users
[Top][All Lists]
Advanced

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

Re: [Freecycle-users] freecycle libinstpatch make error


From: Predrag Viceic
Subject: Re: [Freecycle-users] freecycle libinstpatch make error
Date: Wed, 28 Sep 2005 09:15:13 +0200
User-agent: KMail/1.8.2

Le Mardi 27 Septembre 2005 23:03, vous avez écrit :
> Dnia 27-09-2005, wto o godzinie 18:55 +0200, Viceic Predrag napisał(a):
> > > ok. I have used aubio from freecycle website, changed the only one bin
> > > to abin, but there is still an error:
> >
> > You don't have to change anything with aubio-0.2.0
>
> ok
> I installed aubio without any problems, but still I have problems with
> libinstpatch. Is it possible, that you could compile libinstpatch and
> enable for download?
> Are you sure, that I changed libinstpatch.h.in correctly?

Yes, you have changed it correctly. Don't forget to rerun ./configure, make 
and make install of libinstpatch after you have made those changes. The 
configure scripts reads libinstpatch.h.in and generates the libinstpatch.h

You can verify in the installed includes if the above mentioned chages appear 
in libinstpatch.h.

You can try to symlink libinstpatch includes as well as glib includes 
in /usr/include, or try to add the line

INCLUDEPATH += /usr/local/include

in the src.pro before relaunching qmake for Freecycle

Predrag




> address@hidden libinstpatch]$ cat libinstpatch.h.in
> /*
>  * libinstpatch.h - Main public header file for libInstPatch
>  *
>  * libInstPatch - MIDI instrument patch library
>  * Copyright (C) 1999-2003 Josh Green <address@hidden>
>  *
>  * This program is free software; you can redistribute it and/or
>  * modify it under the terms of the GNU General Public License
>  * as published by the Free Software Foundation; either version 2
>  * of the License, or (at your option) any later version.
>  *
>  * This program is distributed in the hope that it will be useful,
>  * but WITHOUT ANY WARRANTY; without even the implied warranty of
>  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>  * GNU General Public License for more details.
>  *
>  * You should have received a copy of the GNU General Public License
>  * along with this program; if not, write to the Free Software
>  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
>  * 02111-1307, USA or point your web browser to http://www.gnu.org.
>  */
> #ifdef __cplusplus
>         extern "C" {
>                  #endif
> #ifndef __LIB_INST_PATCH_H__
> #define __LIB_INST_PATCH_H__
>
> #include <glib.h>
>
> @CRAM_INCLUDES@
> #include <libinstpatch/builtin_enums.h>
> #include <libinstpatch/IpatchAudioFile.h>
> #include <libinstpatch/IpatchBase.h>
> #include <libinstpatch/IpatchContainer.h>
> #include <libinstpatch/IpatchConverter.h>
> #include <libinstpatch/IpatchConvert_DLS2.h>
> // #include <libinstpatch/IpatchConvert_Gig.h>
> #include <libinstpatch/IpatchConvert_SF2.h>
> #include <libinstpatch/IpatchDLS2Conn.h>
> #include <libinstpatch/IpatchDLS2.h>
> #include <libinstpatch/IpatchDLS2Info.h>
> #include <libinstpatch/IpatchDLS2Inst.h>
> #include <libinstpatch/IpatchDLS2Region.h>
> #include <libinstpatch/IpatchDLS2Sample.h>
> #include <libinstpatch/IpatchDLSFile.h>
> #include <libinstpatch/IpatchDLSReader.h>
> #include <libinstpatch/IpatchDLSWriter.h>
> // #include <libinstpatch/IpatchEditList.h>
> #include <libinstpatch/IpatchFile.h>
> #include <libinstpatch/IpatchGigEffects.h>
> #include <libinstpatch/IpatchGigFile.h>
> #include <libinstpatch/IpatchGig.h>
> #include <libinstpatch/IpatchGigInst.h>
> #include <libinstpatch/IpatchGigRegion.h>
> #include <libinstpatch/IpatchItem.h>
> #include <libinstpatch/IpatchIter.h>
> #include <libinstpatch/IpatchList.h>
> // #include <libinstpatch/IpatchParam.h>
> #include <libinstpatch/IpatchRange.h>
> #include <libinstpatch/IpatchRiffParser.h>
> #include <libinstpatch/IpatchSampleData.h>
> #include <libinstpatch/IpatchSampleFile.h>
> // #include <libinstpatch/IpatchSampleStoreEDL.h>
> #include <libinstpatch/IpatchSampleStoreFile.h>
> #include <libinstpatch/IpatchSampleStore.h>
> #include <libinstpatch/IpatchSampleStoreRAM.h>
> #include <libinstpatch/IpatchSampleStoreROM.h>
> #include <libinstpatch/IpatchSampleStoreSwap.h>
> #include <libinstpatch/IpatchSampleTransform.h>
> #include <libinstpatch/IpatchSF2File.h>
> #include <libinstpatch/IpatchSF2Gen.h>
> #include <libinstpatch/IpatchSF2.h>
> #include <libinstpatch/IpatchSF2Inst.h>
> #include <libinstpatch/IpatchSF2IZone.h>
> #include <libinstpatch/IpatchSF2Mod.h>
> #include <libinstpatch/IpatchSF2Preset.h>
> #include <libinstpatch/IpatchSF2PZone.h>
> #include <libinstpatch/IpatchSF2Reader.h>
> #include <libinstpatch/IpatchSF2Sample.h>
> #include <libinstpatch/IpatchSF2Voices.h>
> #include <libinstpatch/IpatchSF2Writer.h>
> #include <libinstpatch/IpatchSF2Zone.h>
> #include <libinstpatch/IpatchUnit_DLS.h>
> #include <libinstpatch/IpatchUnit.h>
> #include <libinstpatch/IpatchUnit_SF2.h>
> #include <libinstpatch/misc.h>
> #include <libinstpatch/sample.h>
> #include <libinstpatch/version.h>
>
> #endif
>
> #ifdef __cplusplus
>         }
>  #endif
>
> address@hidden libinstpatch]$
>
> > Predrag
> >
> > >  gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -Wall -Werror -Wmissing-prototypes
> > > -Wmissing-declarations -Wno-char-subscripts -Wno-unknown-pragmas -MT
> > > pitchdetection.lo -MD -MP -MF .deps/pitchdetection.Tpo -c
> > > pitchdetection.c  -fPIC -DPIC -o .libs/pitchdetection.o
> > > pitchdetection.c: In function `new_aubio_pitchdetection':
> > > pitchdetection.c:107: error: `aubio_pitchm_bin' undeclared (first use
> > > in this function)
> > > pitchdetection.c:107: error: (Each undeclared identifier is reported
> > > only once
> > > pitchdetection.c:107: error: for each function it appears in.)
> > > make[2]: *** [pitchdetection.lo] Błąd 1
> > > make[2]: Leaving directory `/home/piotr/aubio-0.2.0/src'
> > > make[1]: *** [all] Błąd 2
> > > make[1]: Leaving directory `/home/piotr/aubio-0.2.0/src'
> > > make: *** [all-recursive] Błąd 1
> > > address@hidden aubio-0.2.0]$
> > >
> > > can you help?
> > > thanks
> > > Piotr




reply via email to

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