Receiving D-STAR Voice with DSD 1.7 on Windows

Recently we posted about PU2VLW’s project where he was able to decode and listen to D-STAR voice using an RTL-SDR and SDR# running on Windows connected via physical audio cable to a second Linux machine running DSD 1.7.

Now a RTL-SDR.com reader by the name of “Skywatcher” has written in to tell us how he was able to compile DSD 1.7 on a Windows PC using Cygwin. This allows him to decode D-STAR audio on a single Windows PC. Skywatcher kindly sent us the steps he used to compile DSD 1.7 on Windows.

1. Download the zip archive for dsd-1.7.0 from here: https://github.com/szechyjs/dsd and then unzip the archive, so that you get the folder dsd-master, which includes all the source files.

2. Download the zip archive for mbelib-1.2.5 from here: https://github.com/szechyjs/mbelib and then unzip the archive, so that you get the folder mbelib-master, which includes all the source files.

3. Download and install the Cygwin environment. It is important to use the 32 bit version. It will not work with the 64 bit version. In the installation process, you also have to make sure that you choose gcc (the compiler) for installation.

4. Within the Cygwin command window, use gcc, to compile every .c file within the folders mbelib-master and dsd-master (subfolders can be ignored), so that you will get an .o file (object file) for each source file.

5. Copy all the resulting .o files from mbelib-master to dsd-master and use gcc again to link all the object files, so that you will get the final executable dsd.exe. This final step also has to include the sndfile library from Cygwin being mentioned in the call of gcc, otherwise it will not work.

6. In order to start dsd.exe, it is necessary to copy cygwin1.dll to the same folder, where your built dsd.exe is. It is very important that the version number of the dll is being lower than 1.7.26, otherwise dsd.exe will crash. If this is not the case for your dll, you have to find an alternative version from the internet. Additionally, it may be necessary to copy more dlls, needed by the sndfile library, next to your dsd.exe. This may depend on your environment variables of your system.

7. For decoding D-Star, you should call DSD like following: dsd -i /dev/dsp -o /dev/dsp -fd

8. For best results, make sure that all your SDR# and VAC sample rates are set to 48kHz and that you have disabled “Filter Audio” in SDR#. Also, the audio volume of SDR# should not be set to high.

With DSD 1.7 running on Windows, Skywatcher was able to get these results shown in the video links below.

https://www.youtube.com/watch?v=5qpwnTDvI-Q

https://www.youtube.com/watch?v=30GcI4LDjdg&feature=youtu.be

EDIT: Reader Kotelnikov007 from the comments section has been kind enough to upload a pre-compiled windows version. https://mega.co.nz/#!Ft9WFbgQ!sOhsUeMC83Xi5Wxjr4eEPoc0WuM0cJOM2bq9DnE4dWE

EDIT 2 (30/12/2016): The above link seems dead. Reader Adrian wrote in to submit his compilation which is available at https://mega.nz/#!jJZRALrb!NylT4jmZIBwCyZqU05EaX8wqObxuaqeTzCD8hHP5gO8.

Adrian also writes

– The list of the required DLLs to make it work are these:
https://twitter.com/CodingFree/status/813788401610739712
– It is needed to load sndfile library (already prebuilt in Cygwin).
– It needs MBE, but also the ITPP libraries.

Subscribe
Notify of
guest

55 Comments
Inline Feedbacks
View all comments
Panoramix

I’ve been trying the files compiled by Adrian to run DSD on windows 10 but when I Launch DSD, I get :
Digital Speech Decoder 1.7.0-dev (build:v1.6.0-86-g7ee04e5)
mbelib version 1.3.0
Error, couldn’t open /dev/audio

Any idea what I got wrong?

tim_rtd

I’m not fond of compiling on windows, but I will tell you that /dev/audio is a linux statement.
Recently I’ve been using the DSD that installs with that community package you can get with SDR#.
You can use DSD right out of the sdr# subdirectory and NOT use the SDR# application at all.

Panoramix

