mirror of
https://github.com/dj0abr/SSB_HighSpeed_Modem.git
synced 2024-11-25 13:48:47 -05:00
update
This commit is contained in:
parent
4b7fd762cb
commit
b958363c7b
1
hsmodem/SharedLibs/aarch64/libsoundio.so
Symbolic link
1
hsmodem/SharedLibs/aarch64/libsoundio.so
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libsoundio.so.2
|
1
hsmodem/SharedLibs/aarch64/libsoundio.so.2
Symbolic link
1
hsmodem/SharedLibs/aarch64/libsoundio.so.2
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libsoundio.so.2.0.0
|
BIN
hsmodem/SharedLibs/aarch64/libsoundio.so.2.0.0
Normal file
BIN
hsmodem/SharedLibs/aarch64/libsoundio.so.2.0.0
Normal file
Binary file not shown.
BIN
hsmodem/SharedLibs/windows/libsoundio.dll
Executable file
BIN
hsmodem/SharedLibs/windows/libsoundio.dll
Executable file
Binary file not shown.
1
hsmodem/SharedLibs/x86_64/libsoundio.so
Symbolic link
1
hsmodem/SharedLibs/x86_64/libsoundio.so
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libsoundio.so.2
|
1
hsmodem/SharedLibs/x86_64/libsoundio.so.2
Symbolic link
1
hsmodem/SharedLibs/x86_64/libsoundio.so.2
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libsoundio.so.2.0.0
|
BIN
hsmodem/SharedLibs/x86_64/libsoundio.so.2.0.0
Executable file
BIN
hsmodem/SharedLibs/x86_64/libsoundio.so.2.0.0
Executable file
Binary file not shown.
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user