Searched few related issues found , but none seems to solve mine.
Ubuntu-18 , CMAKE Error == Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
GitClone master branch and cmake on Ubuntu-18 . Within the DIR build - /lmms/build, using command at terminal $ cmake .. -DCMAKE_INSTALL_PREFIX=../target/
Not sure
CMAKE Error == Could NOT find SndFile (missing: SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
CMakeCache.txt
CMakeError.log
CMakeOutput.log
Trying to install = 1.2.1.581
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

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
libsndfileinstalled 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

@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
appimagefor 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 .
Most helpful comment
Thanks a lot . All good . Have been able to make and run version = 1.2.1