Hi all, I tried compiling my stuff with rubenvb's "x86_64-w64-mingw32-gcc-4.6.4_rubenvb.7z" and I got the following linking error:
g++ -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl,-subsystem,windows -o release\Qt_test5.exe object_script.Qt_test5.Release -L"d:\Qt\4.7.1-qt-mingw-w64\lib" -lglu32 -lopengl32 -lgdi32 -luser32 -lmingw32 -lqtmain -LD:/Qt/4.7.1-qt-mingw-w64/bin -LD:/libs/libQGLViewer/QGLViewer/release -lQGLViewer2 -LC:/Windows/System32 -LD:/libs/glew/bin -lglew32 -LD:/libs/libLAS/bin/bin/Release -lliblas -llibgomp -lQtOpenGL4 -lQtGui4 -lQtCore4 d000035.o:(.idata$5+0x0): multiple definition of `__imp___C_specific_handler' d000032.o:(.idata$5+0x0): first defined here mingw32-make[1]: Leaving directory `d:/Users2/schmidta_std/git/Qt_test5_git/Qt_test5' collect2: ld returned 1 exit status mingw32-make[1]: *** [release\Qt_test5.exe] Error 1 mingw32-make: *** [release] Error 2 g++ command: (copy 'n' paste from qt project file) ####### Compiler, tools and options CC = gcc CXX = g++ DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN CFLAGS = -O2 -Wall $(DEFINES) CXXFLAGS = -std=c++0x -fopenmp -O2 -mfpmath=sse -msse -msse2 -ftree-vectorize -pipe -O2 -frtti -fexceptions -mthreads -Wall $(DEFINES) INCPATH = -I"d:\Qt\4.7.1-qt-mingw-w64\include\QtCore" -I"d:\Qt\4.7.1-qt-mingw-w64\include\QtGui" -I"d:\Qt\4.7.1-qt-mingw-w64\include\QtOpenGL" -I"d:\Qt\4.7.1-qt-mingw-w64\include" -I"d:\libs\Eigen" -I"d:\libs\libLAS\include" -I"d:\libs\libQGLViewer\QGLViewer" -I"d:\Qt\4.7.1-qt-mingw-w64\include\QtXml" -I"d:\mingw-w64_sezero_20101003\include\GL" -I"d:\boost_1_48_0" -I"d:\Qt\4.7.1-qt-mingw-w64\include\ActiveQt" -I"release" -I"." -I"d:\Qt\4.7.1-qt-mingw-w64\mkspecs\default" LINK = g++ LFLAGS = -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl,-subsystem,windows LIBS = -L"d:\Qt\4.7.1-qt-mingw-w64\lib" -lglu32 -lopengl32 -lgdi32 -luser32 -lmingw32 -lqtmain -LD:/Qt/4.7.1-qt-mingw-w64/bin -LD:/libs/libQGLViewer/QGLViewer/release -lQGLViewer2 -LC:/Windows/System32 -LD:/libs/glew/bin -lglew32 -LD:/libs/libLAS/bin/bin/Release -lliblas -llibgomp -lQtOpenGL4 -lQtGui4 -lQtCore4 before this I was successfully using sezeros last build "mingw-w64-bin_x86_64-mingw_20111101_sezero.zip" I swapped the compiler several times - same result. Anyone any idea what's wrong or where to look ? Andreas ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
