It's working fine on Eclipse, no problems. But, when I try to compile it on the Unix system, it does not work.
From the pa5 folder, I use the following command:
javac -cp src -d build src/cs310/*.java
(the jgrapht zip file uses "build" where we'd normally use "classes," so I just stuck with "build")
When I do, I get error messages like the following:
src/org/jgrapht/ext/JGraphModelAdapter.java:323: cannot find symbol
symbol : variable GraphConstants
location: class org.jgrapht.ext.JGraphModelAdapter<V,E>
GraphConstants.setOpaque(map, true);
^
src/org/jgrapht/ext/JGraphModelAdapter.java:392: cannot find symbol
symbol : class DefaultEdge
location: class org.jgrapht.ext.JGraphModelAdapter<V,E>
return (DefaultEdge) edgeToCell.get(jGraphTEdge);
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
That is just the tail end, and there are many more similar messages above that one. Also, "ant build" does not seem to work for me, when I run it from the pa5 folder.
Anything you could tell me would be greatly appreciated.
Thanks,
Chris