On 07/31/2017 12:31 PM, Ioannis Kassotakis wrote:
> Josh,
> it seems that there is also a problem loading the lime library :
> LMS7Support.dll due to a Linux/windows path mismatch (/ vs \ ).
> Is that right? Can it be fixed somehow?
> See below:
>
> <
https://lh3.googleusercontent.com/-jn5BnJOfbfo/WX9pIUImk9I/AAAAAAAAASw/LOI49CrVdDEACt-v2uHsysToWibKqzWSgCLcBGAs/s1600/Capture.JPG>
The mixed path comes from the parametrized install root mixed with the
code that walks the tree looking for dlls and uses the native windows
slash. Its actually not an issue for LoadLibrary though; mixed paths are
fine.
I'm not completely sure about the error, but I have noticed that windows
can give file not found errors when it also cant find a dependency dll,
so it can be a bit ambiguous. My guess is that the dlls from c:\Program
Files\PothosSDR\bin may not be in the %PATH%
A few things that I can think of, its useful for development and command
line apps to make sure the path is modified by the install:
https://i.imgur.com/pC9uKY6.png
Check if you can run SoapySDRUtil --info and see "lime" as one of the
loaded factories.
It might also help to see if this runs (substitute your python
executable here):
C:\Python36\python.exe -c "import SoapySDR; d =
SoapySDR.Device('driver=lime')"
-josh
>
>
> On Saturday, July 29, 2017 at 4:51:25 PM UTC+3, Ioannis Kassotakis wrote:
>> Hi,
>> I am trying to use SoapySDR functions with Python code or through Pothos
>> Blocks with rtlsdr,limeSDR and USRP2.
>>
>> 1)First, trying the provided SoapySDR Python example (see below) either
>> with rtlSDR or limeSDR, it seems that SoapySDR.Device cannot be recognized.
>> However, both rtlSDR and limeSDR can be found with SoapySDR Utility and
>> work OK with Pothos. Any idea what is wrong?
>>
>>
>> <
https://lh3.googleusercontent.com/-W8D3jEKT7vk/WXyRANl4oUI/AAAAAAAAASU/veHVpEj4ZtIR60JnBNwhfllJEcfMTWjSwCLcBGAs/s1600/Capture.JPG>