title: Linking issue with Armadillo / QtCreator / Qt 5.5 / Mac (OS X El Capitan 10.11.2)
body: <p>I'm facing a problem with the combination Armadillo C++ Linear Algebra library with Qt 5.5.1 (Clang 6.1 (Apple), 64 bit) in QtCreator.</p>
  
  <p>The error I get is the following:</p>
  
  <pre><code>Undefined symbols for architecture x86_64:
  
   "_wrapper_dgels_", referenced from:
    void arma::lapack::gels&lt;double&gt;(char*, int*, int*, int*, double*, int*, double*, int*, double*, int*, int*) in simulation.o
   "_wrapper_dgelsd_", referenced from:
    void arma::lapack::gelsd&lt;double&gt;(int*, int*, int*, double*, int*, double*, int*, double*, double*, int*, double*, int*, int*, int*) in simulation.o
   "_wrapper_dgesv_", referenced from:
    void arma::lapack::gesv&lt;double&gt;(int*, int*, double*, int*, int*, double*, int*, int*) in simulation.o
   "_wrapper_dgesvx_", referenced from:
    void arma::lapack::gesvx&lt;double&gt;(char*, char*, int*, int*, double*, int*, double*, int*, int*, char*, double*, double*, double*, int*, double*, int*, double*, double*, double*, double*, int*, int*) in simulation.o
   "_wrapper_ilaenv_", referenced from:
    arma::lapack::laenv(int*, char*, char*, int*, int*, int*, int*) in simulation.o
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  make: *** [shpeck.app/Contents/MacOS/shpeck] Error 1
  </code></pre>
  
  <p>Naturally, I've already tried some workarounds:</p>
  
  <p>1) Checking if Armadillo was being correctly imported and could be used (AT ALL). Yes, it is correctly imported and could be used, I found out  that the problem is in this line:</p>
  
  <pre><code>solver = solve(jacobian,residualResults);
  </code></pre>
  
  <p>When I comment this line out the code works properly. For some reason the method is not recognized.</p>