fftm compile problem

Day, John John.Day at EssexCorp.com
Tue Jun 26 23:18:09 UTC 2007


Hello,

I am trying out vsipl++ 1.3 !A32 binary for Windows/XP and am having a
problem instantiating the fftm templates in your fft.cpp code example
(from the source distribution).

I using MinGW with g++ 3.4.5 and I am getting "error: no type named
`first' in `struct vsip::impl::fft::LibraryTagList'"  (see below for all
messages). I suspect this has something to do with
vsip/opt/dispatch.hpp, but I don't know enough about the architecture to
figure out how to fix it.

 

I have also tried to compile Judd and Cottel vsipl++ beamformer and got
the same error for the fftm template instantiation:
http://hpec-si.com/MinimumVarianceBeamformerExample.pdf Everything else
compiled without error.

 

I know that you recommend the Intel compiler for the Windows binary, but
I'm hoping that g++ 3.4.5 might work with MinGW as I assume it does
under Linux. Has anyone else tried this? Also, has anyone built the
vsipl++ source using MinGW alone (i.e. without Cygwin)? [MinGW provides
a convenient environment for linking gcc/g++/g77 to MSVC runtime, Cygwin
dll's are not required] 

 

Thanks,

John Day

Staff Scientist

Essex Corp.

Melbourne, Fl

 

 

> g++ -c -I/usr/local/include fft.cpp

 

/usr/local/include/vsip/core/fft.hpp: In instantiation of
`vsip::impl::fft_facade<1u, vsip::cscalar_f, vsip::cscalar_f,
vsip::impl::fft::LibraryTagList, -0x000000002,  by_value, 0u,
alg_time>':

/usr/local/include/vsip/core/fft.hpp:432:   instantiated from
`vsip::Fft<vsip::const_Vector, vsip::cscalar_f, vsip::cscalar_f,
-0x000000002,  by_value, 0u,  alg_time>'

fft.cpp:45:   instantiated from here

/usr/local/include/vsip/core/fft.hpp:187: error: no type named `first'
in `struct vsip::impl::fft::LibraryTagList'

 

/usr/local/include/vsip/core/fft.hpp: In instantiation of
`vsip::impl::fft_facade<1u, vsip::cscalar_f, vsip::cscalar_f,
vsip::impl::fft::LibraryTagList, -0x000000001,  by_value, 0u,
alg_time>':

/usr/local/include/vsip/core/fft.hpp:432:   instantiated from
`vsip::Fft<vsip::const_Vector, vsip::cscalar_f, vsip::cscalar_f,
-0x000000001,  by_value, 0u,  alg_time>'

fft.cpp:46:   instantiated from here

/usr/local/include/vsip/core/fft.hpp:187: error: no type named `first'
in `struct vsip::impl::fft::LibraryTagList'

 

/usr/local/include/vsip/core/fft.hpp: In constructor
`vsip::impl::fft_facade<D, I, O, L, S,  by_value, N,
H>::fft_facade(const vsip::Domain<D>&, typename
vsip::impl::fft::base_interface<D, I, O, vsip::impl::fft_facade<D, I, O,
L, S,  by_value, N, H>::axis, vsip::impl::fft_facade<D, I, O, L, S,
by_value, N, H>::exponent>::scalar_type) [with unsigned int D = 1u, I =
vsip::cscalar_f, O = vsip::cscalar_f, L =
vsip::impl::fft::LibraryTagList, int S = -0x000000002, unsigned int N =
0u, vsip::alg_hint_type H =  alg_time]':

/usr/local/include/vsip/core/fft.hpp:439:   instantiated from
`vsip::Fft<V, I, O, S, R, N, H>::Fft(const vsip::Domain<vsip::Fft<V, I,
O, S, R, N, H>::dim>&, typename vsip::impl::fft_facade<vsip::Fft<V, I,
O, S, R, N, H>::dim, I, O, vsip::impl::fft::LibraryTagList, S, R, N,
H>::scalar_type) [with V = vsip::const_Vector, I = vsip::cscalar_f, O =
vsip::cscalar_f, int S = -0x000000002, vsip::return_mechanism_type R =
by_value, unsigned int N = 0u, vsip::alg_hint_type H =  alg_time]'

fft.cpp:45:   instantiated from here

/usr/local/include/vsip/core/fft.hpp:199: error: no type named `first'
in `struct vsip::impl::fft::LibraryTagList'

 

/usr/local/include/vsip/core/fft.hpp: In constructor
`vsip::impl::fft_facade<D, I, O, L, S,  by_value, N,
H>::fft_facade(const vsip::Domain<D>&, typename
vsip::impl::fft::base_interface<D, I, O, vsip::impl::fft_facade<D, I, O,
L, S,  by_value, N, H>::axis, vsip::impl::fft_facade<D, I, O, L, S,
by_value, N, H>::exponent>::scalar_type) [with unsigned int D = 1u, I =
vsip::cscalar_f, O = vsip::cscalar_f, L =
vsip::impl::fft::LibraryTagList, int S = -0x000000001, unsigned int N =
0u, vsip::alg_hint_type H =  alg_time]':

/usr/local/include/vsip/core/fft.hpp:439:   instantiated from
`vsip::Fft<V, I, O, S, R, N, H>::Fft(const vsip::Domain<vsip::Fft<V, I,
O, S, R, N, H>::dim>&, typename vsip::impl::fft_facade<vsip::Fft<V, I,
O, S, R, N, H>::dim, I, O, vsip::impl::fft::LibraryTagList, S, R, N,
H>::scalar_type) [with V = vsip::const_Vector, I = vsip::cscalar_f, O =
vsip::cscalar_f, int S = -0x000000001, vsip::return_mechanism_type R =
by_value, unsigned int N = 0u, vsip::alg_hint_type H =  alg_time]'

fft.cpp:46:   instantiated from here

/usr/local/include/vsip/core/fft.hpp:199: error: no type named `first'
in `struct vsip::impl::fft::LibraryTagList'
 
 
 
 
 
 
 
This electronic message and any files transmitted with it contain information which may be privileged and/or proprietary. The information is intended for use solely by the intended recipient(s). If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this information is prohibited. If you have received this electronic message in error, please advise the sender by reply email or by telephone (301-939-7000) and delete the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20070626/aab7f686/attachment.html>


More information about the vsipl++ mailing list