[ trunk ] Can't build R5355+ on Windows

• Feb 23, 2012 - 03:31

Ever since the inclusion of OGG playback in 5355, I can no longer build the Windows client. It has troubles linking "vorbisfile". I have tried a "clean" build. Revision 5354 builds fine. Here's the error:

[ 73%] Building CXX object mscore/CMakeFiles/mscore.dir/qrc_musescore.cxx.obj
Linking CXX executable mscore.exe
d:/qt480/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lvorbisfile
collect2: ld returned 1 exit status
mingw32-make[3]: *** [mscore/mscore.exe] Error 1
mingw32-make[3]: Leaving directory `D:/MSTRUNK/win32build'
mingw32-make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
mingw32-make[2]: Leaving directory `D:/MSTRUNK/win32build'
mingw32-make[1]: *** [all] Error 2
mingw32-make[1]: Leaving directory `D:/MSTRUNK/win32build'
mingw32-make: *** [release] Error 2


Comments

In reply to by Jojo-Schmitz

The trunk has a new dependency: libvorbisfile. Please update to r5361
You can download it here http://downloads.xiph.org/releases/vorbis/vorbis-tools-win32-bin.7z
If you followed these compiled instructions, you just need to copy libvorbis.dll, libvorbisfile.dll and libogg.dll to mingw/lib. The instructions are updated now.

If you are not building the branch or previous version of the trunk, you can remove libvorbis-0.dll and libogg-0.dll from mingw/lib

Do you still have an unanswered question? Please log in first to post your question.