ossimlabs / ossim

Core OSSIM (Open Source Software Image Map) package including C++ code for OSSIM library, command-line applications, tests, and build system
MIT License
299 stars 142 forks source link

unable to find all the dependencies for compilation. #201

Closed ghost closed 6 years ago

ghost commented 6 years ago

Good day, So I am trying to compile this and I am running into dependency issues that I am struggling to resolve I am running on

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:    16.04
Codename:   xenial

Linux ForeignHost 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Is there a way to install all the dependencies that are required for this? I am having difficulties finding the right lib for GEOS...

Let me know if you want any additional information..

Thanks

Make Warning at CMakeModules/FindGEOS.cmake:66 (message):
  Could not find GEOS
Call Stack (most recent call first):
  ../CMakeLists.txt:60 (find_package)

-- GEOS_INCLUDE_DIR=GEOS_INCLUDE_DIR-NOTFOUND
-- GEOS_LIBRARY=
CMake Error at ../CMakeLists.txt:65 (message):
  Could not find required geos package!
oscarkramer commented 6 years ago

You'll need to clone the geos repo and build it. Find it here. I am building it on my Ubuntu 16.04 LTS. Then you can either do a "sudo make install" to your system, or define an environment variable GEOS_DIR to point to your geos install directory containing lib and include. I'm linking against geos 3.6.1, but I see 3.6.2 is available, which should be OK.

gpotts commented 6 years ago

Hello:

I do not compile on ubuntu. Oscar, what do you install for libgeos?

What version of geos is it?

The find is looking in the directory geos/geom/Geometry.h usually under /usr or /usr/local I thought.

You can override by passing -DGEOS_DIR=

Take care

Garrett

On Jun 4, 2018, at 5:40 AM, ApertureSecurity notifications@github.com wrote:

Good day, So I am trying to compile this and I am running into dependency issues that I am struggling to resolve I am running on

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial Linux ForeignHost 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Is there a way to install all the dependencies that are required for this? I am having difficulties finding the right lib for GEOS...

Let me know if you want any additional information..

Thanks

Make Warning at CMakeModules/FindGEOS.cmake:66 (message): Could not find GEOS Call Stack (most recent call first): ../CMakeLists.txt:60 (find_package)

-- GEOS_INCLUDE_DIR=GEOS_INCLUDE_DIR-NOTFOUND -- GEOS_LIBRARY= CMake Error at ../CMakeLists.txt:65 (message): Could not find required geos package!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ossimlabs/ossim/issues/201, or mute the thread https://github.com/notifications/unsubscribe-auth/ACL9v-W4Vs9fKCS-Qc5zMdmG7ALpG2elks5t5QB0gaJpZM4UYw5_.

gpotts commented 6 years ago

Hello:

I am assuming you are installing the dev packages and not just the binary package of geos? I build on CentOS and typically they are separated out with a -devel on the package name. Not sure of the names under ubuntu.

Take care

Garrett

On Jun 4, 2018, at 5:40 AM, ApertureSecurity notifications@github.com wrote:

Good day, So I am trying to compile this and I am running into dependency issues that I am struggling to resolve I am running on

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial Linux ForeignHost 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Is there a way to install all the dependencies that are required for this? I am having difficulties finding the right lib for GEOS...

Let me know if you want any additional information..

Thanks

Make Warning at CMakeModules/FindGEOS.cmake:66 (message): Could not find GEOS Call Stack (most recent call first): ../CMakeLists.txt:60 (find_package)

-- GEOS_INCLUDE_DIR=GEOS_INCLUDE_DIR-NOTFOUND -- GEOS_LIBRARY= CMake Error at ../CMakeLists.txt:65 (message): Could not find required geos package!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ossimlabs/ossim/issues/201, or mute the thread https://github.com/notifications/unsubscribe-auth/ACL9v-W4Vs9fKCS-Qc5zMdmG7ALpG2elks5t5QB0gaJpZM4UYw5_.

oscarkramer commented 6 years ago

I answered him via the ossimlabs ticket he opened. I downloaded geos from the osgeo github https://github.com/OSGeo/geos/releases. I am building 3.6.1 but there is a 3.6.2 recently released.

http://www.radiantsolutions.com/

Oscar L Kramer Senior Software Engineer +1.863.703.4535 office <//+1.863.703.4535> oscar.kramer@radiantsolutions.com

On Tue, Jun 5, 2018 at 6:42 AM, gpotts notifications@github.com wrote:

Hello:

I do not compile on ubuntu. Oscar, what do you install for libgeos?

What version of geos is it?

The find is looking in the directory geos/geom/Geometry.h usually under /usr or /usr/local I thought.

You can override by passing -DGEOS_DIR=

Take care

Garrett

On Jun 4, 2018, at 5:40 AM, ApertureSecurity notifications@github.com wrote:

Good day, So I am trying to compile this and I am running into dependency issues that I am struggling to resolve I am running on

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial Linux ForeignHost 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Is there a way to install all the dependencies that are required for this? I am having difficulties finding the right lib for GEOS...

Let me know if you want any additional information..

Thanks

Make Warning at CMakeModules/FindGEOS.cmake:66 (message): Could not find GEOS Call Stack (most recent call first): ../CMakeLists.txt:60 (find_package)

-- GEOS_INCLUDE_DIR=GEOS_INCLUDE_DIR-NOTFOUND -- GEOS_LIBRARY= CMake Error at ../CMakeLists.txt:65 (message): Could not find required geos package!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/ossimlabs/ossim/issues/201>, or mute the thread < https://github.com/notifications/unsubscribe-auth/ACL9v-W4Vs9fKCS- Qc5zMdmG7ALpG2elks5t5QB0gaJpZM4UYw5_>.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ossimlabs/ossim/issues/201#issuecomment-394663910, or mute the thread https://github.com/notifications/unsubscribe-auth/ADFhUcbWnFoZMC6FyExL315ULYyR1D_Zks5t5mCWgaJpZM4UYw5_ .