| Error
1 error LNK2019: unresolved
external symbol __imp_??1QApplication@@UAE@XZ referenced in function
_wmain
EssaiConsoleHelloWorld.obj Error 2 error LNK2019: unresolved external symbol __imp_??1QPushButton@@UAE@XZ referenced in function _wmain EssaiConsoleHelloWorld.obj Error 3 error LNK2019: unresolved external symbol __imp_?exec@QApplication@@SAHXZ referenced in function _wmain EssaiConsoleHelloWorld.obj Error 4 error LNK2019: unresolved external symbol __imp_?show@QWidget@@QAEXXZ referenced in function _wmain EssaiConsoleHelloWorld.obj Error 5 error LNK2019: unresolved external symbol __imp_?resize@QWidget@@QAEXHH@Z referenced in function _wmain EssaiConsoleHelloWorld.obj Error 6 error LNK2019: unresolved external symbol __imp_??1QString@@QAE@XZ referenced in function _wmain EssaiConsoleHelloWorld.obj Error 7 error LNK2019: unresolved external symbol __imp_??0QPushButton@@QAE@ABVQString@@PAVQWidget@@@Z referenced in function _wmain EssaiConsoleHelloWorld.obj Error 8 error LNK2019: unresolved external symbol __imp_??0QString@@QAE@PBD@Z referenced in function _wmain EssaiConsoleHelloWorld.obj Error 9 error LNK2019: unresolved external symbol __imp_??0QApplication@@QAE@AAHPAPAD@Z referenced in function _wmain EssaiConsoleHelloWorld.obj Error 10 fatal error LNK1120: 9 unresolved externals c:\Documents and Settings\Gilles\My Documents\Visual Studio 2005\Projects\EssaiConsoleHelloWorld\EssaiConsoleHelloWorld\Debug\EssaiConsoleHelloWorld.exe 1 |
| ../HelloWorld/main.o(.text+0x17a):main.cpp:
undefined reference to
`_imp___ZN12QApplicationC1ERiPPc' ../HelloWorld/main.o(.text+0x1bd):main.cpp: undefined reference to `_imp___ZN11QPushButtonC1ERK7QStringP7QWidget' ../HelloWorld/main.o(.text+0x247):main.cpp: undefined reference to `_imp___ZN12QApplication4execEv' ../HelloWorld/main.o(.text+0x264):main.cpp: undefined reference to `QPushButton::~QPushButton()' ../HelloWorld/main.o(.text+0x279):main.cpp: undefined reference to `QApplication::~QApplication()' ../HelloWorld/main.o(.text+0x2dc):main.cpp: undefined reference to `QPushButton::~QPushButton()' ../HelloWorld/main.o(.text+0x309):main.cpp: undefined reference to `QApplication::~QApplication()' ../HelloWorld/main.o(.text$_ZN7QWidget6resizeEii[QWidget::resize(int, int)]+0x2d):main.cpp: undefined reference to `_imp___ZN7QWidget6resizeERK5QSize' ../HelloWorld/main.o(.text$_ZN7QStringD1Ev[QString::~QString()]+0x20):main.cpp: undefined reference to `_imp___ZN7QString4freeEPNS_4DataE' ../HelloWorld/main.o(.text$_ZN7QStringC1EPKc[QString::QString(char const*)]+0x39):main.cpp: undefined reference to `_imp___ZN7QString11shared_nullE' ../HelloWorld/main.o(.text$_ZN7QStringC1EPKc[QString::QString(char const*)]+0x69):main.cpp: undefined reference to `_imp___ZN7QString9fromAsciiEPKci' ../HelloWorld/main.o(.text$_ZN7QStringC1EPKc[QString::QString(char const*)]+0x80):main.cpp: undefined reference to `_imp___ZN7QStringaSERKS_'7 |
| Compilateur:
Default compiler Exécution de make... mingw32-make -f "Makefile" all mingw32-make -f Makefile.Debug all mingw32-make[1]: Entering directory `C:/Documents and Settings/Gilles/My Documents/Visual Studio 2005/Projects/Dev-C++HelloWorld' g++ -c -g -g -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"C:/Qt/4.0.0/include/QtGui" -I"C:/Qt/4.0.0/include/QtCore" -I"C:/Qt/4.0.0/include" -I"." -I"C:/Qt/4.0.0/include/ActiveQt" -I"debug" -I"." -I"C:\Qt\4.0.0\mkspecs\win32-g++" -o debug\main.o main.cpp g++ -c -g -g -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"C:/Qt/4.0.0/include/QtGui" -I"C:/Qt/4.0.0/include/QtCore" -I"C:/Qt/4.0.0/include" -I"." -I"C:/Qt/4.0.0/include/ActiveQt" -I"debug" -I"." -I"C:\Qt\4.0.0\mkspecs\win32-g++" -o debug\mainbis.o mainbis.cpp g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,windows -o "debug\Dev-C++HelloWorld.exe" debug\main.o debug\mainbis.o -L"C:\Qt\4.0.0\lib" -lmingw32 -lqtmaind -lQtCored4 -lQtGuid4 mingw32-make[1]: Leaving directory `C:/Documents and Settings/Gilles/My Documents/Visual Studio 2005/Projects/Dev-C++HelloWorld' mingw32-make -f Makefile.Release all mingw32-make[1]: Entering directory `C:/Documents and Settings/Gilles/My Documents/Visual Studio 2005/Projects/Dev-C++HelloWorld' g++ -c -O2 -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"C:/Qt/4.0.0/include/QtGui" -I"C:/Qt/4.0.0/include/QtCore" -I"C:/Qt/4.0.0/include" -I"." -I"C:/Qt/4.0.0/include/ActiveQt" -I"release" -I"." -I"C:\Qt\4.0.0\mkspecs\win32-g++" -o release\main.o main.cpp g++ -c -O2 -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"C:/Qt/4.0.0/include/QtGui" -I"C:/Qt/4.0.0/include/QtCore" -I"C:/Qt/4.0.0/include" -I"." -I"C:/Qt/4.0.0/include/ActiveQt" -I"release" -I"." -I"C:\Qt\4.0.0\mkspecs\win32-g++" -o release\mainbis.o mainbis.cpp g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-s -Wl,-subsystem,windows -o "release\Dev-C++HelloWorld.exe" release\main.o release\mainbis.o -L"C:\Qt\4.0.0\lib" -lmingw32 -lqtmain -lQtCore4 -lQtGui4 C:\Program Files\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lQtGui4 collect2: ld returned 1 exit status mingw32-make[1]: *** [release\Dev-C++HelloWorld.exe] Error 1 mingw32-make[1]: Leaving directory `C:/Documents and Settings/Gilles/My Documents/Visual Studio 2005/Projects/Dev-C++HelloWorld' mingw32-make: *** [release-all] Error 2 Exécution terminée |
| bash-2.05b$
ProjetCosme/cosme/bin/cosme Xlib: connection to ":0.0" refused by server Xlib: No protocol specified cosme: gl.c:1001: cc_glglue_instance: Assertion `glGetError() == 0x0 && "GL error when calling glGetString() -- no current GL context?"' failed. Aborted (core dumped) |