Lmms: Ubuntu-18 , CMAKE Error == Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)

Created on 10 Feb 2020  路  4Comments  路  Source: LMMS/lmms

Please search the issue tracker for existing bug reports before submitting your own. Delete this line to confirm no similar report has been posted yet.

Searched few related issues found , but none seems to solve mine.

Bug Summary

Ubuntu-18 , CMAKE Error == Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)

Steps to reproduce

GitClone master branch and cmake on Ubuntu-18 . Within the DIR build - /lmms/build, using command at terminal $ cmake .. -DCMAKE_INSTALL_PREFIX=../target/

Expected behavior

Not sure

Actual behavior

CMAKE Error == Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)

Screenshot - bottom of this comment

CMakeError.log , CMakeCache.txt and the CMakeOutput.log , are attached .

CMakeCache.txt
CMakeError.log
CMakeOutput.log

LMMS version used

Trying to install = 1.2.1.581

Logs


Click to expand



OS = Ubuntu 18.4
Make Command = /lmms/build$ cmake .. -DCMAKE_INSTALL_PREFIX=../target/
Terminal output of the ERROR =

-- Checking for module 'sndfile'
-- No package 'sndfile' found
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindSndFile.cmake:34 (find_package_handle_standard_args)
CMakeLists.txt:176 (FIND_PACKAGE)
#
Probable relevant text in the file CMakeCache.txt
//Path to a file.
SNDFILE_INCLUDE_DIR:PATH=SNDFILE_INCLUDE_DIR-NOTFOUND
//Path to a library.
SNDFILE_LIBRARY:FILEPATH=SNDFILE_LIBRARY-NOTFOUND
#
My CMAKE version == cmake version 3.10.2
is it in the below mentioned issue , i read correctly that we need - CMAKE version == 2.Something , to make LMMS ? Add CMake 2 support #4530
#
Closest issues and pull requests text - which i have read through.
Cant figure out if - anything from them is a solution for me -
1/ CMake tries checking sys/time.h for sndfile and libsoundio == https://github.com/LMMS/lmms/issues/2815
2/ Add CMake 2 support #4530 == https://github.com/LMMS/lmms/pull/4530

ScreenShot below

Screenshot from 2020-02-10 14-05-46

support request

Most helpful comment

Hi! Thank you for the detailed report.

Do you have libsndfile installed as per the compiling instructions? There are a few dependencies that are required for LMMS to build. See here for quick instructions to install all the recommended dependencies for Ubuntu.

Thanks a lot . All good . Have been able to make and run version = 1.2.1

Screenshot from 2020-02-11 15-40-40

All 4 comments

Hi! Thank you for the detailed report.

Do you have libsndfile installed as per the compiling instructions? There are a few dependencies that are required for LMMS to build. See here for quick instructions to install all the recommended dependencies for Ubuntu.

Hi! Thank you for the detailed report.

Do you have libsndfile installed as per the compiling instructions? There are a few dependencies that are required for LMMS to build. See here for quick instructions to install all the recommended dependencies for Ubuntu.

Thanks a lot . All good . Have been able to make and run version = 1.2.1

Screenshot from 2020-02-11 15-40-40

@RohitDhankar For your information: As I said in my other comment, the latest stable version is 1.2.1. The version you've built is labelled as 1.2.1, but it has a number of additional features and is less stable. It represents our 1.3 development branch.

You can get an appimage for 1.2.1 here: http://lmms.io/download/#linux

@RohitDhankar For your information: As I said in my other comment, the latest stable version is 1.2.1. The version you've built is labelled as 1.2.1, but it has a number of additional features and is less stable. It represents our 1.3 development branch.

You can get an appimage for 1.2.1 here: http://lmms.io/download/#linux

@SecondFlight - Thanks again . I did clone the - master branch , presuming that would be the current stable release. I think i will live with it for now - thanks .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Spekular picture Spekular  路  4Comments

Firepal picture Firepal  路  3Comments

DeRobyJ picture DeRobyJ  路  3Comments

Gabrielxd195 picture Gabrielxd195  路  3Comments

Sawuare picture Sawuare  路  3Comments