title: using external libraries with msys - minGW
body: <p>I want to write and compile C++ code that requires the FLTK 1.3.2 GUI libraries.
  I would like to use minGW with MSYS.<br>
  I have installed minGW and MSYS properly and have been able to build FLTK with ./configure
  make.  Everything worked up to this point.
  Now I am testing the hello program, and can get the compiler to locate the header files, but it returns errors - which I believe are a result of the compiler not finding the location of the FLTK library.  I have looked over the minGW site and it seems the difficulty of getting MSYS to direct the compiler to the correct location is not uncommon.</p>
  
  <p>I have worked with C++ minGW for about a year but am completely new to MSYS.</p>
  
  <p>Here is my command:</p>
  
  <pre><code>c++ Hello.cxx -Lc:/fltk-1.3.2/test -Ic:/fltk-1.3.2 -o Hello.exe
  </code></pre>
  
  <p>(I am not sure if my syntax is correct so any comments are appreciated)</p>
  
  <p>Here is what I get from the compiler:</p>
  
  <pre><code>C:\Users\CROCKE~1\AppData\Local\Temp\ccbpaWGj.o:hello.cxx(.text+0x3c): undefined reference to 'Fl_Window::Fl_Window(int, int, char const*)'
  </code></pre>
  
  <p>... more similar comments...</p>
  
  <pre><code>collect2: ld returned exit status
  </code></pre>
  
  <p>It seems the compiler can't find the function definitions which I believe are in <code>c:/fltk-1.3.2/test.</code></p>
  
  <p>Again, I am a newbie so any help is greatly appreciated.
  Thanks.</p>