Thank you for the reply, sadly the dsd included in the community edition is too old to decode C4FM which is what I was trying to decode…. Yes I have the feeling that it is trying to get the audio from dev/audio insteadof the soundcard.

Ben321

Have you gotten it working yet? I would like to be able to decode P25 digital voice, and this program is the only one capable of doing so that I’ve ever seen, but it keeps not working. The error is that it’s trying to invoke linux techniques for accessing the sound card. You will need to manually change the soundcard code in this program, to Windows equivalents (this will be a major undertaking, due to the complexity of soundcard programming in Windows, but will be worth it once you get it working) in order to make sure that the program attempts to communicate with the sound card in the “Windows way” and not in the “Linux way”.

PJJ

cmake Error Could not find ITPP
libitpp-dev not found under cygwin install
???

Cato Andre Pettersen

The system is: Linux – 3.19.0-32-generic – i686
Compiling the C compiler identification source file “CMakeCCompilerId.c” succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:

The output was:
0

Compilation of the C compiler identification source “CMakeCCompilerId.c” produced “a.out”

The C compiler identification is GNU, found in “/root/code/dsd/build/CMakeFiles/2.8.12.2/CompilerIdC/a.out”

Compiling the CXX compiler identification source file “CMakeCXXCompilerId.cpp” succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:

The output was:
0

Compilation of the CXX compiler identification source “CMakeCXXCompilerId.cpp” produced “a.out”

The CXX compiler identification is GNU, found in “/root/code/dsd/build/CMakeFiles/2.8.12.2/CompilerIdCXX/a.out”

Determining if the C compiler works passed with the following output:
Change Dir: /root/code/dsd/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make “cmTryCompileExec2364217319/fast”
/usr/bin/make -f CMakeFiles/cmTryCompileExec2364217319.dir/build.make CMakeFiles/cmTryCompileExec2364217319.dir/build
make[1]: Entering directory `/root/code/dsd/build/CMakeFiles/CMakeTmp’
/usr/bin/cmake -E cmake_progress_report /root/code/dsd/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2364217319.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTryCompileExec2364217319.dir/testCCompiler.c.o -c /root/code/dsd/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec2364217319
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2364217319.dir/link.txt –verbose=1
/usr/bin/cc CMakeFiles/cmTryCompileExec2364217319.dir/testCCompiler.c.o -o cmTryCompileExec2364217319 -rdynamic
make[1]: Leaving directory `/root/code/dsd/build/CMakeFiles/CMakeTmp’

Detecting C compiler ABI info compiled with the following output:
Change Dir: /root/code/dsd/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make “cmTryCompileExec1038765470/fast”
/usr/bin/make -f CMakeFiles/cmTryCompileExec1038765470.dir/build.make CMakeFiles/cmTryCompileExec1038765470.dir/build
make[1]: Entering directory `/root/code/dsd/build/CMakeFiles/CMakeTmp’
/usr/bin/cmake -E cmake_progress_report /root/code/dsd/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1038765470.dir/CMakeCCompilerABI.c.o
/usr/bin/cc -o CMakeFiles/cmTryCompileExec1038765470.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c
Linking C executable cmTryCompileExec1038765470
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1038765470.dir/link.txt –verbose=1
/usr/bin/cc -v CMakeFiles/cmTryCompileExec1038765470.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec1038765470 -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v –with-pkgversion=’Ubuntu 4.8.4-2ubuntu1~14.04.3′ –with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs –enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ –prefix=/usr –program-suffix=-4.8 –enable-shared –enable-linker-build-id –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –with-gxx-include-dir=/usr/include/c++/4.8 –libdir=/usr/lib –enable-nls –with-sysroot=/ –enable-clocale=gnu –enable-libstdcxx-debug –enable-libstdcxx-time=yes –enable-gnu-unique-object –disable-libmudflap –enable-plugin –with-system-zlib –disable-browser-plugin –enable-java-awt=gtk –enable-gtk-cairo –with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre –enable-java-home –with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386 –with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386 –with-arch-directory=i386 –with-ecj-jar=/usr/share/java/eclipse-ecj.jar –enable-objc-gc –enable-targets=all –enable-multiarch –disable-werror –with-arch-32=i686 –with-multilib-list=m32,m64,mx32 –with-tune=generic –enable-checking=release –build=i686-linux-gnu –host=i686-linux-gnu –target=i686-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/4.8/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘cmTryCompileExec1038765470’ ‘-rdynamic’ ‘-mtune=generic’ ‘-march=i686′
/usr/lib/gcc/i686-linux-gnu/4.8/collect2 –sysroot=/ –build-id –eh-frame-hdr -m elf_i386 –hash-style=gnu –as-needed -export-dynamic -dynamic-linker /lib/ld-linux.so.2 -z relro -o cmTryCompileExec1038765470 /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crt1.o /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/4.8/crtbegin.o -L/usr/lib/gcc/i686-linux-gnu/4.8 -L/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.8/../../.. CMakeFiles/cmTryCompileExec1038765470.dir/CMakeCCompilerABI.c.o -lgcc –as-needed -lgcc_s –no-as-needed -lc -lgcc –as-needed -lgcc_s –no-as-needed /usr/lib/gcc/i686-linux-gnu/4.8/crtend.o /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crtn.o
make[1]: Leaving directory `/root/code/dsd/build/CMakeFiles/CMakeTmp’

Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /root/code/dsd/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:/usr/bin/make “cmTryCompileExec1038765470/fast”]
ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec1038765470.dir/build.make CMakeFiles/cmTryCompileExec1038765470.dir/build]
ignore line: [make[1]: Entering directory `/root/code/dsd/build/CMakeFiles/CMakeTmp’]
ignore line: [/usr/bin/cmake -E cmake_progress_report /root/code/dsd/build/CMakeFiles/CMakeTmp/CMakeFiles 1]
ignore line: [Building C object CMakeFiles/cmTryCompileExec1038765470.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/cc -o CMakeFiles/cmTryCompileExec1038765470.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTryCompileExec1038765470]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1038765470.dir/link.txt –verbose=1]
ignore line: [/usr/bin/cc -v CMakeFiles/cmTryCompileExec1038765470.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec1038765470 -rdynamic ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper]
ignore line: [Target: i686-linux-gnu]
ignore line: [Configured with: ../src/configure -v –with-pkgversion=’Ubuntu 4.8.4-2ubuntu1~14.04.3′ –with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs –enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ –prefix=/usr –program-suffix=-4.8 –enable-shared –enable-linker-build-id –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –with-gxx-include-dir=/usr/include/c++/4.8 –libdir=/usr/lib –enable-nls –with-sysroot=/ –enable-clocale=gnu –enable-libstdcxx-debug –enable-libstdcxx-time=yes –enable-gnu-unique-object –disable-libmudflap –enable-plugin –with-system-zlib –disable-browser-plugin –enable-java-awt=gtk –enable-gtk-cairo –with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre –enable-java-home –with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386 –with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386 –with-arch-directory=i386 –with-ecj-jar=/usr/share/java/eclipse-ecj.jar –enable-objc-gc –enable-targets=all –enable-multiarch –disable-werror –with-arch-32=i686 –with-multilib-list=m32,m64,mx32 –with-tune=generic –enable-checking=release –build=i686-linux-gnu –host=i686-linux-gnu –target=i686-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/4.8/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘cmTryCompileExec1038765470’ ‘-rdynamic’ ‘-mtune=generic’ ‘-march=i686′]
link line: [ /usr/lib/gcc/i686-linux-gnu/4.8/collect2 –sysroot=/ –build-id –eh-frame-hdr -m elf_i386 –hash-style=gnu –as-needed -export-dynamic -dynamic-linker /lib/ld-linux.so.2 -z relro -o cmTryCompileExec1038765470 /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crt1.o /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/4.8/crtbegin.o -L/usr/lib/gcc/i686-linux-gnu/4.8 -L/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.8/../../.. CMakeFiles/cmTryCompileExec1038765470.dir/CMakeCCompilerABI.c.o -lgcc –as-needed -lgcc_s –no-as-needed -lc -lgcc –as-needed -lgcc_s –no-as-needed /usr/lib/gcc/i686-linux-gnu/4.8/crtend.o /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crtn.o]
arg [/usr/lib/gcc/i686-linux-gnu/4.8/collect2] ==> ignore
arg [–sysroot=/] ==> ignore
arg [–build-id] ==> ignore
arg [–eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_i386] ==> ignore
arg [–hash-style=gnu] ==> ignore
arg [–as-needed] ==> ignore
arg [-export-dynamic] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib/ld-linux.so.2] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTryCompileExec1038765470] ==> ignore
arg [/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crt1.o] ==> ignore
arg [/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/i686-linux-gnu/4.8/crtbegin.o] ==> ignore
arg [-L/usr/lib/gcc/i686-linux-gnu/4.8] ==> dir [/usr/lib/gcc/i686-linux-gnu/4.8]
arg [-L/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu] ==> dir [/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu]
arg [-L/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib] ==> dir [/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib]
arg [-L/lib/i386-linux-gnu] ==> dir [/lib/i386-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/i386-linux-gnu] ==> dir [/usr/lib/i386-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/i686-linux-gnu/4.8/../../..] ==> dir [/usr/lib/gcc/i686-linux-gnu/4.8/../../..]
arg [CMakeFiles/cmTryCompileExec1038765470.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [–as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [–no-as-needed] ==> ignore
arg [-lc] ==> lib [c]
arg [-lgcc] ==> lib [gcc]
arg [–as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [–no-as-needed] ==> ignore
arg [/usr/lib/gcc/i686-linux-gnu/4.8/crtend.o] ==> ignore
arg [/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crtn.o] ==> ignore
remove lib [gcc]
remove lib [gcc_s]
remove lib [gcc]
remove lib [gcc_s]
collapse library dir [/usr/lib/gcc/i686-linux-gnu/4.8] ==> [/usr/lib/gcc/i686-linux-gnu/4.8]
collapse library dir [/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu] ==> [/usr/lib/i386-linux-gnu]
collapse library dir [/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/i386-linux-gnu] ==> [/lib/i386-linux-gnu]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/i386-linux-gnu] ==> [/usr/lib/i386-linux-gnu]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/i686-linux-gnu/4.8/../../..] ==> [/usr/lib]
implicit libs: [c]
implicit dirs: [/usr/lib/gcc/i686-linux-gnu/4.8;/usr/lib/i386-linux-gnu;/usr/lib;/lib/i386-linux-gnu;/lib]
implicit fwks: []

Determining if the CXX compiler works passed with the following output:
Change Dir: /root/code/dsd/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make “cmTryCompileExec1402170063/fast”
/usr/bin/make -f CMakeFiles/cmTryCompileExec1402170063.dir/build.make CMakeFiles/cmTryCompileExec1402170063.dir/build
make[1]: Entering directory `/root/code/dsd/build/CMakeFiles/CMakeTmp’
/usr/bin/cmake -E cmake_progress_report /root/code/dsd/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec1402170063.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec1402170063.dir/testCXXCompiler.cxx.o -c /root/code/dsd/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTryCompileExec1402170063
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1402170063.dir/link.txt –verbose=1
/usr/bin/c++ CMakeFiles/cmTryCompileExec1402170063.dir/testCXXCompiler.cxx.o -o cmTryCompileExec1402170063 -rdynamic
make[1]: Leaving directory `/root/code/dsd/build/CMakeFiles/CMakeTmp’

Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /root/code/dsd/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make “cmTryCompileExec3472784116/fast”
/usr/bin/make -f CMakeFiles/cmTryCompileExec3472784116.dir/build.make CMakeFiles/cmTryCompileExec3472784116.dir/build
make[1]: Entering directory `/root/code/dsd/build/CMakeFiles/CMakeTmp’
/usr/bin/cmake -E cmake_progress_report /root/code/dsd/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec3472784116.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec3472784116.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTryCompileExec3472784116
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3472784116.dir/link.txt –verbose=1
/usr/bin/c++ -v CMakeFiles/cmTryCompileExec3472784116.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec3472784116 -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v –with-pkgversion=’Ubuntu 4.8.4-2ubuntu1~14.04.3′ –with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs –enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ –prefix=/usr –program-suffix=-4.8 –enable-shared –enable-linker-build-id –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –with-gxx-include-dir=/usr/include/c++/4.8 –libdir=/usr/lib –enable-nls –with-sysroot=/ –enable-clocale=gnu –enable-libstdcxx-debug –enable-libstdcxx-time=yes –enable-gnu-unique-object –disable-libmudflap –enable-plugin –with-system-zlib –disable-browser-plugin –enable-java-awt=gtk –enable-gtk-cairo –with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre –enable-java-home –with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386 –with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386 –with-arch-directory=i386 –with-ecj-jar=/usr/share/java/eclipse-ecj.jar –enable-objc-gc –enable-targets=all –enable-multiarch –disable-werror –with-arch-32=i686 –with-multilib-list=m32,m64,mx32 –with-tune=generic –enable-checking=release –build=i686-linux-gnu –host=i686-linux-gnu –target=i686-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/4.8/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘cmTryCompileExec3472784116’ ‘-rdynamic’ ‘-shared-libgcc’ ‘-mtune=generic’ ‘-march=i686′
/usr/lib/gcc/i686-linux-gnu/4.8/collect2 –sysroot=/ –build-id –eh-frame-hdr -m elf_i386 –hash-style=gnu –as-needed -export-dynamic -dynamic-linker /lib/ld-linux.so.2 -z relro -o cmTryCompileExec3472784116 /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crt1.o /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/4.8/crtbegin.o -L/usr/lib/gcc/i686-linux-gnu/4.8 -L/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.8/../../.. CMakeFiles/cmTryCompileExec3472784116.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/i686-linux-gnu/4.8/crtend.o /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crtn.o
make[1]: Leaving directory `/root/code/dsd/build/CMakeFiles/CMakeTmp’

Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /root/code/dsd/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:/usr/bin/make “cmTryCompileExec3472784116/fast”]
ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec3472784116.dir/build.make CMakeFiles/cmTryCompileExec3472784116.dir/build]
ignore line: [make[1]: Entering directory `/root/code/dsd/build/CMakeFiles/CMakeTmp’]
ignore line: [/usr/bin/cmake -E cmake_progress_report /root/code/dsd/build/CMakeFiles/CMakeTmp/CMakeFiles 1]
ignore line: [Building CXX object CMakeFiles/cmTryCompileExec3472784116.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTryCompileExec3472784116.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTryCompileExec3472784116]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3472784116.dir/link.txt –verbose=1]
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTryCompileExec3472784116.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec3472784116 -rdynamic ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper]
ignore line: [Target: i686-linux-gnu]
ignore line: [Configured with: ../src/configure -v –with-pkgversion=’Ubuntu 4.8.4-2ubuntu1~14.04.3′ –with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs –enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ –prefix=/usr –program-suffix=-4.8 –enable-shared –enable-linker-build-id –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –with-gxx-include-dir=/usr/include/c++/4.8 –libdir=/usr/lib –enable-nls –with-sysroot=/ –enable-clocale=gnu –enable-libstdcxx-debug –enable-libstdcxx-time=yes –enable-gnu-unique-object –disable-libmudflap –enable-plugin –with-system-zlib –disable-browser-plugin –enable-java-awt=gtk –enable-gtk-cairo –with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre –enable-java-home –with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386 –with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386 –with-arch-directory=i386 –with-ecj-jar=/usr/share/java/eclipse-ecj.jar –enable-objc-gc –enable-targets=all –enable-multiarch –disable-werror –with-arch-32=i686 –with-multilib-list=m32,m64,mx32 –with-tune=generic –enable-checking=release –build=i686-linux-gnu –host=i686-linux-gnu –target=i686-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/4.8/:/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/4.8/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘cmTryCompileExec3472784116’ ‘-rdynamic’ ‘-shared-libgcc’ ‘-mtune=generic’ ‘-march=i686’]
link line: [ /usr/lib/gcc/i686-linux-gnu/4.8/collect2 –sysroot=/ –build-id –eh-frame-hdr -m elf_i386 –hash-style=gnu –as-needed -export-dynamic -dynamic-linker /lib/ld-linux.so.2 -z relro -o cmTryCompileExec3472784116 /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crt1.o /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/4.8/crtbegin.o -L/usr/lib/gcc/i686-linux-gnu/4.8 -L/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.8/../../.. CMakeFiles/cmTryCompileExec3472784116.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/i686-linux-gnu/4.8/crtend.o /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crtn.o]
arg [/usr/lib/gcc/i686-linux-gnu/4.8/collect2] ==> ignore
arg [–sysroot=/] ==> ignore
arg [–build-id] ==> ignore
arg [–eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_i386] ==> ignore
arg [–hash-style=gnu] ==> ignore
arg [–as-needed] ==> ignore
arg [-export-dynamic] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib/ld-linux.so.2] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTryCompileExec3472784116] ==> ignore
arg [/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crt1.o] ==> ignore
arg [/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/i686-linux-gnu/4.8/crtbegin.o] ==> ignore
arg [-L/usr/lib/gcc/i686-linux-gnu/4.8] ==> dir [/usr/lib/gcc/i686-linux-gnu/4.8]
arg [-L/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu] ==> dir [/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu]
arg [-L/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib] ==> dir [/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib]
arg [-L/lib/i386-linux-gnu] ==> dir [/lib/i386-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/i386-linux-gnu] ==> dir [/usr/lib/i386-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/i686-linux-gnu/4.8/../../..] ==> dir [/usr/lib/gcc/i686-linux-gnu/4.8/../../..]
arg [CMakeFiles/cmTryCompileExec3472784116.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [/usr/lib/gcc/i686-linux-gnu/4.8/crtend.o] ==> ignore
arg [/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crtn.o] ==> ignore
remove lib [gcc_s]
remove lib [gcc]
remove lib [gcc_s]
remove lib [gcc]
collapse library dir [/usr/lib/gcc/i686-linux-gnu/4.8] ==> [/usr/lib/gcc/i686-linux-gnu/4.8]
collapse library dir [/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu] ==> [/usr/lib/i386-linux-gnu]
collapse library dir [/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/i386-linux-gnu] ==> [/lib/i386-linux-gnu]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/i386-linux-gnu] ==> [/usr/lib/i386-linux-gnu]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/i686-linux-gnu/4.8/../../..] ==> [/usr/lib]
implicit libs: [stdc++;m;c]
implicit dirs: [/usr/lib/gcc/i686-linux-gnu/4.8;/usr/lib/i386-linux-gnu;/usr/lib;/lib/i386-linux-gnu;/lib]
implicit fwks: []

