jeudi 4 septembre 2014

How to compile nana into static lib


Vote count:

0




i downloaded nana c++ gui library. I'm using this tutorial: http://ift.tt/1CvmVGB



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".



But my output is:



"/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)


asked 1 min ago







How to compile nana into static lib

Aucun commentaire:

Enregistrer un commentaire