Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error in compilation on Ubuntu 18.04 #18

Open
igarag opened this issue Jan 9, 2020 · 0 comments
Open

Error in compilation on Ubuntu 18.04 #18

igarag opened this issue Jan 9, 2020 · 0 comments

Comments

@igarag
Copy link

igarag commented Jan 9, 2020

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:

sudo apt install libgeos++-dev

With this library installed the compilation has been successfully completed.

Greetings.

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

No branches or pull requests

1 participant