WesPeros

Hello,

is there a chance that someone updates these instructions? The last DSD 1.7. version has .c files in separate folder, and myself being not really familiar with the gcc toolchain could really use some help on those compiling and linking instructions.

Cheers,

W.

Juanro

I try to run the dsd 1.7 but get an error
build:HEAD-HASH-NOTFOUND

Juanro

Waiting, without audio.

Thanks

Same error here. Will try and re-compile and post back with a link.

Bollan

Hey
Do you can upload the compiled exe. again? The link below is timeout!.
Would be very nice! I tried to compile it by myself but i failed on point 5..

Juanro

Dowload here, password unzip is pu2vlw
http://www.4shared.com/zip/QJLO7XKBce/dsd.html

Thanks

Thanks for the binary and librarys. Not tested yet but the download site was a major PITA.

William

Thanks! Although I think that website gave me eyeball aids.

Михаил

$ gcc mbelib.o ambe3600x2400.o ambe3600x2450.o ecc.o imbe7100x4400.o imbe7200x44 00.o -o rezult

/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../libcygwin.a(libcmain.o): In function `main’:
/usr/src/debug/cygwin-2.3.1-1/winsup/cygwin/lib/libcmain.c:39: undefined referen
ce to `WinMain@16′
collect2: error: выполнение ld завершилось с кодом возврата 1

