Open igarag opened 4 years ago
Hi to all.
I'm installing the library and I had this error during compilation following the instructions in the README.
[ 0%] Built target playercommon [ 0%] Generating functiontable_gen.h [ 0%] Built target functiontable_gen [ 0%] Generating player_interfaces.h [ 0%] Built target player_interfaces [ 0%] Generating playerxdr.? [ 1%] Built target playerxdr_src [ 1%] Generating interface_table.h [ 2%] Built target interface_table [ 4%] Built target playerinterface [ 4%] Built target playerjpeg [ 5%] Linking C shared library libplayerwkb.so /usr/bin/ld: cannot find -lgeos collect2: error: ld returned 1 exit status libplayerwkb/CMakeFiles/playerwkb.dir/build.make:95: recipe for target 'libplayerwkb/libplayerwkb.so.3.1.1-dev' failed make[2]: *** [libplayerwkb/libplayerwkb.so.3.1.1-dev] Error 1 CMakeFiles/Makefile2:739: recipe for target 'libplayerwkb/CMakeFiles/playerwkb.dir/all' failed make[1]: *** [libplayerwkb/CMakeFiles/playerwkb.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2
The computer has Ubuntu 18.04 almost newly installed.
I solved the error by installing the libgeos++ library with the following command:
libgeos++
sudo apt install libgeos++-dev
With this library installed the compilation has been successfully completed.
Greetings.
Hi to all.
I'm installing the library and I had this error during compilation following the instructions in the README.
The computer has Ubuntu 18.04 almost newly installed.
I solved the error by installing the
libgeos++
library with the following command:With this library installed the compilation has been successfully completed.
Greetings.