Hello,
I tried to install “LimeSuiteNG-develop” on Win 10 for my LimeSDR Mini 2 , with no Success.
Here the Output from the Console:
C:\Users\jens\LimeSuiteNG>cmake -B build
-- Enabling native optimizations
-- FTDI_INCLUDE_DIRS: C:/Users/jens/LimeSuiteNG/external/FTD3XXLibrary
-- FTDI_LIBRARIES: C:/Users/jens/LimeSuiteNG/external/FTD3XXLibrary/x64/Static/FTD3XX.lib;SetupAPI
-- Cypress backend not available. The following location does not exist: CYAPI_USBSUITE_SOURCE_PATH=
-- Downloading FX3SDK to: C:/Users/jens/LimeSuiteNG/build/_deps/fx3sdk
-- Cypress backend not available. The following location does not exist: CYAPI_USBSUITE_SOURCE_PATH=
CMake Warning at src/comms/USB/FX3/CMakeLists.txt:30 (message):
CYAPI SDK not found. Omitting Cypress FX3 USB support
Call Stack (most recent call first):
src/comms/USB/CMakeLists.txt:7 (include)
src/CMakeLists.txt:129 (include)
-- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS)
-- Downloading wxWidgets headers.
-- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS)
-- wxWidgets_DEFINITIONS:
-- wxWidgets_INCLUDE_DIRS:
-- wxWidgets_LIBRARIES:
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.46.0.windows.1")
-- Module Soapy_limesuiteng configured with version: 0.1.0-8dff6c46
--
-- ######################################################
-- Packages found:
* Threads
* SoapySDR
Adds LimeSuiteNG bindings for SoapySDR
* Git
* Doxygen
-- ######################################################
-- Missing required packages:
-- ######################################################
-- Missing recommended packages:
* CyAPI
Adds USB communication support for Cypress FX3 chip
-- ######################################################
-- Missing optional packages:
* wxWidgets
-- ######################################################
-- ## LimeSuiteNG enabled features
-- ######################################################
--
* HEADERS, The limesuiteng headers
* LIBRARY, The limesuiteng library
* USB_FTDI, USB support for FTDI
* EXAMPLES, LimeSuite library API examples
* CLI, LimeSuite command line interface tools
* SOAPYSDR, SoapySDR bindings for LimeSuiteNG
* DOXYGEN, Build Doxygen documentation
-- ######################################################
-- ## LimeSuiteNG disabled features
-- ######################################################
--
* TESTING, Build GoogleTest tests to test the library
* USB_FX3, USB support for Cypress FX3
* LITE_PCIE, PCIe support
* GUI, GUI Application for LimeSuite
* AMARISOFT_PLUGIN, LimeSuite Amarisoft integration plugin
* GNURADIO, GNU Radio 3.9+ Plug-in
* HDSDR, HDSDR (32bit only) plugin for limesuiteng
-- Install prefix: C:/Program Files (x86)/LimeSuiteNG
-- Build timestamp: 2024-08-12
-- Lime Suite version: 0.1.0-g8dff6c46
-- ABI/so version: 0.1-1
-- Configuring done (3.8s)
-- Generating done (0.2s)
-- Build files have been written to: C:/Users/jens/LimeSuiteNG/build
C:\Users\jens\LimeSuiteNG>cmake --build build
[5/61] Building CXX object src/CMakeFiles/limesuiteng.dir/SystemResources.cpp.obj
FAILED: src/CMakeFiles/limesuiteng.dir/SystemResources.cpp.obj
C:\Users\jens\winlibs-x86_64-posix-seh-gcc-14.1.0-llvm-18.1.5-mingw-w64ucrt-11.0.1-r1\mingw64\bin\c++.exe -DFTD3XX_STATIC -DLIME_DLL -DLIME_DLL_EXPORTS -IC:/Users/jens/LimeSuiteNG/src -IC:/Users/jens/LimeSuiteNG/src/include -IC:/Users/jens/LimeSuiteNG/src/boards -IC:/Users/jens/LimeSuiteNG/src/protocols -IC:/Users/jens/LimeSuiteNG/src/lms7002m -IC:/Users/jens/LimeSuiteNG/src/FPGA_common -IC:/Users/jens/LimeSuiteNG/external -IC:/Users/jens/LimeSuiteNG/src/threadHelper -IC:/Users/jens/LimeSuiteNG/src/memory -IC:/Users/jens/LimeSuiteNG/src/vectorization -IC:/Users/jens/LimeSuiteNG/external/FTD3XXLibrary -IC:/Users/jens/LimeSuiteNG/src/comms/USB -IC:/Users/jens/LimeSuiteNG/src/boards/LimeSDR_Mini -IC:/Users/jens/LimeSuiteNG/embedded/include -IC:/Users/jens/LimeSuiteNG/external/kissFFT -IC:/Users/jens/LimeSuiteNG/embedded/gfir -O3 -DNDEBUG -std=gnu++17 -Wall -Wpedantic -fvisibility=hidden -fvisibility-inlines-hidden -Wold-style-cast -fno-caller-saves -march=native -mfpmath=sse -MD -MT src/CMakeFiles/limesuiteng.dir/SystemResources.cpp.obj -MF src\CMakeFiles\limesuiteng.dir\SystemResources.cpp.obj.d -o src/CMakeFiles/limesuiteng.dir/SystemResources.cpp.obj -c C:/Users/jens/LimeSuiteNG/build/src/SystemResources.cpp
C:/Users/jens/LimeSuiteNG/build/src/SystemResources.cpp: In function 'std::string lime::locateImageResource(const std::string&)':
C:/Users/jens/LimeSuiteNG/build/src/SystemResources.cpp:167:38: error: 'R_OK' was not declared in this scope
167 | if (access(fullPath.c_str(), R_OK) == 0)
| ^~~~
C:/Users/jens/LimeSuiteNG/build/src/SystemResources.cpp:167:13: error: 'access' was not declared in this scope; did you mean '_waccess'?
167 | if (access(fullPath.c_str(), R_OK) == 0)
| ^~~~~~
| _waccess
C:/Users/jens/LimeSuiteNG/build/src/SystemResources.cpp: In function 'lime::OpStatus lime::downloadImageResource(const std::string&)':
C:/Users/jens/LimeSuiteNG/build/src/SystemResources.cpp:202:33: error: 'W_OK' was not declared in this scope
202 | if (access(destDir.c_str(), W_OK) != 0)
| ^~~~
C:/Users/jens/LimeSuiteNG/build/src/SystemResources.cpp:202:9: error: 'access' was not declared in this scope; did you mean '_waccess'?
202 | if (access(destDir.c_str(), W_OK) != 0)
| ^~~~~~
| _waccess
[6/61] Building CXX object src/CMakeFiles/limesuiteng.dir/protocols/TRXLooper.cpp.obj
FAILED: src/CMakeFiles/limesuiteng.dir/protocols/TRXLooper.cpp.obj
C:\Users\jens\winlibs-x86_64-posix-seh-gcc-14.1.0-llvm-18.1.5-mingw-w64ucrt-11.0.1-r1\mingw64\bin\c++.exe -DFTD3XX_STATIC -DLIME_DLL -DLIME_DLL_EXPORTS -IC:/Users/jens/LimeSuiteNG/src -IC:/Users/jens/LimeSuiteNG/src/include -IC:/Users/jens/LimeSuiteNG/src/boards -IC:/Users/jens/LimeSuiteNG/src/protocols -IC:/Users/jens/LimeSuiteNG/src/lms7002m -IC:/Users/jens/LimeSuiteNG/src/FPGA_common -IC:/Users/jens/LimeSuiteNG/external -IC:/Users/jens/LimeSuiteNG/src/threadHelper -IC:/Users/jens/LimeSuiteNG/src/memory -IC:/Users/jens/LimeSuiteNG/src/vectorization -IC:/Users/jens/LimeSuiteNG/external/FTD3XXLibrary -IC:/Users/jens/LimeSuiteNG/src/comms/USB -IC:/Users/jens/LimeSuiteNG/src/boards/LimeSDR_Mini -IC:/Users/jens/LimeSuiteNG/embedded/include -IC:/Users/jens/LimeSuiteNG/external/kissFFT -IC:/Users/jens/LimeSuiteNG/embedded/gfir -O3 -DNDEBUG -std=gnu++17 -Wall -Wpedantic -fvisibility=hidden -fvisibility-inlines-hidden -Wold-style-cast -fno-caller-saves -march=native -mfpmath=sse -MD -MT src/CMakeFiles/limesuiteng.dir/protocols/TRXLooper.cpp.obj -MF src\CMakeFiles\limesuiteng.dir\protocols\TRXLooper.cpp.obj.d -o src/CMakeFiles/limesuiteng.dir/protocols/TRXLooper.cpp.obj -c C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp: In member function 'void lime::TRXLooper::Stop()':
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:239:65: warning: format '%li' expects argument of type 'long int', but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=]
239 | std::snprintf(msg, sizeof(msg), "Rx%i: packetsIn: %li", chipId, mRx.stats.packets);
| ~~^ ~~~~~~~~~~~~~~~~~
| | |
| long int int64_t {aka long long int}
| %lli
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp: In member function 'void lime::TRXLooper::ReceivePacketsLoop()':
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:444:42: warning: format '%li' expects argument of type 'long int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
444 | "Rx%i: %3.3f MB/s | TS:%li pkt:%li o:%i(%+i) l:%i(%+i) dma:%lu/%lu(+%li) swFIFO:%li",
| ~~^
| |
| long int
| %lli
......
447 | stats.timestamp,
| ~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:444:50: warning: format '%li' expects argument of type 'long int', but argument 7 has type 'int64_t' {aka 'long long int'} [-Wformat=]
444 | "Rx%i: %3.3f MB/s | TS:%li pkt:%li o:%i(%+i) l:%i(%+i) dma:%lu/%lu(+%li) swFIFO:%li",
| ~~^
| |
| long int
| %lli
......
448 | stats.packets,
| ~~~~~~~~~~~~~
| |
| int64_t {aka long long int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:444:78: warning: format '%lu' expects argument of type 'long unsigned int', but argument 12 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
444 | "Rx%i: %3.3f MB/s | TS:%li pkt:%li o:%i(%+i) l:%i(%+i) dma:%lu/%lu(+%li) swFIFO:%li",
| ~~^
| |
| long unsigned int
| %llu
......
453 | counters.requests,
| ~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:444:82: warning: format '%lu' expects argument of type 'long unsigned int', but argument 13 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
444 | "Rx%i: %3.3f MB/s | TS:%li pkt:%li o:%i(%+i) l:%i(%+i) dma:%lu/%lu(+%li) swFIFO:%li",
| ~~^
| |
| long unsigned int
| %llu
......
454 | counters.completed,
| ~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:444:87: warning: format '%li' expects argument of type 'long int', but argument 14 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
444 | "Rx%i: %3.3f MB/s | TS:%li pkt:%li o:%i(%+i) l:%i(%+i) dma:%lu/%lu(+%li) swFIFO:%li",
| ~~^
| |
| long int
| %lli
......
455 | counters.completed - counters.requests,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:444:99: warning: format '%li' expects argument of type 'long int', but argument 15 has type 'std::size_t' {aka 'long long unsigned int'} [-Wformat=]
444 | "Rx%i: %3.3f MB/s | TS:%li pkt:%li o:%i(%+i) l:%i(%+i) dma:%lu/%lu(+%li) swFIFO:%li",
| ~~^
| |
| long int
| %lli
......
456 | fifo->size());
| ~~~~~~~~~~~~
| |
| std::size_t {aka long long unsigned int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp: In member function 'void lime::TRXLooper::TransmitPacketsLoop()':
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:864:46: warning: format '%li' expects argument of type 'long int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=]
864 | "Tx%i: %3.3f MB/s | TS:%li pkt:%li shw:%lu/%lu(%+li) u:%i(%+i) l:%i(%+i) tsAdvance:%+.0f/%+.0f/%+.0f%s, "
| ~~^
| |
| long int
| %lli
......
868 | lastTS,
| ~~~~~~
| |
| int64_t {aka long long int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:864:54: warning: format '%li' expects argument of type 'long int', but argument 7 has type 'int64_t' {aka 'long long int'} [-Wformat=]
864 | "Tx%i: %3.3f MB/s | TS:%li pkt:%li shw:%lu/%lu(%+li) u:%i(%+i) l:%i(%+i) tsAdvance:%+.0f/%+.0f/%+.0f%s, "
| ~~^
| |
| long int
| %lli
......
869 | stats.packets,
| ~~~~~~~~~~~~~
| |
| int64_t {aka long long int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:864:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
864 | "Tx%i: %3.3f MB/s | TS:%li pkt:%li shw:%lu/%lu(%+li) u:%i(%+i) l:%i(%+i) tsAdvance:%+.0f/%+.0f/%+.0f%s, "
| ~~^
| |
| long unsigned int
| %llu
......
870 | counters.completed,
| ~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:864:66: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
864 | "Tx%i: %3.3f MB/s | TS:%li pkt:%li shw:%lu/%lu(%+li) u:%i(%+i) l:%i(%+i) tsAdvance:%+.0f/%+.0f/%+.0f%s, "
| ~~^
| |
| long unsigned int
| %llu
......
871 | counters.requests,
| ~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:864:71: warning: format '%li' expects argument of type 'long int', but argument 10 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
864 | "Tx%i: %3.3f MB/s | TS:%li pkt:%li shw:%lu/%lu(%+li) u:%i(%+i) l:%i(%+i) tsAdvance:%+.0f/%+.0f/%+.0f%s, "
| ~~~^
| |
| long int
| %+lli
......
872 | counters.requests - counters.completed,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long long unsigned int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:865:26: warning: format '%li' expects argument of type 'long int', but argument 19 has type 'std::size_t' {aka 'long long unsigned int'} [-Wformat=]
865 | "f:%li",
| ~~^
| |
| long int
| %lli
......
881 | fifo->size());
| ~~~~~~~~~~~~
| |
| std::size_t {aka long long unsigned int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp: In member function 'void lime::TRXLooper::TxTeardown()':
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:1047:46: warning: format '%li' expects argument of type 'long int', but argument 5 has type 'int64_t' {aka 'long long int'} [-Wformat=]
1047 | "Tx%i stop: host sent packets: %li (0x%08lX), FPGA packet ingresed: %i (0x%08X), diff: %li, Tx packet dropped: %i",
| ~~^
| |
| long int
| %lli
1048 | chipId,
1049 | mTx.stats.packets,
| ~~~~~~~~~~~~~~~~~
| |
| int64_t {aka long long int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:1047:55: warning: format '%lX' expects argument of type 'long unsigned int', but argument 6 has type 'int64_t' {aka 'long long int'} [-Wformat=]
1047 | "Tx%i stop: host sent packets: %li (0x%08lX), FPGA packet ingresed: %i (0x%08X), diff: %li, Tx packet dropped: %i",
| ~~~~^
| |
| long unsigned int
| %08llX
......
1050 | mTx.stats.packets,
| ~~~~~~~~~~~~~~~~~
| |
| int64_t {aka long long int}
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:1047:102: warning: format '%li' expects argument of type 'long int', but argument 9 has type 'int64_t' {aka 'long long int'} [-Wformat=]
1047 | "Tx%i stop: host sent packets: %li (0x%08lX), FPGA packet ingresed: %i (0x%08X), diff: %li, Tx packet dropped: %i",
| ~~^
| |
| long int
| %lli
......
1053 | (mTx.stats.packets & 0xFFFFFFFF) - fpgaTxPktIngressCount,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int64_t {aka long long int}
In file included from C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:11:
C:/Users/jens/LimeSuiteNG/src/protocols/TxBufferManager.h: In instantiation of 'bool lime::TxBufferManager<T>::consume(T*) [with T = lime::SamplesPacket<2>]':
C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:944:48: required from here
944 | const bool doFlush = output.consume(srcPkt);
| ~~~~~~~~~~~~~~^~~~~~~~
C:/Users/jens/LimeSuiteNG/src/protocols/TxBufferManager.h:92:52: error: no matching function for call to 'min(<brace-enclosed initializer list>)'
92 | const uint32_t transferCount = std::min({ freeSpace / bytesForFrame, src->size(), maxSamplesInPkt });
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/Users/jens/winlibs-x86_64-posix-seh-gcc-14.1.0-llvm-18.1.5-mingw-w64ucrt-11.0.1-r1/mingw64/include/c++/14.1.0/vector:62,
from C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.h:4,
from C:/Users/jens/LimeSuiteNG/src/protocols/TRXLooper.cpp:1:
C:/Users/jens/winlibs-x86_64-posix-seh-gcc-14.1.0-llvm-18.1.5-mingw-w64ucrt-11.0.1-r1/mingw64/include/c++/14.1.0/bits/stl_algobase.h:233:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
233 | min(const _Tp& __a, const _Tp& __b)
| ^~~
C:/Users/jens/winlibs-x86_64-posix-seh-gcc-14.1.0-llvm-18.1.5-mingw-w64ucrt-11.0.1-r1/mingw64/include/c++/14.1.0/bits/stl_algobase.h:233:5: note: candidate expects 2 arguments, 1 provided
C:/Users/jens/winlibs-x86_64-posix-seh-gcc-14.1.0-llvm-18.1.5-mingw-w64ucrt-11.0.1-r1/mingw64/include/c++/14.1.0/bits/stl_algobase.h:281:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)'
281 | min(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~
C:/Users/jens/winlibs-x86_64-posix-seh-gcc-14.1.0-llvm-18.1.5-mingw-w64ucrt-11.0.1-r1/mingw64/include/c++/14.1.0/bits/stl_algobase.h:281:5: note: candidate expects 3 arguments, 1 provided
[11/61] Building CXX object src/CMakeFiles/limesuiteng.dir/boards/LimeSDR_Mini/USB_CSR_Pipe_Mini.cpp.obj
In file included from C:/Users/jens/LimeSuiteNG/src/comms/USB/FT601/FT601.h:8,
from C:/Users/jens/LimeSuiteNG/src/boards/LimeSDR_Mini/USB_CSR_Pipe_Mini.cpp:3:
C:/Users/jens/LimeSuiteNG/external/FTD3XXLibrary/FTD3XX.h:119:1: warning: 'typedef' was ignored in this declaration
119 | typedef enum _FT_STATUS
| ^~~~~~~
[13/61] Building CXX object src/CMakeFiles/limesuiteng.dir/boards/DeviceFactoryFTDI.cpp.obj
In file included from C:/Users/jens/LimeSuiteNG/src/comms/USB/FT601/FT601.h:8,
from C:/Users/jens/LimeSuiteNG/src/boards/DeviceFactoryFTDI.cpp:11:
C:/Users/jens/LimeSuiteNG/external/FTD3XXLibrary/FTD3XX.h:119:1: warning: 'typedef' was ignored in this declaration
119 | typedef enum _FT_STATUS
| ^~~~~~~
[14/61] Building CXX object src/CMakeFiles/limesuiteng.dir/chips/LMS7002M/LMS7002M.cpp.obj
ninja: build stopped: subcommand failed.
C:\Users\jens\LimeSuiteNG>
(I didn’t found a option to download a Text-File)
What is wrong or missing, what can I change?
Is there an .exe File to install?