C++ Vector Linking Problem
<p>I keep getting the following link error on Visual Studio C++ 2010 Express,</p>

<pre>
shape.obj : error LNK2019: unresolved external symbol "class std::vector&lt;class rectangle,class std::allocator&lt;class rectangle> > __cdecl rectangleIzer::rectanglizePolygon(class std::vector&lt;class rectangleIzer::myPoint,class std::allocator&lt;class rectangleIzer::myPoint> >)" (?rectanglizePolygon@rectangleIzer@@YA?AV?$vector@Vrectangle@@V?$allocator@Vrectangle@@@std@@@std@@V?$vector@VmyPoint@rectangleIzer@@V?$allocator@VmyPoint@rectangleIzer@@@std@@@3@@Z) referenced in function "public: class std::vector&lt;class rectangle,class std::allocator&lt;class rectangle> > * __thiscall rectangleIzer::shape::rectanglizeCutouts(void)" (?rectanglizeCutouts@shape@rectangleIzer@@QAEPAV?$vector@Vrectangle@@V?$allocator@Vrectangle@@@std@@@std@@XZ)
</pre>

<p>Rectangle.h</p>

<pre><code>#ifndef RECTANGLE_H
#define RECTANGLE_H

#include "myPoint.h"

using namespace std;
using namespace rectangleIzer;

class rectangle {
private:
    myPoint topLeft;
    myPoint bottomRight;

public:
    rectangle(){}
    rectangle(myPoint, myPoint);
    rectangle(float, float, float, float);
    myPoint getTopLeft() {return topLeft;}
    myPoint getBottomRight() {return bottomRight;}

    static float min(float a, float b) {
        if (a &lt; b)
            return a;
        else
            return b;
    }

    static float max(float a, float b) {
        if (a &gt; b )
            return a;
        else
            return b;
    }


};

#endif
</code></pre>

<p>Shape.h</p>

<pre><code>#ifndef SHAPE_H
#define SHAPE_H

#include &lt;vector&gt;
#include "myPoint.h"
#include "rectangle.h"

using namespace std;
using namespace rectangleIzer;

namespace rectangleIzer {

    class shape {
    private:
        vector&lt;myPoint&gt; chaincode;

    public:
        shape() {}
        shape(vector&lt;myPoint&gt; chain) {chaincode = chain;}
        void getExtends(rectangle**);
        vector&lt;rectangle&gt;* rectanglizeCutouts();
    };
}

#endif
</code></pre>
