Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Does not compile on MacOS #15

Open
shaihi opened this issue May 28, 2023 · 2 comments
Open

Does not compile on MacOS #15

shaihi opened this issue May 28, 2023 · 2 comments

Comments

@shaihi
Copy link

shaihi commented May 28, 2023

Running on MacOS 13.3.1 (a) Apple Silicon. Java version java 20.0.1 2023-04-18
Java(TM) SE Runtime Environment (build 20.0.1+9-29)
Java HotSpot(TM) 64-Bit Server VM (build 20.0.1+9-29, mixed mode, sharing)

When trying to compile getting the following errors:
javac -cp src -d bin src/mosaic/controllers/MainController.java
src/io/DataFile.java:19: error: cannot find symbol
data = new BASE64Decoder().decodeBuffer(base64);
^
symbol: class BASE64Decoder
location: class DataFile
src/io/DataFile.java:39: error: cannot find symbol
BASE64Encoder encoder = new BASE64Encoder();
^
symbol: class BASE64Encoder
location: class DataFile
src/io/DataFile.java:39: error: cannot find symbol
BASE64Encoder encoder = new BASE64Encoder();
^
symbol: class BASE64Encoder
location: class DataFile
Note: src/mosaic/controllers/ColorController.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors

@LasseD
Copy link
Owner

LasseD commented Sep 13, 2023

Hi there. What happened when you tried with the suggestion from the output in your post?

@shaihi
Copy link
Author

shaihi commented Sep 13, 2023

What suggestion? the "Recompile with Xlint"?. I didn't try. Was looking for a plug and play sort of project. Ended up using some other app.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants