G'day all,
I am trying to compile and link a project of mine but am stumped on a linking error. The error reads
/usr/include/g++-3/stl_vector.h:197: undefined reference to 'tracking_gui::images'
the error is repeated for stl_vector.h:320 and 322.
images is declared in the header file as
static std::vector< TG_Image *> images;
the line that uses images within tracking_gui.cpp is --
images.push_back(t);
If anyone has an idea as to what ime doing wrong ide appreciate a reply.
I am trying to compile and link a project of mine but am stumped on a linking error. The error reads
/usr/include/g++-3/stl_vector.h:197: undefined reference to 'tracking_gui::images'
the error is repeated for stl_vector.h:320 and 322.
images is declared in the header file as
static std::vector< TG_Image *> images;
the line that uses images within tracking_gui.cpp is --
images.push_back(t);
If anyone has an idea as to what ime doing wrong ide appreciate a reply.