Dear Kris,<br><br>I downloaded STIR2.0 and I still still cannot get further when I use the "make all" command in the STIR directory. I get the following error. Is there anything I can do. I appreciate your help. <br>
<br>Best regards,<br><br>Naser<br><br>/home/ndarwish/STIR/include/stir/Array.inl:170: instantiated from ‘stir::IndexRange<num_dimensions> stir::Array<num_dimensions, elemT>::get_index_range() const [with int num_dimensions = 3, elemT = signed char]’<br>
buildblock/Array.cxx:59: instantiated from here<br>/home/ndarwish/STIR/include/stir/VectorWithOffset.inl:165: error: return type ‘class stir::detail::VectorWithOffset_iter<const stir::IndexRange<2> >’ is incomplete<br>
/home/ndarwish/STIR/include/stir/VectorWithOffset.inl:168: error: invalid use of incomplete type ‘class stir::detail::VectorWithOffset_iter<const stir::IndexRange<2> >’<br>/home/ndarwish/STIR/include/stir/VectorWithOffset.h:50: error: declaration of ‘class stir::detail::VectorWithOffset_iter<const stir::IndexRange<2> >’<br>
/home/ndarwish/STIR/include/stir/VectorWithOffset.inl: In member function ‘void stir::VectorWithOffset<T>::reserve(int, int) [with T = stir::IndexRange<3>]’:<br>/home/ndarwish/STIR/include/stir/VectorWithOffset.inl:479: instantiated from ‘stir::VectorWithOffset<T>& stir::VectorWithOffset<T>::operator=(const stir::VectorWithOffset<T>&) [with T = stir::IndexRange<3>]’<br>
/home/ndarwish/STIR/include/stir/VectorWithOffset.inl:497: instantiated from ‘stir::VectorWithOffset<T>::VectorWithOffset(const stir::VectorWithOffset<T>&) [with T = stir::IndexRange<3>]’<br>/home/ndarwish/STIR/include/stir/IndexRange.inl:58: instantiated from ‘stir::IndexRange<num_dimensions>::IndexRange(const stir::VectorWithOffset<stir::IndexRange<(num_dimensions - 1)> >&) [with int num_dimensions = 4]’<br>
/home/ndarwish/STIR/include/stir/Array.inl:170: instantiated from ‘stir::IndexRange<num_dimensions> stir::Array<num_dimensions, elemT>::get_index_range() const [with int num_dimensions = 4, elemT = short int]’<br>
buildblock/Array.cxx:64: instantiated from here<br>/home/ndarwish/STIR/include/stir/VectorWithOffset.inl:361: error: invalid use of void expression<br>/home/ndarwish/STIR/include/stir/VectorWithOffset.inl: In member function ‘typename stir::VectorWithOffset<T>::const_iterator stir::VectorWithOffset<T>::end() const [with T = stir::IndexRange<3>]’:<br>
<br>