Re: [Discuss-gnuradio] FFTW3 runtime error

2014-03-04 Thread Activecat
Dear Marcus, Thank you very much. As according to your guideline, the runtime error has been solved. With some minor modification to the work() function, now the flow graph executes without any error. Cheers, Activecat On Tue, Mar 4, 2014 at 6:02 PM, Marcus Müller wrote: > -BEGIN PGP SI

Re: [Discuss-gnuradio] FFTW3 runtime error

2014-03-04 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry, forgot to mention: additionally to the solution in my answer to Sabathy, add ${FFTW3(F)_LIBRARIES} to your lib/CMakeLists.txt target_link_libraries, also add: link_directories(${FFTW3F_LIBRARY_DIRS}) Greetings, Marcus On 04.03.2014 10:59, Marc

Re: [Discuss-gnuradio] FFTW3 runtime error

2014-03-04 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Activecat, your sourcecode should be fine - what you see is an error that tells you that at runtime, a symbol could not be found. This means that the fftw library has not been linked against. On 2014-02-26 there was a thread on discuss-gnuradio wit

Re: [Discuss-gnuradio] FFTW3 runtime error

2014-03-03 Thread Activecat
The implementation header file is as below: #ifndef INCLUDED_ACTIVECAT_FFT1_IMPL_H #define INCLUDED_ACTIVECAT_FFT1_IMPL_H #include #include namespace gr { namespace activecat { class fft1_impl : public fft1 { private: int d_N; int d_direction; int d_shift;

[Discuss-gnuradio] FFTW3 runtime error

2014-03-03 Thread Activecat
Dear Sir, I am trying to build a custom block with FFT capability. I use FFTW3, the FFT stuff runs well as a standalone program before integrating into gnuradio. Then I integrate the FFT function into the block, it compiles without any error. But when I run the flow graph in GRC, it produces foll