Closed jwatson27 closed 5 months ago
It is necessary to have the locale set properly in order to compile the Java code (something the base docker images don't have). For example, we added this line to our Fedora dockerfile to handle that issue.
Gotcha. Adding that line seems to have fixed it. Thanks!
Do you think this is worth adding to the documentation or is this too OS-specific?
I'm generally in favor of more docs. In #448 I floated the idea of having an extra section for things like this.
Adding set(CMAKE_JAVA_COMPILE_FLAGS -encoding utf8)
to lcm-java/CMakeLists.txt
seems to also work for building. Might be preferred?
Yeah, that sounds like a good solution to me
This issue should be resolved by #488
Summary
When attempting to build LCM 1.5.0 from source on Ubuntu 22.04, the make build fails with the following error:
Example
Host OS:
Ubuntu 22.04
Docker version:Docker version 23.0.6, build ef23cbc
.Dockerfile
Build & Run
Output