simondlevy / BreezySLAM

Simple, efficient, open-source package for Simultaneous Localization and Mapping
GNU Lesser General Public License v3.0
758 stars 251 forks source link

Java Compilation Issues #22

Open jghawaly opened 6 years ago

jghawaly commented 6 years ago

I have not been successful at compiling the java code for either of the 2 machines that I am testing, one is operating on Windows 10 and one is operating on OSX El Capitan. On OSX, when running make in the algorithms folder, I get the error:

gcc -shared -Wl,-soname,libjnibreezyslam_algorithms.so -o libjnibreezyslam_algorithms.so jnibreezyslam_algorithms.o \
                coreslam.o coreslam_sisd.o random.o ziggurat.o
ld: unknown option: -soname
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The option -soname appears to not exist and I cannot find any documentation on it.

On Windows 10, the build appears to be successful for both the algorithms and robots folders, but not the components folder, where it complains about undefined references to random_normal.

The code appears to compile find on Debian 9, perhaps the Makefile is broken for the other operating systems?