Giter Site home page Giter Site logo

soapysdrplay's People

Contributors

bilbolodz avatar cjcliffe avatar fventuri avatar gedger avatar guruofquality avatar jazzkutya avatar marekjg avatar sdrplay avatar vsonnier avatar

Stargazers

 avatar

Watchers

 avatar

soapysdrplay's Issues

Building on Fedora 32 (beta)

I had a problem compiling the API3+RSPduo branch Fedora 32 (beta), using cmake version 3.17.0. The results of my initial attempts using cmake and make are shown below;

[jwatson@merlin build]$ cmake ..
-- Build type not specified: defaulting to release.
-- LIBSDRPLAY_INCLUDE_DIRS - /usr/local/include
-- LIBSDRPLAY_LIBRARIES - /usr/local/lib/libsdrplay_api.so
-- Module sdrPlaySupport configured with version: 0.3.0-9746de2
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jwatson/develop/SoapySDRPlay/build
[jwatson@merlin build]$ make
Scanning dependencies of target sdrPlaySupport
[ 16%] Building CXX object CMakeFiles/sdrPlaySupport.dir/Registration.cpp.o
[ 33%] Building CXX object CMakeFiles/sdrPlaySupport.dir/sdrplay_api.cpp.o
[ 50%] Building CXX object CMakeFiles/sdrPlaySupport.dir/Settings.cpp.o
[ 66%] Building CXX object CMakeFiles/sdrPlaySupport.dir/Streaming.cpp.o
[ 83%] Building CXX object CMakeFiles/sdrPlaySupport.dir/Version.cpp.o
[100%] Linking CXX shared module libsdrPlaySupport.so
/usr/bin/ld: CMakeFiles/sdrPlaySupport.dir/Streaming.cpp.o: in function `SoapySDRPlay::acquireReadBuffer(SoapySDR::Stream*, unsigned long&, void const**, int&, long long&, long)':
Streaming.cpp:(.text+0xa9d): undefined reference to `pthread_cond_clockwait'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/sdrPlaySupport.dir/build.make:163: libsdrPlaySupport.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:93: CMakeFiles/sdrPlaySupport.dir/all] Error 2
make: *** [Makefile:147: all] Error 2
[jwatson@merlin build]$

I re-ran with make VERBOSE=1 and didn't see any pthread flags so following on from this StackOverflow post I added the following lines to CMakeLists.txt and the library now compiles;

set(CMAKE_LINKER_FLAGS "-pthread" CACHE STRING "Linker Flags" FORCE)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_LINKER_FLAGS}" CACHE STRING "" FORCE)
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS}" CACHE STRING "" FORCE)
set(CMAKE_EXE_LINKER_FLAGS    "${CMAKE_LINKER_FLAGS}" CACHE STRING "" FORCE)
[jwatson@merlin build]$ cmake ..
-- Build type not specified: defaulting to release.
-- LIBSDRPLAY_INCLUDE_DIRS - /usr/local/include
-- LIBSDRPLAY_LIBRARIES - /usr/local/lib/libsdrplay_api.so
-- Module sdrPlaySupport configured with version: 0.3.0-9746de2
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jwatson/develop/SoapySDRPlay/build
[jwatson@merlin build]$ make clean && make
Scanning dependencies of target sdrPlaySupport
[ 16%] Building CXX object CMakeFiles/sdrPlaySupport.dir/Registration.cpp.o
[ 33%] Building CXX object CMakeFiles/sdrPlaySupport.dir/sdrplay_api.cpp.o
[ 50%] Building CXX object CMakeFiles/sdrPlaySupport.dir/Settings.cpp.o
[ 66%] Building CXX object CMakeFiles/sdrPlaySupport.dir/Streaming.cpp.o
[ 83%] Building CXX object CMakeFiles/sdrPlaySupport.dir/Version.cpp.o
[100%] Linking CXX shared module libsdrPlaySupport.so
[100%] Built target sdrPlaySupport
[jwatson@merlin build]$ 

move to pothosware

Hello,
first of all thanks for your work.
Have you already considered to get in contact with @cjcliffe or @guruofquality for moving your work from API3+RSPduo to an official repository under pothosware?
In this way we can add the soapy module to distro repositories.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.