Hi there!
I installed qt-sdk-win-opensource-2009.01.1.exe in my house WinXP PC and opening the opengl "textures" example from the qt folder and trying to compile fails with the next output:
Running build steps for project textures...
Creating gdb macros library...
Configuration unchanged, skipping QMake step.
Starting: C:/Qt/2009.01/mingw/bin/mingw32-make.exe release -w
mingw32-make: Entering directory `C:/Qt/2009.01/qt/examples/opengl/textures'
C:/Qt/2009.01/mingw/bin/mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/Qt/2009.01/qt/examples/opengl/textures'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows -o release\textures.exe tmp/obj/release_shared/glwidget.o tmp/obj/release_shared/main.o tmp/obj/release_shared/window.o tmp/obj/release_shared/moc_glwidget.o tmp/obj/release_shared/moc_window.o tmp/obj/release_shared/qrc_textures.o -L"c:\Qt\2009.01\qt\lib" -L"c:\Archivos de programa\Microsoft Visual Studio\VC98\mfc\lib" -L"c:\Archivos de programa\Microsoft Visual Studio\VC98\lib" -L"c:\Qt\2009.01\qt\lib" -lopengl32 -lglu32 -lgdi32 -luser32 -lmingw32 -lqtmain -lQtOpenGL4 -lQtGui4 -lQtCore4
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x1b3): undefined reference to `_imp___iob'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x1ce): undefined reference to `_imp___iob'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x1df): undefined reference to `_imp___iob'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x1f2): undefined reference to `_imp___iob'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x265): undefined reference to `_imp___iob'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x276): more undefined references to `_imp___iob' follow
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x2c3): undefined reference to `_imp__atexit'
mingw32-make[1]: Leaving directory `C:/Qt/2009.01/qt/examples/opengl/textures'
mingw32-make: Leaving directory `C:/Qt/2009.01/qt/examples/opengl/textures'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x2d3): undefined reference to `_imp___onexit'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\textures.exe] Error 1
mingw32-make: *** [release] Error 2
Exited with code 2.
Error while building project textures
When executing build step 'Make'
Running build steps for project textures...
Creating gdb macros library...
Configuration unchanged, skipping QMake step.
Starting: C:/Qt/2009.01/mingw/bin/mingw32-make.exe release -w
mingw32-make: Entering directory `C:/Qt/2009.01/qt/examples/opengl/textures'
C:/Qt/2009.01/mingw/bin/mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/Qt/2009.01/qt/examples/opengl/textures'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows -o release\textures.exe tmp/obj/release_shared/glwidget.o tmp/obj/release_shared/main.o tmp/obj/release_shared/window.o tmp/obj/release_shared/moc_glwidget.o tmp/obj/release_shared/moc_window.o tmp/obj/release_shared/qrc_textures.o -L"c:\Qt\2009.01\qt\lib" -L"c:\Archivos de programa\Microsoft Visual Studio\VC98\mfc\lib" -L"c:\Archivos de programa\Microsoft Visual Studio\VC98\lib" -L"c:\Qt\2009.01\qt\lib" -lopengl32 -lglu32 -lgdi32 -luser32 -lmingw32 -lqtmain -lQtOpenGL4 -lQtGui4 -lQtCore4
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x1b3): undefined reference to `_imp___iob'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x1ce): undefined reference to `_imp___iob'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x1df): undefined reference to `_imp___iob'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x1f2): undefined reference to `_imp___iob'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x265): undefined reference to `_imp___iob'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x276): more undefined references to `_imp___iob' follow
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x2c3): undefined reference to `_imp__atexit'
mingw32-make[1]: Leaving directory `C:/Qt/2009.01/qt/examples/opengl/textures'
mingw32-make: Leaving directory `C:/Qt/2009.01/qt/examples/opengl/textures'
c:/Qt/2009.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c:(.text+0x2d3): undefined reference to `_imp___onexit'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\textures.exe] Error 1
mingw32-make: *** [release] Error 2
Exited with code 2.
Error while building project textures
When executing build step 'Make'
To copy to clipboard, switch view to plain text mode
I searched google without answer, this can be a installer bug because in my work's PC the sample loads and runs fine.
Does anybody know what can be happening?
I reinstalled just in case without luck. and when I create a new project, the new project runs and compiles fine.
Bookmarks