sndfile.h missing

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

sndfile.h missing

Leon Vinken
All,

on my Suse 11.0 system, a clean MuseScore build fails with a missing
header problem. Did exportaudio introduce a dependency I am unaware of ?

Error messages attached below.

Regards, Leon.

/home/lvi/mscore/mscore/mscore/exportaudio.cpp:25:21: error: sndfile.h:
No such file or directory
/home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
Score::saveAudio(const QString&, int)’:
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:85: error: ‘SF_INFO’ was
not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:85: error: expected `;'
before ‘info’
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:87: error: ‘class
QFileInfo’ has no member named ‘channels’
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:88: error: ‘class
QFileInfo’ has no member named ‘samplerate’
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:89: error: ‘class
QFileInfo’ has no member named ‘format’
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘SNDFILE’ was
not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘sf’ was not
declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘SFM_WRITE’
was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘sf_open’ was
not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:92: error: ‘sf_strerror’
was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:150: error:
‘sf_writef_float’ was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:159: error: ‘sf_close’
was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
Score::saveWav(const QString&)’:
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:173: error:
‘SF_FORMAT_WAV’ was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:173: error:
‘SF_FORMAT_PCM_16’ was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
Score::saveOgg(const QString&)’:
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:182: error:
‘SF_FORMAT_OGG’ was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:182: error:
‘SF_FORMAT_VORBIS’ was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
Score::saveFlac(const QString&)’:
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:191: error:
‘SF_FORMAT_FLAC’ was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:191: error:
‘SF_FORMAT_PCM_16’ was not declared in this scope
make[3]: *** [mscore/CMakeFiles/mscore.dir/exportaudio.cpp.o] Error 1
make[3]: Leaving directory `/home/lvi/mscore/build'
make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
make[2]: Leaving directory `/home/lvi/mscore/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/lvi/mscore/build'
make: *** [release] Error 2



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: sndfile.h missing

lasconic
Administrator
Yes, it does. Musescore now depends on libsndfile. http://www.mega-nerd.com/libsndfile/


2009/3/21 Leon Vinken <[hidden email]>
All,

on my Suse 11.0 system, a clean MuseScore build fails with a missing
header problem. Did exportaudio introduce a dependency I am unaware of ?

Error messages attached below.

Regards, Leon.

/home/lvi/mscore/mscore/mscore/exportaudio.cpp:25:21: error: sndfile.h:
No such file or directory
/home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
Score::saveAudio(const QString&, int)’:
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:85: error: ‘SF_INFO’ was
not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:85: error: expected `;'
before ‘info’
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:87: error: ‘class
QFileInfo’ has no member named ‘channels’
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:88: error: ‘class
QFileInfo’ has no member named ‘samplerate’
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:89: error: ‘class
QFileInfo’ has no member named ‘format’
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘SNDFILE’ was
not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘sf’ was not
declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘SFM_WRITE’
was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘sf_open’ was
not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:92: error: ‘sf_strerror’
was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:150: error:
‘sf_writef_float’ was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:159: error: ‘sf_close’
was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
Score::saveWav(const QString&)’:
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:173: error:
‘SF_FORMAT_WAV’ was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:173: error:
‘SF_FORMAT_PCM_16’ was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
Score::saveOgg(const QString&)’:
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:182: error:
‘SF_FORMAT_OGG’ was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:182: error:
‘SF_FORMAT_VORBIS’ was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
Score::saveFlac(const QString&)’:
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:191: error:
‘SF_FORMAT_FLAC’ was not declared in this scope
/home/lvi/mscore/mscore/mscore/exportaudio.cpp:191: error:
‘SF_FORMAT_PCM_16’ was not declared in this scope
make[3]: *** [mscore/CMakeFiles/mscore.dir/exportaudio.cpp.o] Error 1
make[3]: Leaving directory `/home/lvi/mscore/build'
make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
make[2]: Leaving directory `/home/lvi/mscore/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/lvi/mscore/build'
make: *** [release] Error 2



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: sndfile.h missing

wschweer
Administrator
In reply to this post by Leon Vinken
Sorry, there is a test missing in the CMake script for libsndfile. Setting the
cmake variable HAS_AUDIOFILE to false should remove the dependency by
excluding the relevant functionality (but i did not tested this yet).

Werner

On Saturday 21 March 2009 17:44:58 Leon Vinken wrote:

