It stopped crashing after I installed the "fluid-synth" cellar. Without having Macports installed, just install Homebrew using the following command:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" Then install required Cellars (packages) via Homebrew: brew install doxygen libogg libsndfile libvorbis pkg-config portaudio fluid-synth jack lame cmake git Don't look for "libpulse". It was removed from Homebrew because it didn't build successfully under OS X. Here my changes to the CMakeLists.txt files. But remember, the "lame" cellar has no pkg-config support yet. diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b7463b..0a4b8a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -245,6 +245,57 @@ else (MINGW) endif (APPLE) endif (MINGW) + +## +## libvorbis +## + +PKGCONFIG (vorbis 1.3.3 VORBIS_INCDIR VORBIS_LIBDIR VORBIS_LIB VORBIS_CPP) +if (VORBIS_INCDIR) + message("libvorbis detected ${VORBIS_INCDIR} ${VORBIS_LIBDIR} ${VORBIS_LIB}") + set ( USE_VORBIS 1 ) +else (VORBIS_INCDIR) + message("libvorbis not found\n") + set ( USE_VORBIS 0 ) +endif (VORBIS_INCDIR) + + +## +## libogg +## + +PKGCONFIG (ogg 1.3.0 OGG_INCDIR OGG_LIBDIR OGG_LIB OGG_CPP) +if (OGG_INCDIR) + message("libogg detected ${OGG_INCDIR} ${OGG_LIBDIR} ${OGG_LIB}") +else (OGG_INCDIR) + message("libogg not found\n") +endif (OGG_INCDIR) + + +## +## libsndfile +## + +PKGCONFIG (sndfile 1.0.25 SNDFILE_INCDIR SNDFILE_LIBDIR SNDFILE_LIB SNDFILE_CPP) +if (SNDFILE_INCDIR) + message("libsndfile detected ${SNDFILE_INCDIR} ${SNDFILE_LIBDIR} ${SNDFILE_LIB}") +else (SNDFILE_INCDIR) + message("libsndfile not found\n") +endif (SNDFILE_INCDIR) + + +## +## lame +## + +#PKGCONFIG (lame 3.99.5 SNDFILE_INCDIR SNDFILE_LIBDIR SNDFILE_LIB SNDFILE_CPP) +#if (SNDFILE_INCDIR) +# message("libsndfile detected ${SNDFILE_INCDIR} ${SNDFILE_LIBDIR} ${SNDFILE_LIB}") +#else (SNDFILE_INCDIR) +# message("libsndfile not found\n") +#endif (SNDFILE_INCDIR) + + ## ## QtSingleApplication ## @@ -343,6 +394,10 @@ include_directories( ${ALSA_INCDIR} ${JACK_INCDIR} ${PORTAUDIO_INCDIR} + ${VORBIS_INCDIR} + ${OGG_INCDIR} + ${SNDFILE_INCDIR} + /usr/local/Cellar/lame/3.99.5/include ) ## @@ -351,6 +406,7 @@ include_directories( include(Packaging) + ## ## custom target for translation generation ## -------------------------------------------------------------------------------------------------------------------- diff --git a/mscore/CMakeLists.txt b/mscore/CMakeLists.txt index 1cbf5e3..d617047 100644 --- a/mscore/CMakeLists.txt +++ b/mscore/CMakeLists.txt @@ -227,7 +227,7 @@ target_link_libraries(mscore fluid effects vorbisfile - ) +) if (ZERBERUS) target_link_libraries(mscore zerberus synthesizer) endif () @@ -235,7 +235,7 @@ if (AEOLUS) target_link_libraries(mscore aeolus) endif () if (SOUNDFONT3) - target_link_libraries(mscore vorbis ogg) + target_link_libraries(mscore ${VORBIS_LIB}) endif () @@ -355,7 +355,7 @@ else (MINGW) LINK_FLAGS "-L${QT_LIBRARY_DIR}" ) if (HAS_AUDIOFILE) - target_link_libraries(mscore sndfile) + target_link_libraries(mscore ${SNDFILE_LIB}) endif (HAS_AUDIOFILE) if (OMR) -- View this message in context: http://dev-list.musescore.org/Dependency-issues-on-MAC-OS-X-tp7578091p7578109.html Sent from the MuseScore Developer mailing list archive at Nabble.com. ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Mscore-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mscore-developer
