cd /tmp
git clone https://github.com/myriadrf/LimeSuite.git
cd LimeSuite
mkdir builddir && cd builddir
#rm -rf * && ll
#cmake3 ../
cmake3 ../ -DwxWidgets_USE_STATIC:BOOL=ON -DwxWidgets_CONFIG_EXECUTABLE:FILEPATH=~/bin/wxWidgets-staticlib/bin/wx-config
make -j4
sudo make install
sudo ldconfig #needed to work on my centos 7
# enable non-root users to access usb-based devices like the LimeSDR
cd ../udev-rules
sudo ./install.sh
Perhaps you are building against a version of wxwidgets, from what I see in cmake output and make output, that is too old given the function signature/match error during build
/tmp/LimeSuite/src/oglGraph/dlgMarkers.cpp: In member function ‘void dlgMarkers::AddMarker(int)’:
/tmp/LimeSuite/src/oglGraph/dlgMarkers.cpp:75:79: error: no matching function for call to ‘wxString::Format(const char [4], int&)’
wxCheckBox* chk = new wxCheckBox(pnl, markerId, wxString::Format(“M%i”, id));
The LimeSuite build example shows wxWidgets 3.1, so try a 3.x instead–
That makes sense. They will probably need to uninstall the wx2.8 packages and then install wxWidgets 3.1.0 package for RedHat/Fedora/OpenSuse/CentOS (ref: https://www.wxwidgets.org/downloads/ ). Or install from source, but either way you will need to uninstall the existing wxWidgets developer packages, the runtime libraries should be fine to be left in place.
Yes, the problem was with the version of wxWidgets. Downloaded and compiled wxWidgets 3.1.0, added this version to cmake options and everything is good now.
$ LimeUtil --update
Connected to [LimeSDR-USB [USB 3.0] 9062000C51A1B]
[WARNING] Gateware version mismatch!
Expected gateware version 2, revision 8
But found version 2, revision 6
Follow the FW and FPGA upgrade instructions:
http://wiki.myriadrf.org/Lime_Suite#Flashing_images
Or run update on the command line: LimeUtil --update
[INFO] Estimated reference clock 30.7197 MHz
[INFO] Selected reference clock 30.720 MHz
Programming update failed! : ProgramWrite length should be > 0
I just ran these procedures on my Centos 7 box using a LimeSDR Mini and it all worked. SoapySDR and LimeSuite all installed, and the USB enable, find, and firmware update all worked:
Found device 0
addr = 24607:1027
driver = lime
label = LimeSDR Mini [USB 3.0] 1D3BD222764182
media = USB 3.0
module = FT601
name = LimeSDR Mini
serial = 1D3BD222764182
I then ran the LimeSuiteGUI it it seems to work as well. Make sure to “connect” to the device, then hit “default”, “reset”, and "gui->chip’, then the fft window fires right up with "start’.
I used: LimeUtil --update
successfully and it worked. I see in your attempt after connecting to the LimeSDR-USB you get a message “”[WARNING] Gateware version mismatch!
Expected gateware version 2, revision 8
But found version 2, revision 6"
Perhaps that is where the problem is.
Cheers,
Jon
Then down load the latest LimeSDR-Mini file (for me it was:
LimeSDR-Mini_HW_1.2_r1.28.rpd 10-Dec-2018 08:09 564K
After it was downloaded, from inside the LimeSuiteGUI application, I “connected” then chose “program” with"automatic" selected, then “program” it all worked.
==================================================================
[46021.287648] usb 1-2: new high-speed USB device number 2 using xhci_hcd
[46021.413881] usb 1-2: New USB device found, idVendor=0403, idProduct=601f, bcdDevice= 0.00
[46021.413887] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[46021.413891] usb 1-2: Product: LimeSDR Mini
[46021.413895] usb 1-2: Manufacturer: Lime Micro
[46021.413899] usb 1-2: SerialNumber: 1D4C298A26D97F
Also do note addtitional dependency of freeglut-devel to compile wxWidgets
yum install freeglut-devel
Do let me know if I am missing any step or if there is updated procedure for lime installation on centos.
Strange. SoapySDR reports that it has LimeSDR support (libLMS7Support.so) and Lime Suite can find the device, so SoapySDR should. Can you try running SoapySDRUtil --find (without drive argument).