Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mroijer opened this issue Jul 25, 2022 · 5 comments
Open

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

mroijer opened this issue Jul 25, 2022 · 5 comments

Comments

@mroijer
Copy link

mroijer commented Jul 25, 2022

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
Copy link
Author

mroijer commented Aug 22, 2022

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

@pavels
Copy link
Owner

pavels commented Aug 22, 2022

Hi

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

@mroijer
Copy link
Author

mroijer commented Aug 25, 2022

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: processing/processing-video#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
Copy link
Author

mroijer commented Sep 22, 2022

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

@mroijer mroijer changed the title frame cannot be resolved to a variable frame cannot be resolved to a variable. 25$ Oct 7, 2022
@ewumnrr
Copy link

ewumnrr commented Oct 13, 2023

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);
// }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants