gnieboer / GNURadio_Windows_Build_Scripts

A series of Powershell scripts to automatically download, build from source, and install GNURadio and -all- it's dependencies as 64-bit native binaries then package as an msi using Visual Studio 2015
GNU General Public License v3.0
89 stars 33 forks source link

SoapySDR export lib does not match dll #54

Closed keck9939 closed 3 years ago

keck9939 commented 3 years ago

In the Windows binary distribution of gnuradio 3.8, (presumably built with the scripts here) the SoapySDR.lib file does not seem go with the SoapySDR.dll (the date mismatch is a big clue) and I have found that anything linked to SoapySDR tends not to work. I can rebuild SoapySDR and get SoapySDR itself to work (as validated by SoapySDRUtil), but then things still don't work in gnuradio presumably because gr-soapy is now linked against an inconsistent SoapySDR.dll. Trying to untangle this is not easy unless you really know how everything works, so it would be nice if the build scripts could be checked to make sure the .lib files actually match the .dll files.

gnieboer commented 3 years ago

That's good find, thanks. I am currently working on a major script overhaul as part of the switch to Python3. I will manually check the result for this particular case, but in general everything is going to be built in a purpose-built VM going forward. That should prevent this from recurring. I suspect the build process found a previous version of the lib files from an earlier build someplace on the development machine. I will close this once I have the next version out and can check the version. Unfortunately I don't have the hardware so can't do more than that I'm afraid.

gnieboer commented 3 years ago

A new installer has been released that should fix this issue. Download it here. Note that since I don't have a SoapySDR, I cannot confirm functionality either way, so feedback would be appreciated working or not.

keck9939 commented 3 years ago

The link in the Email doesn’t work, but I tried installing the current 3.8.2 version at www.gcndevelopment.com/gnuradio/index.htm. I have done a quick initial test with SoapySDRPlay3 and it seems to be working. Thanks for fixing this.

