Giter Site home page Giter Site logo

Comments (3)

roelofvandijk avatar roelofvandijk commented on August 22, 2024 2

Fixed it using by using the (correct and specific) tag GIT_TAG origin/master and removing the line GIT_PROGRESS 1 in both CMakeLists.txt files of opengv_catkin and dbow2_catkin.

Example CMakeLists.txt for dbow2_catkin:

cmake_minimum_required(VERSION 2.8.3)
project(dbow2_catkin)

find_package(catkin_simple REQUIRED)
catkin_simple()

include(ExternalProject)

file(MAKE_DIRECTORY ${CATKIN_DEVEL_PREFIX}/include)

ExternalProject_Add(dbow2_src
  GIT_REPOSITORY https://github.com/dorian3d/DBoW2.git
  GIT_TAG origin/master
  GIT_PROGRESS 1
  UPDATE_COMMAND ""
  #PATCH_COMMAND ""
  CONFIGURE_COMMAND cmake -DCMAKE_BUILD_TYPE=Release
                          -DCMAKE_INSTALL_PREFIX:PATH=${CATKIN_DEVEL_PREFIX}
                          -DBUILD_Demo=Off ../dbow2_src
  BUILD_COMMAND make
  INSTALL_COMMAND make install
)

install(DIRECTORY ${CATKIN_DEVEL_PREFIX}/include/DBoW2
        DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION}
        FILES_MATCHING PATTERN "*.h")

install(DIRECTORY ${CATKIN_DEVEL_PREFIX}/lib/
        DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
        FILES_MATCHING PATTERN "libDBoW2*")

cs_export(INCLUDE_DIRS ${CATKIN_DEVEL_PREFIX}/include
          LIBRARIES DBoW2)

`

from kimera-vio-ros.

ToniRV avatar ToniRV commented on August 22, 2024

Thanks! Feel free to open PRs in the corresponding repos, otw Ill update it myself asap

from kimera-vio-ros.

mzahana avatar mzahana commented on August 22, 2024

@roelofvandijk Thanks! This solved the same issue I had. Would be nice to updated in the CMakeLists.txt

from kimera-vio-ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.