Opcje kompilatora i linkera dotyczące bibliotek.
Ostatnio zmodyfikowano 2012-02-14 17:47
m4tx |
» 2012-02-14 12:59:55 1. Nie jest to konieczne. 2. Linker => Libraries => Add option => Other option |
|
jsc Temat założony przez niniejszego użytkownika |
» 2012-02-14 13:08:41 1. Nie jest to konieczne. |
Ale jak mam w osobny folderze to pomoże? |
|
m4tx |
» 2012-02-14 13:29:49 Znaczy że co, bo nie rozumiem? |
|
jsc Temat założony przez niniejszego użytkownika |
» 2012-02-14 13:51:31 Właściwie nic. Teraz przekopiowałem, gdzie trzeba, ale dalej wyskakuje mi: "/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory `/e/Documents and Settings/W�a�ciciel/Moje dokumenty/NetBeansProjects/CppApplication_4' "/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW_1-Windows/cppapplication_4.exe make[2]: Entering directory `/e/Documents and Settings/W�a�ciciel/Moje dokumenty/NetBeansProjects/CppApplication_4' mkdir -p build/Debug/MinGW_1-Windows rm -f build/Debug/MinGW_1-Windows/main.o.d g++.exe 'pkg-config --cflags gtk+-2.0' -c -g -MMD -MP -MF build/Debug/MinGW_1-Windows/main.o.d -o build/Debug/MinGW_1-Windows/main.o main.cpp make[2]: Leaving directory `/e/Documents and Settings/W�a�ciciel/Moje dokumenty/NetBeansProjects/CppApplication_4' make[1]: Leaving directory `/e/Documents and Settings/W�a�ciciel/Moje dokumenty/NetBeansProjects/CppApplication_4' g++.exe: error: pkg-config --cflags gtk+-2.0: No such file or directory make[2]: *** [build/Debug/MinGW_1-Windows/main.o] Error 1 make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 1s)
|
|
m4tx |
» 2012-02-14 14:03:31 g++.exe: error: pkg-config --cflags gtk+-2.0: No such file or directory |
Powiedz ty mi no... dlaczego pkg-config --cflags gtk+-2.0 nie jest w grawisach? :) (w tych `) |
|
jsc Temat założony przez niniejszego użytkownika |
» 2012-02-14 14:14:49 Nawiasy ustawiłem, ale znowu wyskakuje mi: "/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory `/e/Documents and Settings/W�a�ciciel/Moje dokumenty/NetBeansProjects/CppApplication_4' "/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW_1-Windows/cppapplication_4.exe make[2]: Entering directory `/e/Documents and Settings/W�a�ciciel/Moje dokumenty/NetBeansProjects/CppApplication_4' mkdir -p build/Debug/MinGW_1-Windows rm -f build/Debug/MinGW_1-Windows/main.o.d g++.exe `pkg-config --cflags gtk+-2.0` -c -g -MMD -MP -MF build/Debug/MinGW_1-Windows/main.o.d -o build/Debug/MinGW_1-Windows/main.o main.cpp /bin/sh: pkg-config: command not found make[2]: Leaving directory `/e/Documents and Settings/W�a�ciciel/Moje dokumenty/NetBeansProjects/CppApplication_4' make[1]: Leaving directory `/e/Documents and Settings/W�a�ciciel/Moje dokumenty/NetBeansProjects/CppApplication_4' main.cpp:1:21: fatal error: gtk/gtk.h: No such file or directory compilation terminated. make[2]: *** [build/Debug/MinGW_1-Windows/main.o] Error 1 make[1]: *** [.build-conf] Error 2 make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 2s)
|
|
m4tx |
» 2012-02-14 14:24:49 Omg... Masz napisane... /bin/sh: pkg-config: command not found |
I nie nawiasy tylko grawisy. |
|
jsc Temat założony przez niniejszego użytkownika |
» 2012-02-14 17:47:49 Dobra już jakoś wyprowadziłem pkg-config tam gdzie go widać. Pozostaje mi problem pod tytułem main.cpp:1:21: fatal error: gtk/gtk.h: No such file or directory |
|
1 « 2 » |