cgommel/sdrsharp

Can not compile on Visual studio

rajibeee opened this issue · 11 comments

I am getting the following error. Can anyone please tell me what do I have to do ?

I just downloaded the zip file from here and tried to compile it in Visual Studio without changing anything.
sdrsharp-error-screenshot

Hi,
I have the problem too. The solution is very easy, just download the SDR# release version from RTLSDR.com, and copy the PortAudio.dll (80kB) file to your Visual Studio Project 'Debug' folder. Then enjoy it. :)

Thanks a lot for your help. But I am seeing an additional error ( even though the code was able to run the exe file ). Can you please tell me how do I get rid of this.
capture


On another PC, I am getting this error
capture

I know this is a runtime issue. But how do I resolve this ?

I tried copying the .dll file of this from the original release and pasting it in the debug folder (like the previous problem) but no use. Surprisingly I was not getting this error in my other PC ( say PC1).


Also, do you happen to know which line of code I might have to edit if I want to stream the I/Q data in real-time to an IP address ? Your invaluable help in this regard is mostly appreciated.

rajibee: those are errors of device-specific plugins (e.g. RTL-SDR or SoftRock). I solved this myself for RTL-SDR by jus copying rtlsdr.dll and libusb-1.0.dll from the SDR#-installation mentioned above (after running install-rtlsdr.bat). For the other plugins/devices other libraries will be necessary.

@soinwi Thank you for your input. I have tried them and still getting the same error. any ideas ?

@rajibeee you could try SDR# on Linux https://www.scivision.co/sdr-sharp-ubuntu/
there too you need portaudio.so.
A long shot maybe....

Hi, tried to compile it turns out, as in the post above, on the advice of GuanghaoZhu downloaded the SDR # file from RTLSDR.com and added the Visual Studio Project 'Debug' to the debugger folder, the problem remained, what to do?

It turned out to compile, if you want you can download, here is the link https://www.dropbox.com/s/r99qslx6m13kvry/sdrsharp-master.rar?dl=0

In addition to copying the rtlsdr.dll, sdriq.dll, hackrf.dll, and libusb-1.0.dll into the output folder, you must also add the various projects to the main application as dependencies. This removes the various errors.

Dropbox link is not available anymore. can you share updated link please.

I am getting the following error. Can anyone please tell me what do I have to do ?

I just downloaded the zip file from here and tried to compile it in Visual Studio without changing anything.
sdrsharp-error-screenshot

Need portaudio.dll 32 bit. I was found. And work normal. But there are still a lot of errors that prevent compilation! Now almost fixed a lot and running under Windows 10

It turned out to compile, if you want you can download, here is the link https://www.dropbox.com/s/r99qslx6m13kvry/sdrsharp-master.rar?dl=0

If possible could you reupload the sdrsharp ? Because the link is not working