[OpenDroneMap-users] Errors installing in Lubuntu 17.04

Carlos Grohmann carlos.grohmann at gmail.com
Wed Apr 26 17:24:53 PDT 2017


Ok, I got it running under Docker.

I didn't understand at first how docker works, and was under the impression
that I *had* to compile it from source. After I realized that 'docker pull
opendronemap/opendronemap' was the way to go, it all got easier.

BTW, I would recommend updating the instructions with 'docker pull'
followed by usage examples. This would simplify things and make it easier
for novices in docker.

best

Carlos








On Wed, Apr 26, 2017 at 11:51 AM, Carlos Grohmann <carlos.grohmann at gmail.com
> wrote:

> I see.
>
> Ok, trying the version 0.3 (downloaded as tar.gz, since the git repo is
> about 1.4GB...), and running
>
> docker build -t packages -f Dockerfile .
>
> gives me an error with opencv:
>
> ...
>
> -- Installing: /code/SuperBuild/install/share/OpenCV/lbpcascades/
> lbpcascade_profileface.xml
> -- Installing: /code/SuperBuild/install/share/OpenCV/lbpcascades/
> lbpcascade_silverware.xml
> [ 59%] Completed 'opencv'
> [ 59%] Built target opencv
> make: *** [all] Error 2
> Makefile:83: recipe for target 'all' failed
> The command '/bin/sh -c cd SuperBuild && mkdir build && cd build && cmake
>  .. && make -j$(nproc)     && cd ../.. && mkdir build && cd build && cmake
> .. && make -j$(nproc)' returned a non-zero code: 2
>
>
> thanks
>
> Carlos
>
>
>
> On Wed, Apr 26, 2017 at 11:21 AM, Dakota M. Benjamin <
> dmb2 at clevelandmetroparks.com> wrote:
>
>> All,
>>
>>
>> I think this issue is related: https://github.com/Op
>> enDroneMap/OpenDroneMap/issues/410
>>
>>
>>
>> For now I would suggest trying the docker install process detailed in the
>> README while we look into these issues.
>>
>>
>> [image: http://sig.cmparks.net/cmp-ms-90x122.png]Dakota Benjamin
>> Geospatial Developer
>>
>> 216-635-3255 <(216)%20635-3255> (Office)
>> clevelandmetroparks.com <http://www.clemetparks.com/>
>>
>> <http://www.clemetparks.com/>
>>
>> ------------------------------
>> *From:* OpenDroneMap-users <opendronemap-users-bounces at lists.osgeo.org>
>> on behalf of Carlos Grohmann <carlos.grohmann at gmail.com>
>> *Sent:* Wednesday, April 26, 2017 9:52:57 AM
>> *To:* opendronemap-users at lists.osgeo.org
>> *Subject:* Re: [OpenDroneMap-users] Errors installing in Lubuntu 17.04
>>
>> Thanks Martin
>>
>> Those errors were fized by installing libpcl-dev and libopencv-dev.
>>
>> Now I'm getting errors in the compilation step:
>>
>> modules/odm_georef/CMakeFiles/odm_georef.dir/build.make:86: recipe for
>> target 'modules/odm_georef/CMakeFiles/odm_georef.dir/src/Georef.cpp.o'
>> failed
>> make[2]: *** [modules/odm_georef/CMakeFiles/odm_georef.dir/src/Georef.cpp.o]
>> Error 1
>> CMakeFiles/Makefile2:170: recipe for target 'modules/odm_georef/CMakeFiles/odm_georef.dir/all'
>> failed
>> make[1]: *** [modules/odm_georef/CMakeFiles/odm_georef.dir/all] Error 2
>> Makefile:83: recipe for target 'all' failed
>> make: *** [all] Error 2
>> Configuration Finished
>>
>>
>> From what I see, it's looking for Georef.cpp at
>> ???/modules/odm_georef/CMakeFiles/odm_georef.dir/src/
>>
>> but I only found this file at
>> OpenDroneMap/modules/odm_georef/src
>>
>> thanks again
>>
>> Carlos
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Apr 26, 2017 at 2:23 AM, Martin Weis <
>> martin.weis.newsadress at gmx.de> wrote:
>>
>>> Hello!
>>>
>>> Am 26.04.2017 um 03:57 schrieb Carlos Grohmann:
>>> > I'm trying to install ODM on a Lubuntu 17.04 virtual machine
>>> (VirtualBox
>>> > running in MacOS).
>>> > I'm getting errors with PCL and PDAL. (I'm running as root due some
>>> > permissions errors in earlier attempts)
>>>
>>> pcl and opencv, as it seems...
>>>
>>>
>>> > CMake Warning at modules/odm_georef/CMakeLists.txt:16 (find_package):
>>> >   Could not find a package configuration file provided by "PCL"
>>> (requested
>>> >   version 1.7) with any of the following names:
>>> >
>>> >     PCLConfig.cmake
>>> >     pcl-config.cmake
>>> >
>>> >   Could not find a package configuration file provided by "OpenCV"
>>> with any
>>> >   of the following names:
>>> >
>>> >     OpenCVConfig.cmake
>>> >     opencv-config.cmake
>>>
>>>
>>> On U16.04 these files are in packages:
>>>
>>> apt-file search PCLConfig.cmake
>>> libpcl-dev: /usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake
>>> apt-file search OpenCVConfig.cmake
>>> libopencv-dev: /usr/share/OpenCV/OpenCVConfig.cmake
>>>
>>> Did you install these packages?
>>>
>>> apt install libpcl-dev libopencv-dev
>>>
>>> # maybe redo cmake config to update cached content.
>>>
>>> Good luck
>>> Martin
>>>
>>>
>>>
>>> _______________________________________________
>>> OpenDroneMap-users mailing list
>>> OpenDroneMap-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/opendronemap-users
>>>
>>>
>>
>>
>> --
>> Prof. Carlos Henrique Grohmann
>> Institute of Energy and Environment - Univ. of São Paulo, Brazil
>> - Digital Terrain Analysis | GIS | Remote Sensing -
>>
>> http://carlosgrohmann.com
>> http://orcid.org/0000-0001-5073-5572
>> ________________
>> Can’t stop the signal.
>>
>
>
>
> --
> Prof. Carlos Henrique Grohmann
> Institute of Energy and Environment - Univ. of São Paulo, Brazil
> - Digital Terrain Analysis | GIS | Remote Sensing -
>
> http://carlosgrohmann.com
> http://orcid.org/0000-0001-5073-5572
> ________________
> Can’t stop the signal.
>



-- 
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572
________________
Can’t stop the signal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/opendronemap-users/attachments/20170426/bfed3cea/attachment.html>


More information about the OpenDroneMap-users mailing list