From: Geof Nieboer [mailto:notifications@github.com] Sent: Monday, January 18, 2021 9:02 PM To: gnieboer/GNURadio_Windows_Build_Scripts Cc: keck9939; Author Subject: Re: [gnieboer/GNURadio_Windows_Build_Scripts] SoapySDR export lib does not match dll (#54)

A new installer has been released that should fix this issue. Download it here http://www.gcndevelopment.com/gnuradio/downloads/installers/v3.8.2.1/gnuradio-3.8.2.0-win64.msi . Note that since I don't have a SoapySDR, I cannot confirm functionality either way, so feedback would be appreciated working or not.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gnieboer/GNURadio_Windows_Build_Scripts/issues/54#issuecomment-762552743 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AI2N726CFKD5BTWU6FWYEZ3S2TRZJANCNFSM4V4ALVIA . https://github.com/notifications/beacon/AI2N723H454OWY2DH2NOTNTS2TRZJA5CNFSM4V4ALVIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFVZ2DJY.gif

gnieboer commented 3 years ago

Great. Yeah, I switched the _ with - by mistake... it was a long day and I really wanted to get it out, sorry.

BTW, I am close to getting a GR 3.9 BETA version out as well. And I have included gr-soapy from a non-official repo that had included some gr-3.9 updates. So when that comes out (possibly today) please take a look and see if it's working there as well.

Geof

On Wed, Jan 20, 2021 at 10:44 AM keck9939 notifications@github.com wrote:

The link in the Email doesn’t work, but I tried installing the current 3.8.2 version at www.gcndevelopment.com/gnuradio/index.htm. I have done a quick initial test with SoapySDRPlay3 and it seems to be working. Thanks for fixing this.

From: Geof Nieboer [mailto:notifications@github.com] Sent: Monday, January 18, 2021 9:02 PM To: gnieboer/GNURadio_Windows_Build_Scripts Cc: keck9939; Author Subject: Re: [gnieboer/GNURadio_Windows_Build_Scripts] SoapySDR export lib does not match dll (#54)

A new installer has been released that should fix this issue. Download it here < http://www.gcndevelopment.com/gnuradio/downloads/installers/v3.8.2.1/gnuradio-3.8.2.0-win64.msi> . Note that since I don't have a SoapySDR, I cannot confirm functionality either way, so feedback would be appreciated working or not.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/gnieboer/GNURadio_Windows_Build_Scripts/issues/54#issuecomment-762552743> , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AI2N726CFKD5BTWU6FWYEZ3S2TRZJANCNFSM4V4ALVIA> . < https://github.com/notifications/beacon/AI2N723H454OWY2DH2NOTNTS2TRZJA5CNFSM4V4ALVIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFVZ2DJY.gif>

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gnieboer/GNURadio_Windows_Build_Scripts/issues/54#issuecomment-763722488, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYSW2OGG2RZHS6F47TIGF3S2327RANCNFSM4V4ALVIA .

keck9939 commented 3 years ago

Have given the beta version a quick try. The Soapy source and SoapySDRPlay3 works with it too. Also tried using the osmocom source with SoapySDRPlay3 and that also works.

The beta version also doesn’t generate the pile of messages about something being overwritten when it start as well, which is probably a good thing.

From: Geof Nieboer [mailto:notifications@github.com] Sent: Wednesday, January 20, 2021 12:20 PM To: gnieboer/GNURadio_Windows_Build_Scripts Cc: keck9939; Author Subject: Re: [gnieboer/GNURadio_Windows_Build_Scripts] SoapySDR export lib does not match dll (#54)

Great. Yeah, I switched the _ with - by mistake... it was a long day and I really wanted to get it out, sorry.

BTW, I am close to getting a GR 3.9 BETA version out as well. And I have included gr-soapy from a non-official repo that had included some gr-3.9 updates. So when that comes out (possibly today) please take a look and see if it's working there as well.

Geof

On Wed, Jan 20, 2021 at 10:44 AM keck9939 notifications@github.com wrote:

The link in the Email doesn’t work, but I tried installing the current 3.8.2 version at www.gcndevelopment.com/gnuradio/index.htm. I have done a quick initial test with SoapySDRPlay3 and it seems to be working. Thanks for fixing this.

From: Geof Nieboer [mailto:notifications@github.com] Sent: Monday, January 18, 2021 9:02 PM To: gnieboer/GNURadio_Windows_Build_Scripts Cc: keck9939; Author Subject: Re: [gnieboer/GNURadio_Windows_Build_Scripts] SoapySDR export lib does not match dll (#54)

A new installer has been released that should fix this issue. Download it here < http://www.gcndevelopment.com/gnuradio/downloads/installers/v3.8.2.1/gnuradio-3.8.2.0-win64.msi> . Note that since I don't have a SoapySDR, I cannot confirm functionality either way, so feedback would be appreciated working or not.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/gnieboer/GNURadio_Windows_Build_Scripts/issues/54#issuecomment-762552743> , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AI2N726CFKD5BTWU6FWYEZ3S2TRZJANCNFSM4V4ALVIA> . < https://github.com/notifications/beacon/AI2N723H454OWY2DH2NOTNTS2TRZJA5CNFSM4V4ALVIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFVZ2DJY.gif>

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gnieboer/GNURadio_Windows_Build_Scripts/issues/54#issuecomment-763722488, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYSW2OGG2RZHS6F47TIGF3S2327RANCNFSM4V4ALVIA .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gnieboer/GNURadio_Windows_Build_Scripts/issues/54#issuecomment-763803386 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AI2N725SNDQ66S7D6YEXFLDS24GCHANCNFSM4V4ALVIA .Image removed by sender.

gnieboer commented 3 years ago

Also, if the "Overritten" messages do not naturally disappear, look for c:/users/yourusername/.cache/grc-gnuradio/cache.json and delete it.