happyjack27 / autoredistrict

Programmatically makes a fair congressional district map (prevents gerrymandering)
GNU General Public License v3.0
89 stars 15 forks source link

Compilation error #206

Closed bixiou closed 6 years ago

bixiou commented 6 years ago

When I try to compile the unmodified code, I get the following error:

adrien@adrien-SATELLITE-L875-13D:/var/www/autoredistrict_code$ javac -encoding UTF-8 -d bin -cp 'src:jcom.jar' src/ui/Applet.java
src/geography/Project.java:103: error: cannot find symbol
            MainFrame.mainframe.textField.setText(getString("initial_population").trim());
                               ^
  symbol:   variable textField
  location: variable mainframe of type MainFrame
src/geography/Project.java:104: error: cannot find symbol
            MainFrame.mainframe.textField.postActionEvent();
                               ^
  symbol:   variable textField
  location: variable mainframe of type MainFrame
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

I have Java 8 and I am on Ubuntu 16.04.

happyjack27 commented 6 years ago

see https://github.com/happyjack27/autoredistrict/issues/205