Cannot compile using Windows 7

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot compile using Windows 7

cymro
Hi all,
Simlarly to yesterdays post on compling I am having no joy having spent a good few hours today on it. I have followed the instructions given in the developers handbook:
http://musescore.org/en/developers-handbook/compile-instructions-windows-mingw-svn-trunk

When I get to the point of compilling by typing into the command line"mingw32-make -f Makefile.mingw release" I get the reply " "mingw32-make" is not recognised as a command ..."

Can anyone help please? I have installed all the tools as mentioned - miniqt QT 4.8 and cMake etc.

Daniel
Reply | Threaded
Open this post in threaded view
|

Re: Cannot compile using Windows 7

jorgk3
Hello,

are you sure you followed the instructions? They say to put
C:\QtSDK\mingw\bin\
into your path. That's where mingw32-make.exe is located.

Most people don't use the
mingw32-make -f Makefile.mingw debug
(BTW, don't use release, or else you won't be able to debug).

Most people use the Qt Creator IDE, which is also described further down on the same instructions page.

Jörg.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot compile using Windows 7

cymro
Hi Jorg and all,

I've followed the instructions including the details in the zlib section (which cought me out before). I am using the cmd promt: mingw32-make -f Makefile.mingw debug. I'm not sure how to use Qt creator.

Now it compiles to 100% but the produces some errors, including these errors right at the end (see below). Also there is no mscore.exe file in the win32build/mscore folder? Thanks for your help,


Daniel

 

[100%] Building CXX object mscore/CMakeFiles/mscore.dir/pa.cpp.obj
[100%] Building CXX object mscore/CMakeFiles/mscore.dir/pm.cpp.obj
C:\Users\me\mscore\mscore\mscore\pm.cpp: In member function 'virtual void PortMi
diDriver::read()':
C:\Users\me\mscore\mscore\mscore\pm.cpp:223: warning: unused variable 'velo'
[100%] Building CXX object mscore/CMakeFiles/mscore.dir/jackaudio.cpp.obj
[100%] Building CXX object mscore/CMakeFiles/mscore.dir/jackweakapi.cpp.obj
Linking CXX executable mscore.exe
c:/qtsdk/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cann
ot find -lvorbisfile
collect2: ld returned 1 exit status
mingw32-make[3]: *** [mscore/mscore.exe] Error 1
mingw32-make[3]: Leaving directory `C:/Users/me/mscore/win32build'
mingw32-make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
mingw32-make[2]: Leaving directory `C:/Users/me/mscore/win32build'
mingw32-make[1]: *** [all] Error 2
mingw32-make[1]: Leaving directory `C:/Users/me/mscore/win32build'
mingw32-make: *** [debug] Error 2
Reply | Threaded
Open this post in threaded view
|

Re: Cannot compile using Windows 7

lasconic
Administrator
The error message is clear : cannot find -lvorbisfile

So you are missing vorbisfile.dll. Read again "libVorbis,
libVorbisFile, libOgg" paragraph in the compile instructions for
Windows.

lasconic


Le 5 avril 2012 15:47, cymro <[hidden email]> a écrit :

> Hi Jorg and all,
>
> I've followed the instructions including the details in the zlib section
> (which cought me out before). I am using the cmd promt: mingw32-make -f
> Makefile.mingw debug. I'm not sure how to use Qt creator.
>
> Now it compiles to 100% but the produces some errors, including these errors
> right at the end (see below). Also there is no mscore.exe file in the
> win32build/mscore folder? Thanks for your help,
>
>
> Daniel
>
>
>
> [100%] Building CXX object mscore/CMakeFiles/mscore.dir/pa.cpp.obj
> [100%] Building CXX object mscore/CMakeFiles/mscore.dir/pm.cpp.obj
> C:\Users\me\mscore\mscore\mscore\pm.cpp: In member function 'virtual void
> PortMi
> diDriver::read()':
> C:\Users\me\mscore\mscore\mscore\pm.cpp:223: warning: unused variable 'velo'
> [100%] Building CXX object mscore/CMakeFiles/mscore.dir/jackaudio.cpp.obj
> [100%] Building CXX object mscore/CMakeFiles/mscore.dir/jackweakapi.cpp.obj
> Linking CXX executable mscore.exe
> c:/qtsdk/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
> cann
> ot find -lvorbisfile
> collect2: ld returned 1 exit status
> mingw32-make[3]: *** [mscore/mscore.exe] Error 1
> mingw32-make[3]: Leaving directory `C:/Users/me/mscore/win32build'
> mingw32-make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
> mingw32-make[2]: Leaving directory `C:/Users/me/mscore/win32build'
> mingw32-make[1]: *** [all] Error 2
> mingw32-make[1]: Leaving directory `C:/Users/me/mscore/win32build'
> mingw32-make: *** [debug] Error 2
>
>
> --
> View this message in context: http://musescore-developer.685061.n2.nabble.com/Cannot-compile-using-Windows-7-tp7429803p7440005.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> Mscore-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer