-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
I have attempted to build LMMS from source, following the suggested tutorial in the wiki: https://github.com/LMMS/lmms/wiki/Compiling-lmms-(On-Windows).
Unfortunately, the main build script supplied, msys_helper.sh
(retrieved from https://raw.githubusercontent.com/lmms/lmms/master/cmake/msys/msys_helper.sh), fails to fetch and build all of the dependencies, and I had to edit /lmms/blob/master/cmake/msys/fetch_ppa.sh to fetch the correct packages:
@@ -41,15 +41,13 @@ mkdir $ppa_dir
while read -r j
do
- if [ "$j" = "Filename:" ] ; then
- continue
- fi
echo "Downloading $j..."
- wget -O "$ppa_dir$(basename "$j")" "$PPA_ROOT/$j"
+ echo "$PPA_ROOT/$j"
+ wget -O "$ppa_dir$(basename "$j")" "$(echo "$PPA_ROOT/$j" | sed 's/\/Filename: /\//gi')"
done < $temp_file
After running msys_helper.sh
again, other libraries such as FLTK compile successfully, except for libgig since it cannot find the appropriate package config entries for libsndfile, even though it's package did install sucessfully. This could be manually fixed by adding a .pc file in \msys64\usr\lib\pkgconfig, although it would be good if the .pc file was installed from the original package.
I wish that the static libraries were in a folder called 'lib', and the include files in 'include', and that the configuration tasks be within cmake scripts.