ExpertSDR

General discussion and support for the Peaberry SDR V2.

Re: ExpertSDR

Postby florin.tanasa » Sat Apr 04, 2015 4:47 am

For who wish to test can take the libDttSP from my friend Robert https://github.com/wd8rde/libDttSP because him find a solution more elegant like me.
73, YO8TFF
florin.tanasa
 
Posts: 33
Joined: Thu Apr 02, 2015 8:03 pm

Re: ExpertSDR

Postby florin.tanasa » Sat Apr 04, 2015 6:53 pm

The movie was make with lib from my repo
https://github.com/florintanasa/libDttSP.so
at the lib from Robert is necessary to work.
florin.tanasa
 
Posts: 33
Joined: Thu Apr 02, 2015 8:03 pm

Re: ExpertSDR

Postby W4MMP » Mon Apr 06, 2015 4:10 pm

Hi,
I have made progress with compiling the source on the RPI 2 running Raspbian. However it will still not compile correctly. This is with Qt5 (Qt-5.4.1). Qmake runs fine but the make fails with: (I will post this message on the ExpertSDR English board also)

Ron@Ron-PC ~
$ ssh ron@192.168.1.37
ron@192.168.1.37's password:
Linux squireoaksfarm-radio 3.18.10-v7+ #775 SMP PREEMPT Thu Apr 2 19:01:29 BST 2015 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Apr 6 01:05:51 2015 from 192.168.1.67
ron@squireoaksfarm-radio ~ $ cd src/sdr
ron@squireoaksfarm-radio ~/src/sdr $ ls
About.cpp Logger moc_SMeterOptions.cpp ui_Calibrator.h
About.h main.cpp moc_SMeterSDR.cpp ui_expertsdr_va2_1.h
About.ui MainIcon.ico moc_VoiceRecorderWave.cpp ui_fileList.h
AudioThread.cpp make.err moc_WavReader.cpp ui_Number2.h
AudioThread.h Makefile moc_wavSample.cpp ui_Number.h
bg.qrc make.out moc_WdgAddStation.cpp ui_PanoramOpt.h
bg.qrc.depends make.test moc_WdgGraph.cpp ui_progresscalibrate.h
browser.rc moc_About.cpp moc_WdgMem.cpp ui_Scale.h
CalibrateSC moc_Calibrator.cpp Options.cpp ui_S_Meter.h
Cat moc_CalibrProc.cpp Options.h ui_SMeterOptions.h
CMakeCache.txt moc_CatManager.cpp Options.ui ui_wavSample.h
CMakeFiles moc_ColorWgt.cpp Panarama.cpp ui_WdgAddStation.h
cmake_install.cmake moc_Didgit.cpp Panarama.h ui_WdgGraph.h
CMakeLists.txt moc_Draw.cpp PanaramDefines.h ui_WdgMem.h
CW moc_DttSP.cpp PanoramOpt.cpp Vac.cpp
Defines.h moc_expertsdr_va2_1.cpp PanoramOpt.h Vac.h
DttSP.cpp moc_extioplugin.cpp PanoramOpt.ui Wav
DttSP.h moc_fileList.cpp README.md WavReader.cpp
dttsplibrary.cpp moc_Number2.cpp Resampler.cpp WavReader.h
dttsplibrary.h moc_Number.cpp Resampler.h WdgAddStation.cpp
ExpertSDR.kdev4 moc_Options.cpp ringBuf.cpp WdgAddStation.h
ExpertSDR.pro moc_Panarama.cpp ringBuf.h WdgAddStation.ui
ExpertSDR_ru.ts moc_PanoramOpt.cpp RingResampler WdgGraph.cpp
expertsdr_va2_1.cpp moc_PluginCtrl.cpp scale WdgGraph.h
expertsdr_va2_1.h moc_progresscalibrate.cpp SdrPlugin WdgGraph.ui
expertsdr_va2_1.ui moc_qextserialenumerator.cpp S-Meter WdgMem.cpp
FreqScale moc_qextserialport.cpp SmeterGUI WdgMem.h
GLFont moc_Scale.cpp ThreadFunc.cpp WdgMem.ui
images moc_ScaleNum.cpp ThreadFunc.h
images.qrc moc_SdrPlugin.cpp Timer
images.qrc.depends moc_S_Meter.cpp ui_About.h
ron@squireoaksfarm-radio ~/src/sdr $ make
[ 1%] Automatic moc and uic for target expertsdr
Generating moc_qextserialenumerator.cpp
Generating moc_qextserialport.cpp
Generating ui_About.h
Generating ui_Calibrator.h
Generating ui_progresscalibrate.h
Generating ui_expertsdr_va2_1.h
File '/home/ron/src/sdr/Cat/expertsdr_va2_1.ui' is not valid
AUTOUIC: error: process for ui_expertsdr_va2_1.h needed by
"/home/ron/src/sdr/Cat/CatManager.cpp"
failed:
File '/home/ron/src/sdr/Cat/expertsdr_va2_1.ui' is not valid

