title: opencv 3.0.0 linker error when instantiating Mat object
body: <p>i'm trying to compile a simple opencv program. I've set the environment variables and also set the c++ additional include dir of the project as well as 
  the additional linker directory and input dependencies (opencv_ts300d.lib and opencv_world300d.lib) but i keep getting linker's error for this code :</p>
  
  <pre><code>    #include&lt;iostream&gt;
  #include&lt;opencv2\opencv.hpp&gt;
  #include&lt;cstdio&gt;
  #include &lt;string&gt;
  #include &lt;opencv2\core\core.hpp&gt;
  #include &lt;opencv2\imgcodecs.hpp&gt;
  #include &lt;opencv2\highgui\highgui.hpp&gt;
  
  using namespace std;
  using namespace cv;
  
  int main(int argc, char** argv)
  {
      cv::Mat a;
      return 0;
  }
  </code></pre>
  
  <p>the errors are the following :</p>
  
  <p>Translated:</p>
  
  <blockquote>
    <p>Error     1   error LNK2019: unresolved external symbol "void __cdecl >cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) referenced in function "public: >__thiscall cv::Mat::~Mat(void)" (??1Mat@cv@@QAE@XZ)    C:\Users\Sergio\documents\visual studio
    2013\Projects\opencvtest\opencvtest\Origine.obj   opencvtest</p>
    
    <p>Error     2   error LNK2019: unresolved external symbol "public: void >__thiscall cv::Mat::deallocate(void)" (?deallocate@Mat@cv@@QAEXXZ) referenced >in function "public: void __thiscall cv::Mat::release(void)" (?>release@Mat@cv@@QAEXXZ)     C:\Users\Sergio\documents\visual studio
    2013\Projects\opencvtest\opencvtest\Origine.obj   opencvtest</p>
  </blockquote>
  
  <p>Original: </p>
  
  <blockquote>
    <p>Errore    1   error LNK2019: riferimento al simbolo esterno "void __cdecl
    cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) non risolto nella
    funzione "public: __thiscall cv::Mat::~Mat(void)"
    (??1Mat@cv@@QAE@XZ)   C:\Users\Sergio\documents\visual studio
    2013\Projects\opencvtest\opencvtest\Origine.obj   opencvtest</p>
    
    <p>Errore    2   error LNK2019: riferimento al simbolo esterno "public: void
    __thiscall cv::Mat::deallocate(void)" (?deallocate@Mat@cv@@QAEXXZ) non risolto nella funzione "public: void __thiscall
    cv::Mat::release(void)"
    (?release@Mat@cv@@QAEXXZ) C:\Users\Sergio\documents\visual studio
    2013\Projects\opencvtest\opencvtest\Origine.obj   opencvtest</p>
  </blockquote>