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 ..." echo "Install required packages and libraries. Press ENTER ..."
read read
sudo apt-get update 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
echo "Download hsmodem sources from github. Press ENTER ... " echo "Download hsmodem sources from github. Press ENTER ... "
read read
git clone https://github.com/dj0abr/SSB_HighSpeed_Modem git clone https://github.com/dj0abr/SSB_HighSpeed_Modem
echo echo
echo "Compile the sources and build the executable program. Press ENTER ..."
read
pwd pwd
cd SSB_HighSpeed_Modem/hsmodem cd SSB_HighSpeed_Modem/hsmodem
pwd
make -j 4
echo 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 read
echo copy oscardata.exe echo copy oscardata.exe
pwd pwd
cp ../oscardata/oscardata/bin/Release/oscardata.exe ../hsmodemLinux cp ../oscardata/oscardata/bin/Release/oscardata.exe ../hsmodemLinux
# now find the shared library directory # now find the shared library directory
# this is the directory where libopus.so is installed # 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) LIBNAME=$(find /usr -name libopus.so | head -1)
LIBFOLDER=$(dirname $LIBNAME) LIBFOLDER=$(dirname $LIBNAME)
ARCHITECTURE=$(uname -m) ARCHITECTURE=$(uname -m)
@ -40,18 +37,19 @@ echo copy shared libraries for $ARCHITECTURE to $LIBFOLDER
echo echo
if [ ${ARCHITECTURE} == 'x86_64' ]; if [ ${ARCHITECTURE} == 'x86_64' ];
then then
sudo cp ./SharedLibs/$ARCHITECTURE/*.so $LIBFOLDER sudo cp ./SharedLibs/$ARCHITECTURE/* $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"
elif [ ${ARCHITECTURE} == 'aarch64' ]; elif [ ${ARCHITECTURE} == 'aarch64' ];
then then
sudo cp ./SharedLibs/$ARCHITECTURE/*.so $LIBFOLDER sudo cp ./SharedLibs/$ARCHITECTURE/* $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"
else else
echo ================================================================ echo ================================================================
echo error: no shared libs for $ARCHITECTURE . Install them manually. echo error: no shared libs for $ARCHITECTURE . Install them manually.
echo ================================================================ echo ================================================================
fi 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"