Generating ui_Options.h
Generating ui_PanoramOpt.h
Generating ui_Number.h
Generating ui_Number2.h
Generating ui_S_Meter.h
Generating ui_Options.h
File '/home/ron/src/sdr/SdrPlugin/Options.ui' is not valid
AUTOUIC: error: process for ui_Options.h needed by
"/home/ron/src/sdr/SdrPlugin/SdrPlugin.h"
failed:
File '/home/ron/src/sdr/SdrPlugin/Options.ui' is not valid

Generating ui_SMeterOptions.h
Generating ui_fileList.h
Generating ui_wavSample.h
Generating ui_WdgAddStation.h
Generating ui_WdgGraph.h
Generating ui_WdgMem.h
Generating ui_expertsdr_va2_1.h
Generating ui_Scale.h
Generating moc_About.cpp
Generating moc_CalibrProc.cpp
Generating moc_Calibrator.cpp
Generating moc_progresscalibrate.cpp
Generating moc_CatManager.cpp
Generating moc_DttSP.cpp
Generating moc_Didgit.cpp
Generating moc_Options.cpp
Generating moc_Panarama.cpp
Generating moc_PanoramOpt.cpp
Generating moc_Draw.cpp
Generating moc_Number.cpp
Generating moc_Number2.cpp
Generating moc_S_Meter.cpp
Generating moc_PluginCtrl.cpp
Generating moc_SdrPlugin.cpp
Generating moc_extioplugin.cpp
Generating moc_ColorWgt.cpp
Generating moc_SMeterOptions.cpp
Generating moc_SMeterSDR.cpp
Generating moc_VoiceRecorderWave.cpp
Generating moc_fileList.cpp
Generating moc_wavSample.cpp
Generating moc_WavReader.cpp
Generating moc_WdgAddStation.cpp
Generating moc_WdgGraph.cpp
Generating moc_WdgMem.cpp
Generating moc_expertsdr_va2_1.cpp
Generating moc_Scale.cpp
Generating moc_ScaleNum.cpp
uic failed...
CMakeFiles/expertsdr_automoc.dir/build.make:49: recipe for target 'CMakeFiles/expertsdr_automoc' failed
make[2]: *** [CMakeFiles/expertsdr_automoc] Error 1
CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/expertsdr_automoc.dir/all' failed
make[1]: *** [CMakeFiles/expertsdr_automoc.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
ron@squireoaksfarm-radio ~/src/sdr $
73
Ron / W4MMP
W4MMP
 
Posts: 579
Joined: Fri Jan 03, 2014 3:31 pm
Location: Lovettsville, Virginia FM19EG

Re: ExpertSDR

Postby florin.tanasa » Mon Apr 06, 2015 6:27 pm

Hi, last result
https://youtu.be/-Mfxhj9FVhg

Ron you installed the libudev?
florin.tanasa
 
Posts: 33
Joined: Thu Apr 02, 2015 8:03 pm

Re: ExpertSDR

Postby W4MMP » Mon Apr 06, 2015 8:29 pm

Hi,
Yes, the video looks good.

And yes, I did install libudev. I also needed to install liblo, glut, gsl.
Now the build fails with this:
ron@squireoaksfarm-radio ~/src/OpenExpertSDR/build $ make
[ 1%] Automatic moc for target expertsdr
[ 1%] Built target expertsdr_automoc
Linking CXX executable expertsdr
/usr/bin/ld: cannot find -lcblas
collect2: ld returned 1 exit status
CMakeFiles/expertsdr.dir/build.make:1479: recipe for target 'expertsdr' failed
make[2]: *** [expertsdr] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/expertsdr.dir/all' failed
make[1]: *** [CMakeFiles/expertsdr.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
ron@squireoaksfarm-radio ~/src/OpenExpertSDR/build $

It is obvious the OpenExpertSDR needs a number libraries that are not installed with the base Raspbian operating system.
I can not find a library package that will satisfy the build which is asking for "cblas". What is the name of the package I need to install?
73
Ron / W4MMP
W4MMP
 
Posts: 579
Joined: Fri Jan 03, 2014 3:31 pm
Location: Lovettsville, Virginia FM19EG

Re: ExpertSDR

Postby florin.tanasa » Mon Apr 06, 2015 8:55 pm

Exist a solution remove cblas from CMakeLists.txt and run once again
cmake
and
make
because this CMakeLists.txt I used in manjaro linux and here I need because is difference between lib fftw3 from ubuntu and manjaro.
A test in ubuntu
https://youtu.be/VVBHhx98_7E
In ubuntu you need this lib -lDttSP -lGLU -lportaudio -lpthread -lm -lfftw3f -lm
florin.tanasa
 
Posts: 33
Joined: Thu Apr 02, 2015 8:03 pm

Re: ExpertSDR

Postby florin.tanasa » Thu Apr 09, 2015 12:40 pm

So last work you found in this repo: https://github.com/florintanasa/OpenExpertSDR
Lib DttSP is necessary to take from: https://github.com/wd8rde/libDttSP
also in https://github.com/wd8rde/libExtio_genesis you found library for Genesis G11 and G59 and can be a start point for another SDR
I removed unnecessary libs, because I put DttSP to force user to have this lib.
florin.tanasa
 
Posts: 33
Joined: Thu Apr 02, 2015 8:03 pm

Re: ExpertSDR

Postby W4MMP » Thu Apr 09, 2015 2:17 pm

Hello Tanasa,

I have made good progress with building an running ExpertSDR. I found the Qt5 libraries were defective. I rebuild the Qt5 libraries and ExpertSDR. Now all the "window (panels)" elements display properly. This is without (not using) the libDttSP library. Why do I not need this library?

I have not downloaded your new repo. I will do this later today. Thanks for the information on libExtio_genesis . I will look into this because my real goal is to modify ExpertSDR to be used with the Peaberry.

(I still have problems with the audio devices. ExpertSDR reports: PortAudio Error! Can't open stream)
73
Ron / W4MMP
W4MMP
 
Posts: 579
Joined: Fri Jan 03, 2014 3:31 pm
Location: Lovettsville, Virginia FM19EG

Re: ExpertSDR

Postby florin.tanasa » Fri Apr 10, 2015 8:25 pm

Good news at mine with odroid u2 not work now. Two days ago work but very slow because not exist accelerated opengl.
My qt5 from odroid was compiled from source with flag -opengl desktop at configure.
With default qt5 from system not work because this qt5 was compiled with flag -opengl es2.
What ./configure flag you use for qt5?
Keep this directory in safe place when check a new version from mine repo.
When you this error ?
PortAudio Error! Can't open stream
I see not give this error with all audio cards.
You can play wav files for test?

LE> is not need lib DttSP because the functions is load dynamical from what lib DttSP export. I put initial to force user to have this lib.
florin.tanasa
 
Posts: 33
Joined: Thu Apr 02, 2015 8:03 pm

Re: ExpertSDR

Postby florin.tanasa » Fri Apr 10, 2015 8:55 pm

Try to use jack for audio driver.
Install QjackCtl to setup sound card.
florin.tanasa
 
Posts: 33
Joined: Thu Apr 02, 2015 8:03 pm

PreviousNext

Return to Peaberry SDR V2

Who is online

Users browsing this forum: No registered users and 3 guests

cron