OpenSourcePhysics / tracker

Video analysis and modeling tool built on the Open Source Physics framework
GNU General Public License v3.0
206 stars 52 forks source link

Errors on compilation #45

Open ElectricPulse opened 1 year ago

ElectricPulse commented 1 year ago

I don't have much experience with compiling java applications, but I would like to make an .ebuild and a makepkg for this app, while I find it neat to use on linux. One problem I had during compilation after including the core osp libary files into the build directory under a org folder is after running javac -cp "$(pwd)" Tracker.java I get a couple warnings and also a lot of undefined variables: Tracker.java:166: error: cannot find symbol static DataTrackTool dataTrackTool; // used for RMI communication with EJS ^ symbol: class DataTrackTool location: class Tracker Tracker.java:189: error: cannot find symbol private TFrame frame; ^ symbol: class TFrame location: class Tracker Tracker.java:509: error: cannot find symbol public TFrame getFrame() { ^ symbol: class TFrame location: class Tracker Tracker.java:1287: error: cannot find symbol protected static void showUpgradeStatus(TrackerPanel trackerPanel) { ^ .... I probably forgot to include some library (I didnt even try to include Xuggle), but since there are no build instructions I cannot really bounce off of anything.

ElectricPulse commented 1 year ago

log.txt The full log

dobrown commented 1 year ago

I don't know why this problem occurs. It looks like the Tracker code causing this is old--there is currently no reference to DataTrackTool in Tracker. Are you using the current code?

On Thu, Dec 1, 2022 at 10:04 AM ElectricPulse @.***> wrote:

I don't have much experience with compiling java applications, but I would like to make an .ebuild and a makepkg for this app, while I find it neat to use on linux. One problem I had during compilation after including the core osp libary files into the build directory under a org folder is after running javac -cp "$(pwd)" Tracker.java I get a couple warnings and also a lot of undefined variables: Tracker.java:166: error: cannot find symbol static DataTrackTool dataTrackTool; // used for RMI communication with EJS ^ symbol: class DataTrackTool location: class Tracker Tracker.java:189: error: cannot find symbol private TFrame frame; ^ symbol: class TFrame location: class Tracker Tracker.java:509: error: cannot find symbol public TFrame getFrame() { ^ symbol: class TFrame location: class Tracker Tracker.java:1287: error: cannot find symbol protected static void showUpgradeStatus(TrackerPanel trackerPanel) { ^ .... I probably forgot to include some library (I didnt even try to include Xuggle), but since there are no build instructions I cannot really bounce off of anything.

— Reply to this email directly, view it on GitHub https://github.com/OpenSourcePhysics/tracker/issues/45, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXIBFHA2FYRC7K3KNLPYCTWLDSERANCNFSM6AAAAAASRCCKFM . You are receiving this because you are subscribed to this thread.Message ID: @.***>