-
Notifications
You must be signed in to change notification settings - Fork 723
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
Failure to compile in Nvidia TX2 (ARM) #12
Comments
Hi, I manage to built on ARM, see #7 . But I didn't get this You can maybe try to do what they say and download this config.guess and replace the one in your workspace. |
I installed glogs on the TX1. 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. |
@Changliu52 The |
I deleted all mssse3 definitions in all CMAKELIST.txt. and all the deps are built correctly. |
Hi,
I tried to compile the maplab following the standard steps in wiki.
My environment is Nvidia TX2, running ubuntu 16.04 (flashed using Jetpack 3.1), ROS Kinetic.
It failed with the error:
The compilation on i5 ubuntu16.04-kinetic works perfectly.
Seems the arm architecture is completely not supported?
Or is there anyway to only compile ROVIOLI on the arm?
Thank you in advance.
Kind Regards,
Chang
The text was updated successfully, but these errors were encountered: