Thinking about this some more, I think the soundtouch prob is probably due to including the x86 GCC header instead of the x86 MSVC header that our dlls and libs probably have from being built by MSVC... I'll try to rebuild soundtouch with MinGW tonight.
That just leaves the linker problem with WinMM... On 11/02/2009, Garth Dahlstrom <[email protected]> wrote: > I'm playing around with Trolltech's Qt Creator IDE ( > http://www.qtsoftware.com/developer/qt-creator ), it's not too bad. > > So far on the Linux Qt Creator build, I can build and run Mixxx using the > mixxx.pro file I've checked into trunk. > > Last night I also spent sometime trying to get Qt Creator on Windows (with > the trolltech Qt + MinGW bundled compiler), it relies on MinGW/GCC for it's > compiler... > > I got quite close to getting everything to link, but came up short with 2 > things stopping me. > > First thing is a failure of some of the soundtouch cpu detection code to > link, and the second I believe is a problem with linkage to > winMM.dll/winMM.lib... > > The magic for LIBS that tries to resolve the winMM problem can be found > around line 500 of mixxx.pro > > I'm wondering if anyone out there has seen these type of errors, knows how > to get around them. > > Cheers, > -G > > Here's the linker log: > > Configuration unchanged, skipping QMake step. > Starting: C:/MinGW/bin/mingw32-make.exe debug -w > C:\MinGW\bin\mingw32-make.exe: Entering directory `C:/mixxx-win32/mixxx' > c:\Qt\4.4.3\bin\qmake.exe -spec ..\..\Qt\4.4.3\mkspecs\win32-g++ -win32 > CONFIG+=debug_and_release -o Makefile mixxx.pro > C:\MinGW\bin\mingw32-make.exe: Leaving directory `C:/mixxx-win32/mixxx' > WARNING: Failure to find: bin\ui\ui_dlgprefshoutcastdlg.h > WARNING: Failure to find: bin\ui\ui_dlgprefshoutcastdlg.h > mingw32-make.exe: Entering directory `C:/mixxx-win32/mixxx' > C:/MinGW/bin/mingw32-make.exe -f Makefile.Debug > mingw32-make.exe[1]: Entering directory `C:/mixxx-win32/mixxx' > g++ -enable-stdcall-fixup -Wl,-enable-auto-import > -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o > bin\mixxx.exe object_script.mixxx.Debug -L"c:\Qt\4.4.3\lib" -lopengl32 > -lglu32 -lgdi32 -luser32 -lmingw32 -lqtmaind ../mixxx-winlib/sndfile.dll > ../mixxx-winlib/portaudio.dll ../mixxx-winlib/mad.lib > ../mixxx-winlib/libid3tag.a ../mixxx-winlib/vorbisfile.dll > ../mixxx-winlib/vorbis.dll ../mixxx-winlib/libfftw3-3.dll > ../mixxx-winlib/ogg.dll C:\mixxx-win32\VS8\VC\lib\WinMM.Lib -lQtScriptd4 > -lQtSvgd4 -lQt3Supportd4 -lQtSqld4 -lQtXmld4 -lQtOpenGLd4 -lQtGuid4 > -lQtNetworkd4 -lQtCored4 > mingw32-make.exe[1]: Leaving directory `C:/mixxx-win32/mixxx' > mingw32-make.exe: Leaving directory `C:/mixxx-win32/mixxx' > Warning: .drectve `-defaultlib:LIBC ' unrecognized > Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized > Warning: .drectve `-defaultlib:LIBC ' unrecognized > Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized > Warning: .drectve `-defaultlib:LIBC ' unrecognized > Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized > Warning: .drectve `-defaultlib:LIBC ' unrecognized > Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized > Warning: .drectve `-defaultlib:LIBC ' unrecognized > Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized > Warning: .drectve `-defaultlib:LIBC ' unrecognized > Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized > Warning: .drectve `-defaultlib:LIBC ' unrecognized > Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized > Warning: .drectve `-defaultlib:LIBC ' unrecognized > Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized > ./bin\obj\TDStretch.o(.text$_ZN10soundtouch14TDStretch3DNowC1Ev[soundtouch::TDStretch3DNow::TDStretch3DNow()]+0x16): > In function `ZN10soundtouch13FIFOProcessorD0Ev': > C:/mixxx-win32/mixxx/lib/soundtouch/TDStretch.cpp: undefined reference to > `vtable for soundtouch::TDStretch3DNow' > ./bin\obj\TDStretch.o(.text$_ZN10soundtouch12TDStretchSSEC1Ev[soundtouch::TDStretchSSE::TDStretchSSE()]+0x16):C:/mixxx-win32/mixxx/lib/soundtouch/TDStretch.cpp: > undefined reference to `vtable for soundtouch::TDStretchSSE' > ./bin\obj\FIRFilter.o(.text+0x9b4): In function > `ZN10soundtouch9FIRFilter11newInstanceEv': > C:/mixxx-win32/mixxx/lib/soundtouch/FIRFilter.cpp:248: undefined reference > to `soundtouch::FIRFilterSSE::FIRFilterSSE()' > ./bin\obj\FIRFilter.o(.text+0xa1e):C:/mixxx-win32/mixxx/lib/soundtouch/FIRFilter.cpp:257: > undefined reference to `soundtouch::FIRFilter3DNow::FIRFilter3DNow()' > ./bin\obj\midiobjectwin.o(.text+0x5a8): In function > `ZN13MidiObjectWin16updateDeviceListEv': > C:/mixxx-win32/mixxx/src/midiobjectwin.cpp:51: undefined reference to > `midiingetnumd...@0' > ./bin\obj\midiobjectwin.o(.text+0x5cb):C:/mixxx-win32/mixxx/src/midiobjectwin.cpp:53: > undefined reference to `midiingetdevca...@12' > ./bin\obj\midiobjectwin.o(.text+0x990): In function > `ZN13MidiObjectWin7devOpenE7QString': > C:/mixxx-win32/mixxx/src/midiobjectwin.cpp:72: undefined reference to > `midiingetnumd...@0' > ./bin\obj\midiobjectwin.o(.text+0x9b3):C:/mixxx-win32/mixxx/src/midiobjectwin.cpp:74: > undefined reference to `midiingetdevca...@12' > ./bin\obj\midiobjectwin.o(.text+0xce3):C:/mixxx-win32/mixxx/src/midiobjectwin.cpp:82: > undefined reference to `midiingetnumd...@0' > ./bin\obj\midiobjectwin.o(.text+0xdc6):C:/mixxx-win32/mixxx/src/midiobjectwin.cpp:88: > undefined reference to `midiino...@20' > ./bin\obj\midiobjectwin.o(.text+0xefe):C:/mixxx-win32/mixxx/src/midiobjectwin.cpp:102: > undefined reference to `midiouto...@20' > ./bin\obj\midiobjectwin.o(.text+0xfbc):C:/mixxx-win32/mixxx/src/midiobjectwin.cpp:106: > undefined reference to `midiinst...@4' > ./bin\obj\midiobjectwin.o(.text+0x1120): In function > `ZN13MidiObjectWin8devCloseEv': > C:/mixxx-win32/mixxx/src/midiobjectwin.cpp:114: undefined reference to > `midiinre...@4' > ./bin\obj\midiobjectwin.o(.text+0x112e):C:/mixxx-win32/mixxx/src/midiobjectwin.cpp:115: > undefined reference to `midiincl...@4' > ./bin\obj\midiobjectwin.o(.text+0x204b): In function > `ZN13MidiObjectWin12sendShortMsgEj': > C:/mixxx-win32/mixxx/src/midiobjectwin.cpp:164: undefined reference to > `midioutshort...@8' > ../mixxx-winlib/mad.lib(./Release/layer3.obj)(.text[_III_decode]+0x6):F:\mixxx\mad-0.14.: > undefined reference to `_chkstk' > collect2: ld returned 1 exit status > mingw32-make.exe[1]: *** [bin\mixxx.exe] Error 1 > mingw32-make.exe: *** [debug] Error 2 > Exited with code 2. > > > __ > --- == __/ t.O ==-- > http://stacktrace.org/ > -- __ --- == __/ t.O ==-- http://stacktrace.org/ ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Mixxx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mixxx-devel
