title: How to build FFTW in Ubuntu?
body: <p>I have been working on Gesture recognition project. I use XKin gesture recogntion  library <a href="https://github.com/fpeder/XKin" rel="nofollow noreferrer">https://github.com/fpeder/XKin</a>. To compile Xkin i had to install fftw (<a href="http://www.fftw.org/download.html" rel="nofollow noreferrer">http://www.fftw.org/download.html</a>) I build fftw successfully with</p>
  
  <pre><code>./configure  
  make  
  make install
  </code></pre>
  
  <p>But when i build Xkin i got this Error</p>
  
  <p><code>/usr/bin/ld: /usr/local/lib/libfftw3.a(lt4-problem.o): relocation R_X86_64_32 against</code>.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC  </p>
  
  <p>/usr/local/lib/libfftw3.a: error adding symbols: Bad value
  collect2: error: ld returned 1 exit status<br>
  make[2]: <strong>* [lib/posture/libposture.so] Error 1<br>
  make[1]: *</strong> [lib/posture/CMakeFiles/posture.dir/all] Error 2<br>
  make: *** [all] Error 2`</p>