cgommel / sdrsharp

Other
253 stars 182 forks source link

Can not compile on Visual studio #3

Open rajibeee opened 7 years ago

rajibeee commented 7 years ago

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

GuanghaoZhu commented 7 years ago

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

rajibeee commented 7 years ago

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.

soinwi commented 7 years ago

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.

rajibeee commented 7 years ago

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

scivision commented 7 years ago

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

1994Alexander1994 commented 6 years ago

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 commented 6 years ago

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

frankmobley commented 6 years ago

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.

warsi770 commented 6 years ago

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

DxrMorgan commented 5 years ago

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

Sammy970 commented 1 year ago

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