compiled file that has been uploaded to the “MEGA” is no longer available
Please put some more or then I head will break

Михаил

Please open the topic on what some forum for step-by-step program compilation, together we will try to solve this problem

roland

I try to run the dsd 1.7 but get an error
build :GIT – NOTFOUND
Error couldn’t open file /dev/audio

What can I do . Am using desktop computer running win 7.

Mikey

I get the same thing on my Win7 computer. This is really aggravating because there’s a local D-Star repeater I’d like to monitor but can’t. They seem to have made a lot of this stuff, even downloading the software, rather cryptic for some reason. I really thought I would have found more useful information on this than I have 🙁

James Madson

I can’t even get THAT far because I can’t seem to find the DSD download link to even try this damn software. The links provided (above) doesn’t actually show a “DOWNLOAD” tab for DSD, but rather, a bunch of other related stuff or modules that go with it. I just wish somebody would post a legitimate DOWNLOAD link that simply downloads DSD so you could install the damn thing. Instead all I get are a bunch of other links that seems to be everything EXCEPT dsd. I openly admit I’m not the smartest mofo out here but I haven’t been able to even find a working DSD.exe link to get this sucker working . Sorry but I just don’t get it 🙁 🙁

It’s pretty obvious I’m frustrated here but I really want to get this to work but can’t find a way to download it, which is especially frustrating considering I’m seeing all these people making videos about it and all the comments where people claim it’s so wonderful. I admit I’m a dumbass but can someone at least tell me just where the hell the .exe download link is for this software???????????????????????????????????

crew-1000

I am not an informatics programmer so all the c++ or cygwin or link with no folder: I waist my time. So please don’t complicate all the information. I want something plug and play.
I thank you in advance for your time.

My setup:
Windows XP
One RTL-SDR/USB
SDRsharp SDR v1.0.0.1317
Audio VOICEMEETER (Virtual Mixing Console)

I want to scan numerique: Apco-25, Edacs, Trunking P25, Seram P25, Renir, ProVoice

If you need to see my setup: http://we.tl/qhqtoBK6ys

Klaus

Need help for compile dsd 1.7 (june 2014)
Error on DSD-Master/build cmake ..
Message from Cgywin:
— Found LibSndFile: /usr/lib/libsndfile.dll.a
— Found LibMbe: /usr/local/lib/libmbe.dll.a
CMake Error at cmake/FindITPP.cmake:18 (MESSAGE):
Could not find ITPP
Call Stack (most recent call first):
CMakeLists.txt:11 (find_package)
— Configuring incomplete, errors occurred!
What can i do?

Gwen

Klaus:

Hope this message finds you well after nearly 18 months!

I solved this problem for me by running (in xubuntu 14.04):

sudo apt-get install libitpp-dev

I haven’t tried running my newly-made dsd, but it at least got passed the ITPP error.

Gwen

I verified, DSD is now working.

Klaus

New version of DSD !
Would it be possible to make the compiled exe available for download?
Thanks

spatieman

ohwell, i blamed the DSD interface for SDR# ,now it wont crash..

spatieman

dsd makes my sdr# crashing.

spatieman

hmpf, my sdr# 1309 is crashing on it..

Jerry Ball

Can anyone make another .exe file as it seems like mototrbo been updated in May ’14

Lee Lewis

Hello Guys, Using HDSDR with the dsd 1.7 precompiled, audio routed ok but it is garbled (dstar repeater uk) any tips you can give please? managed to get decoding of the text messages ok, callsigns etc

Pete

Thanks for DSD and for the windows compile. appreciate the effort.

andi

please give a link to download a working assembly program

Paulk

Can someone compile a binary for windows and upload it here. I have followed the instructions fro Window and Linux and have had no luck. I cant Compile the files seperatly or use CMake…
Thanks

Kristian

I cant get the precompiled dsd 1.7 windows working ..

I have a windows 7 64 bit laptop ..

DSD 1.7 say .. Digital Speech Decoder 1.7.0-dev (build:GIT NOT FOUND)

Why ?

Anyone running it on WM Virtualbox ? Maybe that would be a better choice?

matteo

Same error here….

