Sometimes can't access classes outside of main .pde file

I’m making a Processing example of boids, and I have a main boids.pde file and a boid_class.pde file.
I have a class Boid in the boid_class.pde file that I’m unable to access from boids.pde. How do I fix this?

hmm… it’s also case-sensitive…

sometimes there are issues when the folder/file has the same name as a class.

Try saving the project with a new name like BoidPGR1

otherwise we need to see your code to make some suggestions

Chrisir

1 Like

But I don’t have a pde file named “boid” or “Boid” – it’s already different.

But I don’t have a pde file named “boid” or “Boid” – it’s already different.