title: Using Armadillo library; Linking Error with BLAS and LAPACK
body: <p>I am trying to compile and run the sample in example2.cpp from Armadillo, using the pre-compiled blas and lapack dll files provided. This is what I didin Visual C++ 2013:</p>
  
  <p>1) I set up a new and empty win32 console application project;</p>
  
  <p>2) Add a new and empty cpp file called test.cpp.</p>
  
  <p>3) I copyed the content of example2.cpp into this test.cpp file.</p>
  
  <p>4) In the project properties->C/C++->Additional Include Directories, I added the path of the "include" folder from the Armadillo library.</p>
  
  <p>5) In project properties->linker->General->Additional Library Directories, I added the path
  of the folder in which the pre-compiled blas and lapack dlls are lacating (the corresponding lib files are in the same folder);</p>
  
  <p>6) In project properties->linker->Input->Additional Dependencies, I added the lib files for the pre-compiled blas and lapack dlls, i.e. blas_win64_MT.lib and lapack_win64_MT.lib.</p>
  
  <p>Then I compile the whole project, and still got a lot of LNK2019 error, indicating there are unresolved symbols when referring to blas and lapack routines. </p>
  
  <p>Can someone help me to figure out what is going on here?</p>