> All,
>
> on my Suse 11.0 system, a clean MuseScore build fails with a missing
> header problem. Did exportaudio introduce a dependency I am unaware of ?
>
> Error messages attached below.
>
> Regards, Leon.
>
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:25:21: error: sndfile.h:
> No such file or directory
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
> Score::saveAudio(const QString&, int)’:
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:85: error: ‘SF_INFO’ was
> not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:85: error: expected `;'
> before ‘info’
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:87: error: ‘class
> QFileInfo’ has no member named ‘channels’
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:88: error: ‘class
> QFileInfo’ has no member named ‘samplerate’
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:89: error: ‘class
> QFileInfo’ has no member named ‘format’
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘SNDFILE’ was
> not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘sf’ was not
> declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘SFM_WRITE’
> was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘sf_open’ was
> not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:92: error: ‘sf_strerror’
> was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:150: error:
> ‘sf_writef_float’ was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:159: error: ‘sf_close’
> was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
> Score::saveWav(const QString&)’:
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:173: error:
> ‘SF_FORMAT_WAV’ was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:173: error:
> ‘SF_FORMAT_PCM_16’ was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
> Score::saveOgg(const QString&)’:
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:182: error:
> ‘SF_FORMAT_OGG’ was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:182: error:
> ‘SF_FORMAT_VORBIS’ was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
> Score::saveFlac(const QString&)’:
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:191: error:
> ‘SF_FORMAT_FLAC’ was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:191: error:
> ‘SF_FORMAT_PCM_16’ was not declared in this scope
> make[3]: *** [mscore/CMakeFiles/mscore.dir/exportaudio.cpp.o] Error 1
> make[3]: Leaving directory `/home/lvi/mscore/build'
> make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
> make[2]: Leaving directory `/home/lvi/mscore/build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/lvi/mscore/build'
> make: *** [release] Error 2
>
>
>
> ---------------------------------------------------------------------------
>--- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Mscore-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: sndfile.h missing

Toby Smithe-2
2009/3/21 Werner Schweer <[hidden email]>:
> Sorry, there is a test missing in the CMake script for libsndfile

Yep, and it should be clear that the required version is 1.0.18, which
I believe is quite recent.

--
Toby Smithe :: http://fulltinreality.com

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: sndfile.h missing

Leon Vinken
In reply to this post by wschweer
Tested tonight, builds OK w/o libsndfile.
Regards, Leon.

wschweer wrote
Sorry, there is a test missing in the CMake script for libsndfile. Setting the
cmake variable HAS_AUDIOFILE to false should remove the dependency by
excluding the relevant functionality (but i did not tested this yet).

Werner

On Saturday 21 March 2009 17:44:58 Leon Vinken wrote:
> All,
>
> on my Suse 11.0 system, a clean MuseScore build fails with a missing
> header problem. Did exportaudio introduce a dependency I am unaware of ?
>
> Error messages attached below.
>
> Regards, Leon.
>
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:25:21: error: sndfile.h:
> No such file or directory
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
> Score::saveAudio(const QString&, int)’:
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:85: error: ‘SF_INFO’ was
> not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:85: error: expected `;'
> before ‘info’
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:87: error: ‘class
> QFileInfo’ has no member named ‘channels’
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:88: error: ‘class
> QFileInfo’ has no member named ‘samplerate’
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:89: error: ‘class
> QFileInfo’ has no member named ‘format’
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘SNDFILE’ was
> not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘sf’ was not
> declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘SFM_WRITE’
> was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:90: error: ‘sf_open’ was
> not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:92: error: ‘sf_strerror’
> was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:150: error:
> ‘sf_writef_float’ was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:159: error: ‘sf_close’
> was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
> Score::saveWav(const QString&)’:
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:173: error:
> ‘SF_FORMAT_WAV’ was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:173: error:
> ‘SF_FORMAT_PCM_16’ was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
> Score::saveOgg(const QString&)’:
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:182: error:
> ‘SF_FORMAT_OGG’ was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:182: error:
> ‘SF_FORMAT_VORBIS’ was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp: In member function ‘bool
> Score::saveFlac(const QString&)’:
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:191: error:
> ‘SF_FORMAT_FLAC’ was not declared in this scope
> /home/lvi/mscore/mscore/mscore/exportaudio.cpp:191: error:
> ‘SF_FORMAT_PCM_16’ was not declared in this scope
> make[3]: *** [mscore/CMakeFiles/mscore.dir/exportaudio.cpp.o] Error 1
> make[3]: Leaving directory `/home/lvi/mscore/build'
> make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
> make[2]: Leaving directory `/home/lvi/mscore/build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/lvi/mscore/build'
> make: *** [release] Error 2
>
>
>
> ---------------------------------------------------------------------------
>--- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Mscore-developer mailing list
> Mscore-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer