Hi,
I am getting following compilation error. Request your help in resolving this issue.
Linux paresh-desktop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
I followed the step as mentioned at "How to install IMTAphy from launchpad.net" on http://www.lkn.ei.tum.de/personen/jan/imtaphy/
openwns-sdk$ ./playground.py install && ./playground.py install --flavour=opt
......
g++ -o .build/dbg/imtaphy/src/spatialChannel/m2135/M2135.os -c -g -O0 -fno-inline -m32 -fno-ipa-cp-clone -fopenmp -fPIC -DMKL=1 -I.include -I/usr/include/python2.6 -I/opt/intel/composer_xe_2011_sp1.7.256/mkl/include modules/phy/imtaphy/src/spatialChannel/m2135/M2135.cpp
In file included from /usr/include/c++/4.4/vector:65,
from .include/WNS/Backtrace.hpp:32,
from .include/WNS/Exception.hpp:32,
from .include/WNS/PowerRatio.hpp:33,
from .include/IMTAPHY/spatialChannel/SpatialChannelModelInterface.hpp:33,
from .include/IMTAPHY/spatialChannel/m2135/M2135.hpp:33,
from modules/phy/imtaphy/src/spatialChannel/m2135/M2135.cpp:30:
/usr/include/c++/4.4/bits/stl_vector.h: In member function 'void std::vector<_Tp, _Alloc>::_M_initialize_dispatch(_Integer, _Integer, std::__true_type) [with _Integer = int, _Tp = imtaphy::scm::m2135::Phases*, _Alloc = std::allocator<imtaphy::scm::m2135::Phases*>]':
/usr/include/c++/4.4/bits/stl_vector.h:303: instantiated from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = int, _Tp = imtaphy::scm::m2135::Phases*, _Alloc = std::allocator<imtaphy::scm::m2135::Phases*>]'
modules/phy/imtaphy/src/spatialChannel/m2135/M2135.cpp:356: instantiated from 'void imtaphy::scm::m2135::M2135<PRECISION>::onWorldCreated(imtaphy::LinkManager*, imtaphy::lsparams::LSmap*, bool) [with PRECISION = double]'
modules/phy/imtaphy/src/spatialChannel/m2135/M2135.cpp:1150: instantiated from here
/usr/include/c++/4.4/bits/stl_vector.h:991: error: invalid conversion from 'int' to 'imtaphy::scm::m2135::Phases*'
/usr/include/c++/4.4/bits/stl_vector.h:991: error: initializing argument 2 of 'void std::vector<_Tp, _Alloc>::_M_fill_initialize(size_t, const _Tp&) [with _Tp = imtaphy::scm::m2135::Phases*, _Alloc = std::allocator<imtaphy::scm::m2135::Phases*>]'
scons: *** [.build/dbg/imtaphy/src/spatialChannel/m2135/M2135.os] Error 1
scons: building terminated because of errors.
Earlier i got compilation error and i changed the arch in ./modules/phy/imtaphy/SConscript from -m64 to -m32.