[ 16%] Building CXX object CMakeFiles/grid.dir/src/grid.cpp.o /home/USER/src/compiz/compiz++/priv/grid/src/grid.cpp: In member function ‘virtual void GridScreen::donePaint()’: /home/USER/src/compiz/compiz++/priv/grid/src/grid.cpp:770: error: no match for ‘operator[]’ in ‘((GridScreen*)this)->GridScreen::animations[iter]’ /usr/include/c++/4.4/bits/stl_vector.h:610: note: candidates are: typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::reference std::vector<_Tp, _Alloc>::operator[](size_t) [with _Tp = Animation, _Alloc = std::allocator] /usr/include/c++/4.4/bits/stl_vector.h:625: note: typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::const_reference std::vector<_Tp, _Alloc>::operator[](size_t) const [with _Tp = Animation, _Alloc = std::allocator] /home/USER/src/compiz/compiz++/priv/grid/src/grid.cpp:770: error: no match for ‘operator[]’ in ‘((GridScreen*)this)->GridScreen::animations[iter]’ /usr/include/c++/4.4/bits/stl_vector.h:610: note: candidates are: typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::reference std::vector<_Tp, _Alloc>::operator[](size_t) [with _Tp = Animation, _Alloc = std::allocator] /usr/include/c++/4.4/bits/stl_vector.h:625: note: typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::const_reference std::vector<_Tp, _Alloc>::operator[](size_t) const [with _Tp = Animation, _Alloc = std::allocator] make[2]: *** [CMakeFiles/grid.dir/src/grid.cpp.o] Error 1 make[1]: *** [CMakeFiles/grid.dir/all] Error 2 make: *** [all] Error 2