Your library was not compiled. Remove this code. Last time I write example that won't work with your solution because you use static_cast (see vector.h:154)