From: Miwarre <mi...@mi...> - 2012-11-30 17:44:46
|
Sorry to be so late in answering, I missed the post. If you solved the issue in the meantime, good. Some considerations, if you did not. 1) WHERE did you install the whole Qt SDK? If you installed it in "C:\Program Files\Qt" or similar, there are going to be problems: some of the tools involved react badly to spaces in paths. The Qt SDK installer proposes "C:\QtSDK" (or similar) as installation path and, for once, it has to be followed. 2) I would check the %PATH% variable once more, possibly from a command line window ("echo %PATH%"); for instance mine begins with: C:\users\admin\Documents\Projects\musescore\Musescore\build;C:\QtSDK\mingw\bin;C:\QtSDK\Desktop\Qt\4.8.1\mingw\bin;... (and then go on with other stuff not related with Qt or MuseScore) 3) Check the paths in the various make/build files: *) <...>\MuseScore\Makefile.mingw (sets a "MINGW_DIR" variable at the beginning; mine is set to "C:\QtSDK\mingw") *) <...>\MuseScore\build\mingw32.mingw.cmake (sets "CROSS" and "CROSS_QT" variables at the beginning; mine are set to "C:\QtSDK\mingw" and "C:\QtSDK\Desktop\Qt\4.8.1\mingw" resp.) 4) Which parameters did you give when running cmake initially? I use: -DCMAKE_TOOLCHAIN_FILE=../MuseScore/build/mingw32.mingw.cmake -DCMAKE_BUILD_TYPE=DEBUG (I use a shadow build directory outside of the source tree) 5) When you say "I have copied <whatever> to the mingw.lib directory", did you mean the "C.\QtSDK\mingw\lib" directory, didn't you? Because there is also a directory "C:\QtSDK\desktop\Qt\4.8.x\mingw\lib" which is not to be used for this. 6) If you will ever arrive to run the compiled executable, you will need some dll copied to "C:\QtSDK\mingw\bin" too, namely: libogg.dll, libsndfile-1.dll, libvorbis.dll, libvorbisfile.dll and portaudio.dll Note: I use Win 7 and I assume you do too, but there are not big differencies between building under XP or 7 anyway. HTH, Maurizio -- View this message in context: http://dev-list.musescore.org/QT-Creator-compile-failure-tp7577609p7577613.html Sent from the MuseScore Developer mailing list archive at Nabble.com. |