sdrsharp icon indicating copy to clipboard operation
sdrsharp copied to clipboard

Can not compile on Visual studio

Open rajibeee opened this issue 7 years ago • 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

rajibeee avatar Nov 01 '16 21:11 rajibeee

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. :)

GuanghaoZhu avatar Nov 09 '16 16:11 GuanghaoZhu

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.

rajibeee avatar Nov 09 '16 17:11 rajibeee

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 avatar Nov 11 '16 17:11 soinwi

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

rajibeee avatar Nov 14 '16 21:11 rajibeee

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

scivision avatar May 08 '17 15:05 scivision

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?

1994Alexander1994 avatar Oct 17 '17 16:10 1994Alexander1994

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

1994Alexander1994 avatar Oct 19 '17 20:10 1994Alexander1994

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.

frankmobley avatar Feb 10 '18 20:02 frankmobley

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

warsi770 avatar Jul 09 '18 09:07 warsi770

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

DxrMorgan avatar Nov 19 '18 20:11 DxrMorgan

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

Sammy970 avatar Apr 17 '23 18:04 Sammy970