pavels / spektrum

rtl-sdr spectrum analyzer
BSD 3-Clause "New" or "Revised" License
577 stars 91 forks source link

frame cannot be resolved to a variable. 25$ #47

Open mroijer opened 2 years ago

mroijer commented 2 years ago

Hi. First time in Processing. When trying to compile the code, Processing gives the error "frame cannot be resolved to a variable" (void setup()) in the console tab, as well as a lot of errors like "Value is not used" in the error tab. What could be the problem?

mroijer commented 2 years ago

Author, give me a sign. I'm still waiting and believing

pavels commented 2 years ago

Hi

sorry i was very busy lately - what version of processing are you using? i use 3.5.4 - that should work

mroijer commented 2 years ago

Thank you for your reply. After installing Processing 3.5.4, the error has changed. Now it is:

BridJ: LoadLibA library relies on native code that's not available.

UnsatisfiedLinkError: rtlspektrum.RtlsdrLibrary.rtlsdr_get_device_count()I Or only works properly when the sketch is run as a 32-bit application.

I tried to get rid of the problem according to the thread: https://github.com/processing/processing-video/issues/90 It did not help

I use win10, Processing 3.5.4, ControlP5 2.2.6, processing-rtlspektrum-lib 1.0.5, Spektrum 2.1.0 (source code), bridj.jar, librtlpower.dll, librtlsdr.dll, rtlspektrum.jar taken from Spektrum 2.1.0.

Can you give me a copy of your preference sketchbook folder with all the libraries? Perhaps this will help

mroijer commented 1 year ago

The question is still relevant. I'll pay whoever solves the problem 25$

ewumnrr commented 11 months ago

The question is still relevant. I'll pay whoever solves the problem 25$

Just comment the if out and it works fine: void setup() { size(1200, 750); // Size should be the first statement // if (frame != null) { surface.setResizable(true); // }