This commit is contained in:
Kurt Moraw 2020-12-12 15:01:23 +01:00
parent 4b7fd762cb
commit b958363c7b
8 changed files with 16 additions and 14 deletions

View File

@ -0,0 +1 @@
libsoundio.so.2

View File

@ -0,0 +1 @@
libsoundio.so.2.0.0

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
libsoundio.so.2

View File

@ -0,0 +1 @@
libsoundio.so.2.0.0

Binary file not shown.

View File

@ -13,26 +13,23 @@ echo
echo "Install required packages and libraries. Press ENTER ..."
read
sudo apt-get update
sudo apt-get -y install libopus-dev libfftw3-dev libcodec2-dev libsndfile-dev libasound-dev mono-complete pavucontrol git g++ build-essential libsoundio-dev
sudo apt-get -y install libopus-dev libfftw3-dev libcodec2-dev libsndfile-dev libasound-dev mono-complete pavucontrol git g++ build-essential
echo
echo "Download hsmodem sources from github. Press ENTER ... "
read
git clone https://github.com/dj0abr/SSB_HighSpeed_Modem
echo
echo "Compile the sources and build the executable program. Press ENTER ..."
read
pwd
cd SSB_HighSpeed_Modem/hsmodem
pwd
make -j 4
echo
echo "copy the shared libraries to it's final location. Press ENTER ..."
echo "copy GUI and the shared libraries to it's final location. Press ENTER ..."
read
echo copy oscardata.exe
pwd
cp ../oscardata/oscardata/bin/Release/oscardata.exe ../hsmodemLinux
# now find the shared library directory
# this is the directory where libopus.so is installed
# the program searches the shared libs in this directory
LIBNAME=$(find /usr -name libopus.so | head -1)
LIBFOLDER=$(dirname $LIBNAME)
ARCHITECTURE=$(uname -m)
@ -40,18 +37,19 @@ echo copy shared libraries for $ARCHITECTURE to $LIBFOLDER
echo
if [ ${ARCHITECTURE} == 'x86_64' ];
then
sudo cp ./SharedLibs/$ARCHITECTURE/*.so $LIBFOLDER
echo "finished. Your project is in folder: ./SSB_HighSpeed_Modem/hsmodemLinux"
echo "you can copy this folder to any location"
echo "to run hsmodem: mono oscardata.exe"
sudo cp ./SharedLibs/$ARCHITECTURE/* $LIBFOLDER
elif [ ${ARCHITECTURE} == 'aarch64' ];
then
sudo cp ./SharedLibs/$ARCHITECTURE/*.so $LIBFOLDER
echo "finished. Your project is in folder: ./SSB_HighSpeed_Modem/hsmodemLinux"
echo "you can copy this folder to any location"
echo "to run hsmodem: mono oscardata.exe"
sudo cp ./SharedLibs/$ARCHITECTURE/* $LIBFOLDER
else
echo ================================================================
echo error: no shared libs for $ARCHITECTURE . Install them manually.
echo ================================================================
fi
echo "Compile the sources and build the executable program. Press ENTER ..."
read
pwd
make -j 4
echo "finished. Your project is in folder: ./SSB_HighSpeed_Modem/hsmodemLinux"
echo "you can copy this folder to any location"
echo "to run hsmodem: mono oscardata.exe"