Giter VIP home page Giter VIP logo

Comments (5)

Alabate avatar Alabate commented on May 30, 2024

Hi, I manage to built on ARM, see #7 . But I didn't get this unable to guess system type. If you manage to go through this error, the diff I gave may help you, even if we don't exactly have the same target architecture.

You can maybe try to do what they say and download this config.guess and replace the one in your workspace.

from maplab.

bidbest avatar bidbest commented on May 30, 2024

I installed glogs on the TX1.
install (apt) libunwind-dev and libunwind8-dev. Then use this CMakeList.txt

cmake_minimum_required(VERSION 2.8.3)
project(glog_catkin)

find_package(catkin_simple REQUIRED)
catkin_simple()

include(ExternalProject)

file(MAKE_DIRECTORY ${CATKIN_DEVEL_PREFIX}/include)

set(VERSION 0.3.5)
ExternalProject_Add(glog_src
  #URL https://github.com/google/glog/archive/v${VERSION}.zip
  GIT_REPOSITORY https://github.com/google/glog.git
  UPDATE_COMMAND ""
#  PATCH_COMMAND patch -p0 < ${CMAKE_SOURCE_DIR}/fix-unused-typedef-warning.patch
  CONFIGURE_COMMAND cd ../glog_src/ && ./autogen.sh && \\
    ./configure --with-pic
    --with-gflags=${gflags_catkin_PREFIX}
    --prefix=${CATKIN_DEVEL_PREFIX}
  BUILD_COMMAND cd ../glog_src/ && make -j 8
  INSTALL_COMMAND cd ../glog_src/ && make install -j 8
)

cs_add_library(${PROJECT_NAME} src/dependency_tracker.cc)
add_dependencies(${PROJECT_NAME} glog_src)
target_link_libraries(${PROJECT_NAME} ${CATKIN_DEVEL_PREFIX}/lib/libglog${CMAKE_SHARED_LIBRARY_SUFFIX})

cs_install()

cs_export(INCLUDE_DIRS ${CATKIN_DEVEL_PREFIX}/include
  CFG_EXTRAS glog-extras.cmake)

This simply download the lastest version of glog. This new version needs a previous command (autogen.sh) before the .configure.
Also removes the patch.

from maplab.

Changliu52 avatar Changliu52 commented on May 30, 2024

Great! Thank you @bidbest . It worked with the new CMakeList.
Now It failed with the error: unrecognised command line option '-mssse3'. So I guess I will just need to implement @Alabate 's diff.
Thanks again.

from maplab.

fabianbl avatar fabianbl commented on May 30, 2024

@Changliu52 The pre-release-january branch in both the maplab and the maplab_dependencies repo adds build compatibility for ARM processors, see here: #7

from maplab.

meitiever avatar meitiever commented on May 30, 2024

I deleted all mssse3 definitions in all CMAKELIST.txt. and all the deps are built correctly.
but the brisk package does not support neon and arm does not support mssse3.
so you can't build maplab on arm.
for a developer, it is quite easy to fix this - by replacing brisk with OpenCV.
and then I think maplab can be run on an arm device.
On the other hand, the performance issue is quite big.
because the maplab does not build on CUDA.
it require quite a lot of work to make this work on CUDA smoothly.

from maplab.

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.