|
Hello,
I have a plug-in that I have written and that was working properly last month.
Now there is a problem, perhaps with the class path? I get class file not found errors when compiling (see below) or " The import ij cannot be resolved" when trying to run a previously compiled version.
The big change on my compuer is that I upgraded from Mac OS 10.5. to OS 10.6.8. Not sure if that is related but it is the only change I can think of.
I am running ImageJ 1.46e
Any advice?
Thanks,
Julin
compile time errors:
/Applications/ImageJ/plugins/leaf/leaf_multi_a05.java:111: cannot access ResultsTable
class file for ResultsTable not found
leaves[leafCurrent].setLeaf(rt, leafCurrent,cal); //set initial attributes
^
/Applications/ImageJ/plugins/leaf/leaf_multi_a05.java:113: cannot access ImageProcessor
class file for ImageProcessor not found
leaves[leafCurrent].scanLeaf(tip); //do a scan across the length to determine widths
^
/Applications/ImageJ/plugins/leaf/leaf_multi_a05.java:114: findPetiole(ImageProcessor) in leaf cannot be applied to (ij.process.ImageProcessor)
leaves[leafCurrent].findPetiole(tip); //
^
/Applications/ImageJ/plugins/leaf/leaf_multi_a05.java:119: cannot access ImagePlus
class file for ImagePlus not found
leaves[leafCurrent].addPetioleToManager(timp, tip, rm, i);
^
/Applications/ImageJ/plugins/leaf/leaf_multi_a05.java:120: addBladeToManager(ImagePlus,ImageProcessor,RoiManager,int) in leaf cannot be applied to (ij.ImagePlus,ij.process.ImageProcessor,ij.plugin.frame.RoiManager,int)
leaves[leafCurrent].addBladeToManager(timp, tip, rm, i);
^
/Applications/ImageJ/plugins/leaf/leaf_multi_a05.java:141: cannot access RoiManager
class file for RoiManager not found
results.addResults(sd,rm,tip,timp);
^
6 errors
####the import block and beginning class definitions of my code:
import ij.*;
import ij.process.*;
import ij.gui.*;
import java.awt.*;
import ij.plugin.filter.*;
import ij.measure.*;
import ij.plugin.frame.*;
import ij.text.*;
import java.util.Arrays;
import java.util.Comparator;
public class leaf_multi_a05 implements PlugInFilter {
ImagePlus imp;
public int verbose = 2;
public int setup(String arg, ImagePlus imp) {
this.imp = imp;
return DOES_8G + SUPPORTS_MASKING;
}
public void run(ImageProcessor ip) {
|