[Slackbuilds-users] help trying to compile FreeRouting.

Fernando Lopez fernando.lopezjr at gmail.com
Fri Nov 29 06:17:29 UTC 2019


I am trying to compile this
https://github.com/nikropht/FreeRouting

you need this jar: https://sourceforge.net/projects/jnlp/files/netx/0.5/

you can download the whole thing here:
https://www.dropbox.com/s/unusqyttngxap2h/FreeRouting-master_SBO.tar.xz?dl=0


any help is appreciated. thank you.

bash-5.0$ javac -version
javac 1.8.0_221

bash-5.0$ export
CLASSPATH="/home/usertmp/FreeRouting/FreeRouting-master/netx-0.5.jar;/home/usertmp/FreeRouting/FreeRouting-master/rules/;/home/usertmp/FreeRouting/FreeRouting-master/library/;/home/usertmp/FreeRouting/FreeRouting-master/interactive/;/home/usertmp/FreeRouting/FreeRouting-master/gui/;/home/usertmp/FreeRouting/FreeRouting-master/geometry/;/home/usertmp/FreeRouting/FreeRouting-master/geometry/planar/;/home/usertmp/FreeRouting/FreeRouting-master/designformats/;/home/usertmp/FreeRouting/FreeRouting-master/datastructures/;/home/usertmp/FreeRouting/FreeRouting-master/boardgraphics/;/home/usertmp/FreeRouting/FreeRouting-master/autoroute/;/home/usertmp/FreeRouting/FreeRouting-master/board/;/home/usertmp/FreeRouting/FreeRouting-master/tests/;"

cd gui/
bash-5.0$ javac MainApplication.java

bash-5.0$ javac MainApplication.java
MainApplication.java:23: error: package board does not exist
import board.TestLevel;
            ^
MainApplication.java:319: error: cannot find symbol
    static private BoardFrame create_board_frame(DesignFile p_design_file,
javax.swing.JTextField p_message_field,
                                                 ^
  symbol:   class DesignFile
  location: class MainApplication
MainApplication.java:320: error: package BoardFrame does not exist
            BoardFrame.Option p_option, boolean p_is_test_version,
java.util.Locale p_locale)
                      ^
MainApplication.java:319: error: cannot find symbol
    static private BoardFrame create_board_frame(DesignFile p_design_file,
javax.swing.JTextField p_message_field,
                   ^
  symbol:   class BoardFrame
  location: class MainApplication
MainApplication.java:375: error: cannot find symbol
    private final WindowNetSamples window_net_demonstrations;
                  ^
  symbol:   class WindowNetSamples
  location: class MainApplication
MainApplication.java:379: error: cannot find symbol
    private final WindowNetSamples window_net_sample_designs;
                  ^
  symbol:   class WindowNetSamples
  location: class MainApplication
MainApplication.java:381: error: cannot find symbol
    private java.util.Collection<BoardFrame> board_frames = new
java.util.LinkedList<BoardFrame>();
                                 ^
  symbol:   class BoardFrame
  location: class MainApplication
MainApplication.java:386: error: cannot find symbol
    private static final TestLevel DEBUG_LEVEL =
TestLevel.CRITICAL_DEBUGGING_OUTPUT;
                         ^
  symbol:   class TestLevel
  location: class MainApplication
MainApplication.java:391: error: cannot find symbol
        public BoardFrameWindowListener(BoardFrame p_board_frame)
                                        ^
  symbol:   class BoardFrame
  location: class MainApplication.BoardFrameWindowListener
MainApplication.java:406: error: cannot find symbol
        private BoardFrame board_frame;
                ^
  symbol:   class BoardFrame
  location: class MainApplication.BoardFrameWindowListener
MainApplication.java:95: error: package BoardFrame does not exist
            BoardFrame.Option board_option;
                      ^
MainApplication.java:98: error: package BoardFrame does not exist
                board_option = BoardFrame.Option.SESSION_FILE;
                                         ^
MainApplication.java:102: error: package BoardFrame does not exist
                board_option = BoardFrame.Option.SINGLE_FRAME;
                                         ^
MainApplication.java:104: error: cannot find symbol
            DesignFile design_file =
DesignFile.get_instance(design_file_name, false);
            ^
  symbol:   class DesignFile
  location: class MainApplication
MainApplication.java:104: error: cannot find symbol
            DesignFile design_file =
DesignFile.get_instance(design_file_name, false);
                                     ^
  symbol:   variable DesignFile
  location: class MainApplication
MainApplication.java:113: error: cannot find symbol
            WindowMessage welcome_window = WindowMessage.show(message);
            ^
  symbol:   class WindowMessage
  location: class MainApplication
MainApplication.java:113: error: cannot find symbol
            WindowMessage welcome_window = WindowMessage.show(message);
                                           ^
  symbol:   variable WindowMessage
  location: class MainApplication
MainApplication.java:114: error: cannot find symbol
            final BoardFrame new_frame =
                  ^
  symbol:   class BoardFrame
  location: class MainApplication
MainApplication.java:164: error: cannot find symbol
        this.window_net_demonstrations = new
WindowNetDemonstrations(p_current_locale);
                                             ^
  symbol:   class WindowNetDemonstrations
  location: class MainApplication
MainApplication.java:167: error: cannot find symbol
        this.window_net_sample_designs = new
WindowNetSampleDesigns(p_current_locale);
                                             ^
  symbol:   class WindowNetSampleDesigns
  location: class MainApplication
MainApplication.java:258: error: cannot find symbol
        DesignFile design_file = DesignFile.open_dialog(this.is_webstart,
this.design_dir_name);
        ^
  symbol:   class DesignFile
  location: class MainApplication
MainApplication.java:258: error: cannot find symbol
        DesignFile design_file = DesignFile.open_dialog(this.is_webstart,
this.design_dir_name);
                                 ^
  symbol:   variable DesignFile
  location: class MainApplication
MainApplication.java:266: error: package BoardFrame does not exist
        BoardFrame.Option option;
                  ^
MainApplication.java:269: error: package BoardFrame does not exist
            option = BoardFrame.Option.WEBSTART;
                               ^
MainApplication.java:273: error: package BoardFrame does not exist
            option = BoardFrame.Option.FROM_START_MENU;
                               ^
MainApplication.java:277: error: cannot find symbol
        WindowMessage welcome_window = WindowMessage.show(message);
        ^
  symbol:   class WindowMessage
  location: class MainApplication
MainApplication.java:277: error: cannot find symbol
        WindowMessage welcome_window = WindowMessage.show(message);
                                       ^
  symbol:   variable WindowMessage
  location: class MainApplication
MainApplication.java:279: error: cannot find symbol
        BoardFrame new_frame =
        ^
  symbol:   class BoardFrame
  location: class MainApplication
MainApplication.java:304: error: cannot find symbol
        boolean file_deleted =
WebStart.delete_files(BoardFrame.GUI_DEFAULTS_FILE_NAME,
resources.getString("confirm_delete"));
                                                     ^
  symbol:   variable BoardFrame
  location: class MainApplication
MainApplication.java:304: error: cannot find symbol
        boolean file_deleted =
WebStart.delete_files(BoardFrame.GUI_DEFAULTS_FILE_NAME,
resources.getString("confirm_delete"));
                               ^
  symbol:   variable WebStart
  location: class MainApplication
MainApplication.java:335: error: cannot find symbol
        TestLevel test_level;
        ^
  symbol:   class TestLevel
  location: class MainApplication
MainApplication.java:386: error: cannot find symbol
    private static final TestLevel DEBUG_LEVEL =
TestLevel.CRITICAL_DEBUGGING_OUTPUT;
                                                 ^
  symbol:   variable TestLevel
  location: class MainApplication
MainApplication.java:342: error: cannot find symbol
            test_level = TestLevel.RELEASE_VERSION;
                         ^
  symbol:   variable TestLevel
  location: class MainApplication
MainApplication.java:344: error: cannot find symbol
        BoardFrame new_frame = new BoardFrame(p_design_file, p_option,
test_level, p_locale, !p_is_test_version);
        ^
  symbol:   class BoardFrame
  location: class MainApplication
MainApplication.java:344: error: cannot find symbol
        BoardFrame new_frame = new BoardFrame(p_design_file, p_option,
test_level, p_locale, !p_is_test_version);
                                   ^
  symbol:   class BoardFrame
  location: class MainApplication
MainApplication.java:359: error: package BoardFrame does not exist
                    new_frame.board_panel.board_handling, p_option ==
BoardFrame.Option.WEBSTART,

    ^
MainApplication.java:358: error: cannot find symbol
            DesignFile.read_rules_file(name_parts[0],
p_design_file.get_parent(),
            ^
  symbol:   variable DesignFile
  location: class MainApplication
MainApplication.java:381: error: cannot find symbol
    private java.util.Collection<BoardFrame> board_frames = new
java.util.LinkedList<BoardFrame>();

         ^
  symbol:   class BoardFrame
  location: class MainApplication
38 errors

-- 

------------
Regards,
    Fernando Lopez Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20191128/70965f12/attachment-0001.htm>


More information about the SlackBuilds-users mailing list