You are not logged in.

#1 2007-01-09 14:17:59

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

[solved] rfftw.h needed

Hi,

I trie to build ams-1.8.7
http://sourceforge.net/projects/alsamodular/

I get this error running make

make
g++ -DQT_THREAD_SUPPORT -I/opt/qt/include -DLADSPA_PATH="/usr/lib/ladspa/" -I/usr/X11R6/include -I. -O2 -Wall   -c -o synthdata.o synthdata.cpp
In file included from configdialog.h:34,
                 from module.h:24,
                 from m_env.h:20,
                 from synthdata.cpp:7:
spectrumscreen.h:15:19: error: rfftw.h: No such file or directory
spectrumscreen.h:53: error: 'fftw_real' does not name a type
spectrumscreen.h:54: error: ISO C++ forbids declaration of 'fftw_real' with no type
spectrumscreen.h:54: error: expected ';' before '*' token
spectrumscreen.h:55: error: ISO C++ forbids declaration of 'fftw_real' with no type
spectrumscreen.h:55: error: expected ';' before '*' token
spectrumscreen.h:56: error: ISO C++ forbids declaration of 'fftw_real' with no type
spectrumscreen.h:56: error: expected ';' before '*' token
spectrumscreen.h:57: error: 'rfftw_plan' does not name a type
synthdata.cpp: In member function 'float SynthData::exp_table(float)':
synthdata.cpp:216: warning: converting to 'int' from 'double'
synthdata.cpp: In member function 'void* SynthData::alsa_thr_main()':
synthdata.cpp:326: warning: comparison between signed and unsigned integer expressions
synthdata.cpp: In member function 'void SynthData::call_modules()':
synthdata.cpp:487: warning: comparison between signed and unsigned integer expressions
synthdata.cpp:488: warning: comparison between signed and unsigned integer expressions
synthdata.cpp:489: warning: comparison between signed and unsigned integer expressions
synthdata.cpp:490: warning: comparison between signed and unsigned integer expressions
synthdata.cpp:491: warning: comparison between signed and unsigned integer expressions
make: *** [synthdata.o] Error 1

package FFTW is installed but the rfftw.h file is not on my system.
I ckecked the file-lists of the packages FFTW and FFTW2 but they don't contain rfftw.h

fftw contains fftw3.h

and fftw2 contains

usr/include/dfftw.h
usr/include/dfftw_threads.h
usr/include/drfftw.h
usr/include/drfftw_threads.h
usr/include/sfftw.h
usr/include/sfftw_threads.h
usr/include/srfftw.h
usr/include/srfftw_threads.h

Is any of these fiels compatible with the needed rfftw.h ?
If so, could I modify the include line in spectrumscreen.h from

#include <rfftw>

to e.g.

#include <fftw3>

?


EDIT
ok, I installed fftw2double from AUR. It contains rfftw.h

Offline

Board footer

Powered by FluxBB