Author Topic: CMake error while compiling SDRPlusPlus in RPI bookworm  (Read 577 times)

0 Members and 1 Guest are viewing this topic.

Offline phred01Topic starter

  • Contributor
  • Posts: 32
  • Country: au
CMake error while compiling SDRPlusPlus in RPI bookworm
« on: November 13, 2024, 08:36:34 pm »
 |O
 I am running the latest Bookworm OS. Trying to compile a program SDRPusPlus The script file that was used with older OS version works correctly Being much of a noob with the compiling syntax so need some help in this department. However get a cmake error with this following
command line cmake .. -DOPT_BUILD_LIMESDR_SOURCE=ON -OPT_BUILD_RTL_SDR_SOURCE
The error generated is as follows CMake Error Unknown argument -OPT_BUILD_RTL_SDR_SOURCE
thanks in advance
« Last Edit: November 13, 2024, 09:02:58 pm by phred01 »
 

Online newbrain

  • Super Contributor
  • ***
  • Posts: 1797
  • Country: se
Re: CMake error while compiling SDRPlusPlus in RPI bookworm
« Reply #1 on: November 13, 2024, 09:45:54 pm »
command line cmake .. -DOPT_BUILD_LIMESDR_SOURCE=ON -OPT_BUILD_RTL_SDR_SOURCE
The second option should have the same syntax as the first one!
Code: [Select]
cmake .. -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_RTL_SDR_SOURCE=ON

From the top level CMakeLists.txt:
Code: [Select]
option(OPT_BUILD_LIMESDR_SOURCE "Build LimeSDR Source Module (Dependencies: liblimesuite)" OFF)
[...]
option(OPT_BUILD_RTL_SDR_SOURCE "Build RTL-SDR Source Module (Dependencies: librtlsdr)" ON)
Nandemo wa shiranai wa yo, shitteru koto dake.
 

Offline phred01Topic starter

  • Contributor
  • Posts: 32
  • Country: au
Re: CMake error while compiling SDRPlusPlus in RPI bookworm
« Reply #2 on: November 14, 2024, 03:15:26 am »
Thanks New Brain I need one 2
Did finally worked this out by reviewing the supposedly the same script file  from different sources.....BTW each contained error of one for or another.  I now have a version that correctly runs And creates SDR++ on RPI bookworm current 2024 version. For those that want to create SDR++ find  attached run.sh file However the main zip file can be found here https://github.com/AlexandreRouma/SDRPlusPlus/
« Last Edit: November 14, 2024, 03:17:19 am by phred01 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf