Discussion:
[Freetel-codec2] samplerate.h missing
Sebastien F4GRX
2017-03-13 16:43:35 UTC
Permalink
hello,

I just tried to compile codec2-dev from source and the build complained that
samplerate.h was not found

The cause seems to be that libsamplerate0-dev should be installed, but cmake
does not test for that library.

After installing this lib, current codec2-dev builds just fine.

I'm using linux mint, I just ran cmake/make, I understand general development
but I do not know how your CMakefiles should be changed.

73 and best regards

Sebastien de F4GRX
Richard Shaw
2017-03-13 17:51:31 UTC
Permalink
It's only needed if you build the testing binaries (defaults to on for
Debug builds and off for Release builds).

Never the less I have added the proper logic to the cmake configuration.
Please test it and see if it fixed your problem.

Thanks,
Richard
KF5OIM
Sebastien F4GRX
2017-03-14 09:52:44 UTC
Permalink
Hello,

I can confirm that cmake now stops when libsamplerate0-dev is not installed.

I did not know that this config was optional. I just ran cmake with no args,
because I did not see documentation about possible cmake options :)

Thank you for the fix

Sebastien de F4GRX
It's only needed if you build the testing binaries (defaults to on for Debug
builds and off for Release builds).
Never the less I have added the proper logic to the cmake configuration.
Please test it and see if it fixed your problem.
Thanks,
Richard
KF5OIM
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freetel-codec2 mailing list
https://lists.sourceforge.net/lists/listinfo/freetel-codec2
Loading...