Re: [Faudiostream-users] Fftw foreign function

2024-02-18 Thread johannphilippe
A common linking issue with fftw is that you are using (and not linking) à 
specific precision for fftw (fftwf or fftwl). See 
https://www.fftw.org/fftw3_doc/Precision.html

--
Johann PHILIPPE

Electroacoustic composer & computer music designer

+33 6 77 20 98 41


 Message d'origine 
> De : Francesco Vitucci 
> À : Stéphane Letz 
> Sujet : Re: [Faudiostream-users] Fftw foreign function
> Date : 18/02/2024 10:27:20 Europe/Paris
> Copie à : faudiostream-users@lists.sourceforge.net
> 
> Ok,
> Thanks so much, I'll try to ask there.
> 
> Francesco Vitucci
> 
> 
> Il dom 18 feb 2024, 10:03 Stéphane Letz  ha scritto:
> 
> > This seems more a link issue, not really related to Faust by itself right 
> ?
> >
> > In any case we can possibly chat and try to help on Faust Discord:
> > https://faust.grame.fr/community/help/#faust-on-discord
> >
> > Stéphane
> >
> > > Le 18 févr. 2024 à 09:58, Francesco Vitucci  a
> > écrit :
> > >
> > > Good morning,
> > > I'm trying to use fftw to write a foreign function that can perform 
> some
> > tasks based on the Fourier transform. I don't know if it will be possible
> > to use it, for the moment it is only an attempt.
> > > At the moment, in the same folder, there are the .dsp file and the .h
> > file (with the inclusion of fftw3.h, the foreign function declared and
> > written).  When I try to invoke any faust2..., I get "Undefined symbols 
> for
> > architecture x86_64" errors followed by the names of some functions from
> > the fftw package.  I installed this library via homebrew and I think the
> > problem at the moment may be that the gcc compiler doesn't point towards
> > the library.  What do you think?  I would like to find a way to solve it.
> > >
> > > Thank you very much
> > >
> > > Francesco Vitucci
> > > ___
> > > Faudiostream-users mailing list
> > > Faudiostream-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> >
> >
> 
> 
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 
> 





___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Fftw foreign function

2024-02-18 Thread Francesco Vitucci
Ok,
Thanks so much, I'll try to ask there.

Francesco Vitucci


Il dom 18 feb 2024, 10:03 Stéphane Letz  ha scritto:

> This seems more a link issue, not really related to Faust by itself right ?
>
> In any case we can possibly chat and try to help on Faust Discord:
> https://faust.grame.fr/community/help/#faust-on-discord
>
> Stéphane
>
> > Le 18 févr. 2024 à 09:58, Francesco Vitucci  a
> écrit :
> >
> > Good morning,
> > I'm trying to use fftw to write a foreign function that can perform some
> tasks based on the Fourier transform. I don't know if it will be possible
> to use it, for the moment it is only an attempt.
> > At the moment, in the same folder, there are the .dsp file and the .h
> file (with the inclusion of fftw3.h, the foreign function declared and
> written).  When I try to invoke any faust2..., I get "Undefined symbols for
> architecture x86_64" errors followed by the names of some functions from
> the fftw package.  I installed this library via homebrew and I think the
> problem at the moment may be that the gcc compiler doesn't point towards
> the library.  What do you think?  I would like to find a way to solve it.
> >
> > Thank you very much
> >
> > Francesco Vitucci
> > ___
> > Faudiostream-users mailing list
> > Faudiostream-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
>
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Fftw foreign function

2024-02-18 Thread Stéphane Letz
This seems more a link issue, not really related to Faust by itself right ?

In any case we can possibly chat and try to help on Faust Discord: 
https://faust.grame.fr/community/help/#faust-on-discord

Stéphane 

> Le 18 févr. 2024 à 09:58, Francesco Vitucci  a écrit :
> 
> Good morning,
> I'm trying to use fftw to write a foreign function that can perform some 
> tasks based on the Fourier transform. I don't know if it will be possible to 
> use it, for the moment it is only an attempt.
> At the moment, in the same folder, there are the .dsp file and the .h file 
> (with the inclusion of fftw3.h, the foreign function declared and written).  
> When I try to invoke any faust2..., I get "Undefined symbols for architecture 
> x86_64" errors followed by the names of some functions from the fftw package. 
>  I installed this library via homebrew and I think the problem at the moment 
> may be that the gcc compiler doesn't point towards the library.  What do you 
> think?  I would like to find a way to solve it.
> 
> Thank you very much
> 
> Francesco Vitucci
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users



___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users