title: How to compile nana into static lib
body: <p>i downloaded nana c++ gui library. 
  I'm trying to compile this library, under windows.</p>
  
  <p>I'm using this tutorial:
  <a href="http://nanapro.org/en-us/help/instl_lib_doc.htm" rel="nofollow">nanapro.org - Installing nana</a></p>
  
  <blockquote>
    <p>Step Two: Create a static linkage library solution within a IDE which
    you use, and add all the files which are placed in "NanaPath/source"
    and in its all sub directiories to the solution. Then compile the
    solution and you will get a static linkage file NanaStatic in the path
    "NanaPath/build/bin/IDEName".</p>
  </blockquote>
  
  <p>But my output is:</p>
  
  <pre><code>"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .clean-conf
  make[1]: Entering directory '/cygdrive/c/Users/user/Documents/NetBeansProjects/CppStaticLibrary_1'
  rm -f -r build/Debug
  rm -f dist/Debug/Cygwin-Windows/libcppstaticlibrary_1.a
  make[1]: Leaving directory '/cygdrive/c/Users/user/Documents/NetBeansProjects/CppStaticLibrary_1'
  
  
  CLEAN SUCCESSFUL (total time: 2s)
  
  "/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
  make[1]: Entering directory '/cygdrive/c/Users/user/Documents/NetBeansProjects/CppStaticLibrary_1'
  "/usr/bin/make"  -f nbproject/Makefile-Debug.mk dist/Debug/Cygwin-Windows/libcppstaticlibrary_1.a
  make[2]: Entering directory '/cygdrive/c/Users/user/Documents/NetBeansProjects/CppStaticLibrary_1'
  mkdir -p build/Debug/Cygwin-Windows/_ext/2108599812
  rm -f build/Debug/Cygwin-Windows/_ext/2108599812/any.o.d
  g++    -c -g -I../../nana/include -std=c++11 -MMD -MP -MF build/Debug/Cygwin-Windows/_ext/2108599812/any.o.d -o build/Debug/Cygwin-Windows/_ext/2108599812/any.o ../../nana/source/any.cpp
  nbproject/Makefile-Debug.mk:75: recipe for target 'build/Debug/Cygwin-Windows/_ext/2108599812/any.o' failed
  make[2]: *** [build/Debug/Cygwin-Windows/_ext/2108599812/any.o] Error 1
  make[2]: Leaving directory '/cygdrive/c/Users/user/Documents/NetBeansProjects/CppStaticLibrary_1'
  nbproject/Makefile-Debug.mk:66: recipe for target '.build-conf' failed
  make[1]: *** [.build-conf] Error 2
  make[1]: Leaving directory '/cygdrive/c/Users/user/Documents/NetBeansProjects/CppStaticLibrary_1'
  nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
  make: *** [.build-impl] Error 2
  
  
  BUILD FAILED (exit value 2, total time: 1s)
  </code></pre>