f4exb / sdrangel

SDR Rx/Tx software for Airspy, Airspy HF+, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay and FunCube
GNU General Public License v3.0
2.92k stars 441 forks source link

Inconsistent "codec2" and "codec2-dev" in "Compile from source in Linux" webpage. #1749

Closed gvimlag closed 1 year ago

gvimlag commented 1 year ago

In "https://github.com/f4exb/sdrangel/wiki/Compile-from-source-in-Linux" under "Codec2/FreeDV":

sudo apt-get -y install libspeexdsp-dev libsamplerate0-dev
cd /opt/build
git clone https://github.com/drowe67/codec2-dev.git
cd codec2
git reset --hard "v1.0.3"
mkdir build_linux; cd build_linux
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/opt/install/codec2 ..
make -j $(nproc) install

The above commands clone "https://github.com/drowe67/codec2-dev.git", but then try to cd into "codec2", not "codec2-dev".

Both repositories are available: https://github.com/drowe67/codec2.git https://github.com/drowe67/codec2-dev.git

Which is correct?

srcejon commented 1 year ago

Try checking out codec2-dev into codec2 directory, by adding dir name at the end of the clone command:

git clone https://github.com/drowe67/codec2-dev.git codec2
f4exb commented 1 year ago

Wiki updated with the command above

gvimlag commented 1 year ago

Thank you.