Any Solutions?

Running Windows 7 home premium x64.

Mike

Thank you. That runs the program without the error related to no audio device. Now to find an active D-Star repeater to see if I can hear anything.

Mike

OK, it is receiving audio on DStar and DMR and P25. Just change that last switch back to -fa to monitor for everything. In my area it looks like I have to add the -xr for the DMR MotoTRBO stuff. As others have said you just have to play around with it to get intelligible audio. I guess the vocoder compresses the heck out of the audio and it sounds kinda garbly but you can make out what is said. It is fun chasing all the different digital modes that are floating around out there. Maybe paging traffic or uni-trunking is next.

RadioPrescott

When using this link in Chrome I get a “corrypt file” error
Link

DG9BFC

ok .. downloaded the precompiled version

problem is audio routing

with 1.6 i can use virtual audio cable (i can select the input number and outputnumber of the soundcard to use in the options)

version 1.7 seems to work only with “stereomix” but he audio is garbeled

how to select vac (what options to set?!?
dev/dsp is stereomix only

how to change the input?!?

DG9BFC SIGI

I FOUND IT (or better a workaround

dsd 1.7 always uses the default recording device as the input

so how to use the audio routing with vac??

ser your sdr software to use rtl stick or fcdpp or whatever as input and set virtual audio cable as the output ..now select the virtual audio cable as the default recording device in windows audio settings …
that is now a working setup here 🙂
decodes dmr and dstar just fine (did not test on other modes yet)

Kotelnikov007

Here is the link for compiled and working dsd 1.7 for windows.
Tested by me and working well.

http://download.hellshare.cz/dsd-1-7-rar/19477485/

kikko

site not available in Italy..error 502..
Other link?
Tanks in advance

Homer

Site not working in Hungary:(

Kotelnikov007

here is the another link to mega.co.nz I hope it is work 🙂

https://mega.co.nz/#!Ft9WFbgQ!sOhsUeMC83Xi5Wxjr4eEPoc0WuM0cJOM2bq9DnE4dWE

Homer

Thanks!
BR

kikko

Tanks 1000..
work fine..

kevtheskin

Works a treat on my Toshiba l755 latop Windows 7 premium. Thanks for compiling from linux to Windows.
Kev

Danilo

URL is not available !! 🙁

Homer

Hi!
Please upload anywhere executable file.
Thanks
BR

David M

Can somebody please make a YouTube video on this process….I barely know how to use Linux. Now you want me to run a compile program?? Step 1 and 2 were easy. Steps 3 through 8 need a hell of a lot more detail for the average user. I think the last time I learned any programming was with basic on the TRS-80…..so please spare me a few brain cells and I only started learning about the linux OS because of the Pi.

Marcin

Would it be possible to make the compiled exe available for download?

Marco

You can use cmake and make to compile the dsd.exe:

install libsndfile-devel, make, cmake and cpp in cygwin, extract both archives and then goto mbelib dir and type:
mkdir build
cd build
cmake ..
make
make install

then cd to dsd dir and type:
mkdir build
cd build
cmake ..
make
make install

Now dsd.exe is available and can be used.

Regards, Marco

kikko

I can not compile dsd 1.7 for windows. You can find the executable?
thanks

kikko

@ Marco
I just can not hii ..
You can pass the compiled exe file x windows?
What would be really appreciated by many unless it is prohibited by the rules, in which case I apologize ..
I tried installing the tools for compiling but I just can not ..
thanks
Maurizio