Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
RohitDhankar opened this issue Feb 10, 2020 · 4 comments

Comments

@RohitDhankar
Copy link

RohitDhankar commented Feb 10, 2020

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 == #2815
2/ Add CMake 2 support #4530 == #4530

ScreenShot below

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

@SecondFlight
Copy link
Member

SecondFlight commented Feb 10, 2020

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.

@SecondFlight SecondFlight added the response required A response from OP is required or the issue is closed automatically within 14 days. label Feb 10, 2020
@RohitDhankar
Copy link
Author

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

@no-response no-response bot removed the response required A response from OP is required or the issue is closed automatically within 14 days. label Feb 11, 2020
@SecondFlight
Copy link
Member

SecondFlight commented Feb 11, 2020

@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
Copy link
Author

@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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants