monkeyswarm / MobMuPlatEditor

MobMuPlatEditor is an application for creating and editing GUIs for use in MobMuPlat.
www.mobmuplat.com
Other
114 stars 16 forks source link

Problem(s) compiling under Windows 7 #19

Closed dfkettle closed 2 years ago

dfkettle commented 2 years ago

I'm trying to compile MobMuPlatEditor (which I downloaded today from this repository) using Java v18.0.1.1 from Oracle, under Windows 7 SP1 (64-bit). However, there were 32 errors and 100 warnings issued. I've attached a screen shot and a file containing the error and warning messages. Should I be using a different version of Java to compile?

MobMuPlatEditor

errors.txt

monkeyswarm commented 2 years ago

Note that precompiled binaries are available as described in the README; you don't need to be compiling yourself unless you wish to modify the code.

The errors are for missing dependencies; I do not know the details of how java classpath may have changed since I wrote the initial compilation command. Do you actually have the gson package in the expected location?

dfkettle commented 2 years ago

Note that precompiled binaries are available as described in the README; you don't need to be compiling yourself unless you wish to modify the code.

I couldn't find any precompiled binaries for Windows. Which README, the one for MobMuPlat or MobMuPlat Editor?

The errors are for missing dependencies; I do not know the details of how java classpath may have changed since I wrote the initial compilation command. Do you actually have the gson package in the expected location?

Is this the right location?

Image1

dfkettle commented 2 years ago

OK, I changed the compile command to the following and the gson lib was found. Note that I copied-and-pasted the original command from the README file (for MobMuPlat Editor. You might want to update it.

javac -cp lib/gson-2.2.4.jar @sources.txt

I'm still getting 100 warning messages about deprecated methods, though. I assume it's OK to ignore them, but it seems they're "marked for removal".

errors.txt

monkeyswarm commented 2 years ago

The readme for this repo: "If you just want the compiled applications, go to http://www.mobmuplat.com/ and download the development package .zip file, linked in the "setup" section. More info on usage, including sample files, is in that package."

dfkettle commented 2 years ago

Thanks, I found it and it's working, so I guess I don't need to compile it. Although I'm not sure why anyone would download the source from this repo unless they wanted to compile it.