Skip to content
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

Build fails on WSL Ubuntu 24 #1994

Open
juanlm-verus opened this issue Jan 23, 2025 · 2 comments
Open

Build fails on WSL Ubuntu 24 #1994

juanlm-verus opened this issue Jan 23, 2025 · 2 comments

Comments

@juanlm-verus
Copy link

Following up from #1981

Running WSL2


Distributor ID: Ubuntu
Description:    Ubuntu 24.04.1 LTS
Release:        24.04
Codename:       noble

Following instructions as described in the INSTALL.md file:


$ mkdir build
$ cd build
$ cmake ..
$ make check # (optional, runs unit tests)
$ make install

I get the following:


juan@XLS-LT-482PCC:/mnt/c/Users/juan.lopera/gtsam$ mkdir build && cd build
juan@XLS-LT-482PCC:/mnt/c/Users/juan.lopera/gtsam/build$ cmake ..
-- The CXX compiler identification is GNU 13.3.0
-- The C compiler identification is GNU 13.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- GTSAM_POSE3_EXPMAP=ON, enabling GTSAM_ROT3_EXPMAP as well
-- Performing Test COMPILER_HAS_WSUGGEST_OVERRIDE
-- Performing Test COMPILER_HAS_WSUGGEST_OVERRIDE - Success
-- Performing Test COMPILER_HAS_WMISSING_OVERRIDE
-- Performing Test COMPILER_HAS_WMISSING_OVERRIDE - Failed
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.83.0/BoostConfig.cmake (found suitable version "1.83.0", minimum required is "1.65") found components: serialization system filesystem thread program_options date_time timer chrono regex 
-- Found Eigen version: 3.4.0
CMake Deprecation Warning at gtsam/3rdparty/metis/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for getline
-- Looking for getline - found
-- checking for thread-local storage - found
-- Could NOT find MKL (missing: MKL_INCLUDE_DIR MKL_LIBRARIES) 
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Building 3rdparty
-- Could NOT find GeographicLib (missing: GeographicLib_LIBRARY_DIRS GeographicLib_LIBRARIES GeographicLib_INCLUDE_DIRS) 
-- Building base
-- Building basis
-- Building constrained
-- Building geometry
-- Building inference
-- Building symbolic
-- Building discrete
-- Building hybrid
-- Building linear
-- Building nonlinear
-- Building sam
-- Building sfm
-- Building slam
-- Building navigation
-- GTSAM Version: 4.3a0
-- Install prefix: /usr/local
-- Building GTSAM - as a SHARED library
-- Building base_unstable
-- Building geometry_unstable
-- Building linear_unstable
-- Building discrete_unstable
-- Building dynamics_unstable
-- Building nonlinear_unstable
-- Building slam_unstable
-- Building partition_unstable
-- GTSAM_UNSTABLE Version: 4.3a0
-- Install prefix: /usr/local
-- Wrote /mnt/c/Users/juan.lopera/gtsam/build/GTSAMConfig.cmake
-- Wrote /mnt/c/Users/juan.lopera/gtsam/build/GTSAM_UNSTABLEConfig.cmake
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- ===============================================================
-- ================  Configuration Options  ======================
--  CMAKE_CXX_COMPILER_ID type                       : GNU
--  CMAKE_CXX_COMPILER_VERSION                       : 13.3.0
--  CMake version                                    : 3.28.3
--  CMake generator                                  : Unix Makefiles
--  CMake build tool                                 : /usr/bin/gmake
-- Build flags                                               
--  Build Tests                                      : Enabled
--  Build examples with 'make all'                   : Enabled
--  Build timing scripts with 'make all'             : Disabled
--  Build shared GTSAM libraries                     : Enabled
--  Put build type in library name                   : Enabled
--  Build libgtsam_unstable                          : Enabled
--  Build GTSAM unstable Python                      : Enabled
--  Build MATLAB Toolbox for unstable                : Disabled
--  Build for native architecture                    : Disabled
--  Build type                                       : Release
--  C compilation flags                              :  -O3 -DNDEBUG
--  C++ compilation flags                            :  -O3 -DNDEBUG
--  Enable Boost serialization                       : ON
--  GTSAM_COMPILE_FEATURES_PUBLIC                    : cxx_std_17
--  GTSAM_COMPILE_OPTIONS_PUBLIC                     : 
--  GTSAM_COMPILE_DEFINITIONS_PUBLIC                 : 
--  GTSAM_COMPILE_OPTIONS_PUBLIC_RELEASE             : 
--  GTSAM_COMPILE_DEFINITIONS_PUBLIC_RELEASE         : 
--  Use System Eigen                                 : OFF (Using version: 3.4.0)
--  Use System Metis                                 : OFF
--  Using Boost version                              : 1.83.0
--  Use Intel TBB                                    : Yes (Version: 2021.11.0)
--  Eigen will use MKL                               : MKL not found
--  Eigen will use MKL and OpenMP                    : OpenMP found but GTSAM_WITH_EIGEN_MKL is disabled
--  Default allocator                                : TBB
--  Cheirality exceptions enabled                    : YES
--  Build with ccache                                : Yes
-- Packaging flags
--  CPack Source Generator                           : TGZ
--  CPack Generator                                  : TGZ
-- GTSAM flags                                               
--  Quaternions as default Rot3                      : Disabled
--  Runtime consistency checking                     : Disabled
--  Build with Memory Sanitizer                      : Disabled
--  Rot3 retract is full ExpMap                      : Enabled
--  Pose3 retract is full ExpMap                     : Enabled
--  Enable branch merging in DecisionTree            : Enabled
--  Enable timing machinery                          : Disabled
--  Allow features deprecated in GTSAM 4.3           : Enabled
--  Metis-based Nested Dissection                    : Enabled
--  Use tangent-space preintegration                 : Enabled
-- MATLAB toolbox flags
--  Install MATLAB toolbox                           : Disabled
-- Python toolbox flags                                      
--  Build Python module with pybind                  : Disabled
-- ===============================================================
-- Configuring done (11.2s)
-- Generating done (65.8s)
-- Build files have been written to: /mnt/c/Users/juan.lopera/gtsam/build
juan@XLS-LT-482PCC:/mnt/c/Users/juan.lopera/gtsam/build$ make install
[  2%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/b64.c.o
[  2%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/blas.c.o
[  2%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/csr.c.o
[  2%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/error.c.o
[  2%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/evaluate.c.o
[  2%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/fkvkselect.c.o
[  2%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/fs.c.o
[  2%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/getopt.c.o
[  2%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/gkregex.c.o
[  2%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/graph.c.o
[  2%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/htable.c.o
[  2%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/io.c.o
[  4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/itemsets.c.o
[  4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/mcore.c.o
[  4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/memory.c.o
[  4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/omp.c.o
[  4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/pdb.c.o
[  4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/pqueue.c.o
[  4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/random.c.o
[  4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/rw.c.o
[  4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/seq.c.o
[  4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/sort.c.o
[  4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/string.c.o
[  7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/timers.c.o
[  7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/tokenizer.c.o
[  7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/__/GKlib/util.c.o
[  7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/auxapi.c.o
[  7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/balance.c.o
[  7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/bucketsort.c.o
[  7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/checkgraph.c.o
[  7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/coarsen.c.o
[  7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/compress.c.o
[  7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/contig.c.o
[  7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/debug.c.o
[  7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/fm.c.o
[  9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/fortran.c.o
[  9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/frename.c.o
[  9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/gklib.c.o
[  9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/graph.c.o
[  9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/initpart.c.o
[  9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/kmetis.c.o
[  9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/kwayfm.c.o
[  9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/kwayrefine.c.o
[  9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/mcutil.c.o
[  9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/mesh.c.o
[  9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/meshpart.c.o
[ 12%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/minconn.c.o
[ 12%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/mincover.c.o
[ 12%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/mmd.c.o
[ 12%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/ometis.c.o
[ 12%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/options.c.o
[ 12%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/parmetis.c.o
[ 12%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/pmetis.c.o
[ 12%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/refine.c.o
[ 12%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/separator.c.o
[ 12%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/sfm.c.o
[ 12%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/srefine.c.o
[ 12%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/stat.c.o
[ 14%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/timing.c.o
[ 14%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/util.c.o
[ 14%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/wspace.c.o
[ 14%] Linking C shared library libmetis-gtsam.so
[ 14%] Built target metis-gtsam
[ 14%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/airy.c.o
[ 14%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/bdtr.c.o
[ 14%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/besselpoly.c.o
[ 14%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/beta.c.o
[ 14%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/btdtr.c.o
[ 17%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/cbrt.c.o
[ 17%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/chbevl.c.o
[ 17%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/chdtr.c.o
[ 17%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/const.c.o
[ 17%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/dawsn.c.o
[ 17%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/dd_real.c.o
[ 17%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/ellie.c.o
[ 17%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/ellik.c.o
[ 17%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/ellpe.c.o
[ 17%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/ellpj.c.o
[ 17%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/ellpk.c.o
[ 17%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/erfinv.c.o
[ 19%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/exp10.c.o
[ 19%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/exp2.c.o
[ 19%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/expn.c.o
[ 19%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/fdtr.c.o
[ 19%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/fresnl.c.o
[ 19%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/gamma.c.o
[ 19%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/gammasgn.c.o
[ 19%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/gdtr.c.o
[ 19%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/hyp2f1.c.o
[ 19%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/hyperg.c.o
[ 19%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/i0.c.o
[ 21%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/i1.c.o
[ 21%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/igam.c.o
[ 21%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/igami.c.o
[ 21%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/incbet.c.o
[ 21%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/incbi.c.o
[ 21%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/j0.c.o
[ 21%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/j1.c.o
[ 21%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/jv.c.o
[ 21%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/k0.c.o
[ 21%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/k1.c.o
[ 21%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/kn.c.o
[ 21%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/kolmogorov.c.o
[ 24%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/lanczos.c.o
[ 24%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/nbdtr.c.o
[ 24%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/ndtr.c.o
[ 24%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/ndtri.c.o
[ 24%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/owens_t.c.o
[ 24%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/pdtr.c.o
[ 24%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/poch.c.o
[ 24%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/psi.c.o
[ 24%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/rgamma.c.o
[ 24%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/round.c.o
[ 24%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/sf_error.c.o
[ 26%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/shichi.c.o
[ 26%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/sici.c.o
[ 26%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/sindg.c.o
[ 26%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/sinpi.c.o
[ 26%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/spence.c.o
[ 26%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/stdtr.c.o
[ 26%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/tandg.c.o
[ 26%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/tukey.c.o
[ 26%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/unity.c.o
[ 26%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/yn.c.o
[ 26%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/yv.c.o
[ 26%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/zeta.c.o
[ 29%] Building C object gtsam/3rdparty/cephes/CMakeFiles/cephes-gtsam.dir/cephes/zetac.c.o
[ 29%] Linking C shared library libcephes-gtsam.so
[ 29%] Built target cephes-gtsam
[ 29%] Building CXX object CppUnitLite/CMakeFiles/CppUnitLite.dir/Test.cpp.o
[ 29%] Building CXX object CppUnitLite/CMakeFiles/CppUnitLite.dir/TestRegistry.cpp.o
[ 29%] Building CXX object CppUnitLite/CMakeFiles/CppUnitLite.dir/TestResult.cpp.o
[ 31%] Linking CXX static library libCppUnitLite.a
[ 31%] Built target CppUnitLite
[ 31%] Building C object gtsam/CMakeFiles/gtsam.dir/3rdparty/CCOLAMD/Source/ccolamd.c.o
[ 31%] Building C object gtsam/CMakeFiles/gtsam.dir/3rdparty/SuiteSparse_config/SuiteSparse_config.c.o
[ 31%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/DSFVector.cpp.o
[ 31%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/Matrix.cpp.o
[ 31%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/SymmetricBlockMatrix.cpp.o
[ 31%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/Vector.cpp.o
[ 31%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/VerticalBlockMatrix.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/cholesky.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/debug.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/timing.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/types.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/utilities.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/basis/Basis.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/basis/Chebyshev.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/basis/Chebyshev2.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/constrained/InequalityPenaltyFunction.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/constrained/NonlinearEqualityConstraint.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/constrained/NonlinearInequalityConstraint.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3Bundler.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3DS2.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3DS2_Base.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3Fisheye.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3Unified.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3_S2.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3_S2Stereo.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3f.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/CalibratedCamera.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cyclic.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/EssentialMatrix.cpp.o
[ 39%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/FundamentalMatrix.cpp.o
[ 39%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Line3.cpp.o
[ 39%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/OrientedPlane3.cpp.o
[ 39%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Point2.cpp.o
[ 39%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Point3.cpp.o
[ 39%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Pose2.cpp.o
[ 39%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Pose3.cpp.o
[ 39%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Rot2.cpp.o
[ 39%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Rot3.cpp.o
[ 39%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Rot3M.cpp.o
[ 39%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/SO3.cpp.o
[ 39%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/SO4.cpp.o
[ 41%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/SOn.cpp.o
[ 41%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Similarity2.cpp.o
[ 41%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Similarity3.cpp.o
[ 41%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/SphericalCamera.cpp.o
[ 41%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/StereoCamera.cpp.o
[ 41%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/StereoPoint2.cpp.o
[ 41%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Unit3.cpp.o
[ 41%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/triangulation.cpp.o
[ 41%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/BayesTree.cpp.o
[ 41%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/DotWriter.cpp.o
[ 41%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/EdgeKey.cpp.o
[ 43%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/Factor.cpp.o
[ 43%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/Key.cpp.o
[ 43%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/LabeledSymbol.cpp.o
[ 43%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/Ordering.cpp.o
[ 43%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/Symbol.cpp.o
[ 43%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/VariableIndex.cpp.o
[ 43%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/VariableSlots.cpp.o
[ 43%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/inferenceExceptions.cpp.o
[ 43%] Building CXX object gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicBayesNet.cpp.o
[ 43%] Building CXX object gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicBayesTree.cpp.o
[ 43%] Building CXX object gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicConditional.cpp.o
[ 43%] Building CXX object gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicEliminationTree.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicFactor.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicFactorGraph.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicISAM.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicJunctionTree.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/AlgebraicDecisionTree.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/DecisionTreeFactor.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/DiscreteBayesNet.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/DiscreteBayesTree.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/DiscreteConditional.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/DiscreteDistribution.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/DiscreteEliminationTree.cpp.o
[ 48%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/DiscreteFactor.cpp.o
[ 48%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/DiscreteFactorGraph.cpp.o
[ 48%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/DiscreteJunctionTree.cpp.o
[ 48%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/DiscreteKey.cpp.o
[ 48%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/DiscreteLookupDAG.cpp.o
[ 48%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/DiscreteValues.cpp.o
[ 48%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/Signature.cpp.o
[ 48%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/SignatureParser.cpp.o
[ 48%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/TableDistribution.cpp.o
[ 48%] Building CXX object gtsam/CMakeFiles/gtsam.dir/discrete/TableFactor.cpp.o
[ 48%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridBayesNet.cpp.o
[ 48%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridBayesTree.cpp.o
[ 51%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridConditional.cpp.o
[ 51%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridEliminationTree.cpp.o
[ 51%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridFactor.cpp.o
[ 51%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridFactorGraph.cpp.o
[ 51%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridGaussianConditional.cpp.o
[ 51%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridGaussianFactor.cpp.o
[ 51%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridGaussianFactorGraph.cpp.o
[ 51%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridGaussianISAM.cpp.o
[ 51%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridGaussianProductFactor.cpp.o
[ 51%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridJunctionTree.cpp.o
[ 51%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridNonlinearFactor.cpp.o
[ 53%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridNonlinearFactorGraph.cpp.o
[ 53%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridNonlinearISAM.cpp.o
[ 53%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridSmoother.cpp.o
[ 53%] Building CXX object gtsam/CMakeFiles/gtsam.dir/hybrid/HybridValues.cpp.o
[ 53%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/ConjugateGradientSolver.cpp.o
[ 53%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/Errors.cpp.o
[ 53%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/GaussianBayesNet.cpp.o
[ 53%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/GaussianBayesTree.cpp.o
[ 53%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/GaussianConditional.cpp.o
[ 53%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/GaussianDensity.cpp.o
[ 53%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/GaussianEliminationTree.cpp.o
[ 53%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/GaussianFactor.cpp.o
[ 56%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/GaussianFactorGraph.cpp.o
[ 56%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/GaussianISAM.cpp.o
[ 56%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/GaussianJunctionTree.cpp.o
[ 56%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/HessianFactor.cpp.o
[ 56%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/IterativeSolver.cpp.o
[ 56%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/JacobianFactor.cpp.o
[ 56%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/KalmanFilter.cpp.o
[ 56%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/LossFunctions.cpp.o
[ 56%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/NoiseModel.cpp.o
[ 56%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/PCGSolver.cpp.o
[ 56%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/Preconditioner.cpp.o
[ 58%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/Sampler.cpp.o
[ 58%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/Scatter.cpp.o
[ 58%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/SubgraphBuilder.cpp.o
[ 58%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/SubgraphPreconditioner.cpp.o
[ 58%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/SubgraphSolver.cpp.o
[ 58%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/VectorValues.cpp.o
[ 58%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/iterative.cpp.o
[ 58%] Building CXX object gtsam/CMakeFiles/gtsam.dir/linear/linearExceptions.cpp.o
[ 58%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/BatchFixedLagSmoother.cpp.o
[ 58%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/CustomFactor.cpp.o
[ 58%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/DoglegOptimizer.cpp.o
[ 58%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/DoglegOptimizerImpl.cpp.o
[ 60%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/FixedLagSmoother.cpp.o
[ 60%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/GaussNewtonOptimizer.cpp.o
[ 60%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/GraphvizFormatting.cpp.o
[ 60%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/ISAM2-impl.cpp.o
[ 60%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/ISAM2.cpp.o
[ 60%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/ISAM2Clique.cpp.o
[ 60%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/ISAM2Params.cpp.o
[ 60%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/LevenbergMarquardtOptimizer.cpp.o
[ 60%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/LevenbergMarquardtParams.cpp.o
[ 60%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/LinearContainerFactor.cpp.o
[ 60%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/Marginals.cpp.o
[ 63%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/NonlinearConjugateGradientOptimizer.cpp.o
[ 63%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/NonlinearFactor.cpp.o
[ 63%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/NonlinearFactorGraph.cpp.o
[ 63%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/NonlinearISAM.cpp.o
[ 63%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/NonlinearOptimizer.cpp.o
[ 63%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/NonlinearOptimizerParams.cpp.o
[ 63%] Building CXX object gtsam/CMakeFiles/gtsam.dir/nonlinear/Values.cpp.o
[ 63%] Building CXX object gtsam/CMakeFiles/gtsam.dir/sfm/DsfTrackGenerator.cpp.o
[ 63%] Building CXX object gtsam/CMakeFiles/gtsam.dir/sfm/MFAS.cpp.o
[ 63%] Building CXX object gtsam/CMakeFiles/gtsam.dir/sfm/SfmData.cpp.o
[ 63%] Building CXX object gtsam/CMakeFiles/gtsam.dir/sfm/SfmTrack.cpp.o
[ 63%] Building CXX object gtsam/CMakeFiles/gtsam.dir/sfm/ShonanAveraging.cpp.o
[ 65%] Building CXX object gtsam/CMakeFiles/gtsam.dir/sfm/ShonanFactor.cpp.o
[ 65%] Building CXX object gtsam/CMakeFiles/gtsam.dir/sfm/TranslationRecovery.cpp.o
[ 65%] Building CXX object gtsam/CMakeFiles/gtsam.dir/slam/EssentialMatrixConstraint.cpp.o
[ 65%] Building CXX object gtsam/CMakeFiles/gtsam.dir/slam/FrobeniusFactor.cpp.o
[ 65%] Building CXX object gtsam/CMakeFiles/gtsam.dir/slam/InitializePose3.cpp.o
[ 65%] Building CXX object gtsam/CMakeFiles/gtsam.dir/slam/OrientedPlane3Factor.cpp.o
[ 65%] Building CXX object gtsam/CMakeFiles/gtsam.dir/slam/dataset.cpp.o
[ 65%] Building CXX object gtsam/CMakeFiles/gtsam.dir/slam/lago.cpp.o
[ 65%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/AHRSFactor.cpp.o
[ 65%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/AttitudeFactor.cpp.o
[ 65%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/BarometricFactor.cpp.o
[ 68%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/CombinedImuFactor.cpp.o
[ 68%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/GPSFactor.cpp.o
[ 68%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/ImuBias.cpp.o
[ 68%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/ImuFactor.cpp.o
[ 68%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/ManifoldPreintegration.cpp.o
[ 68%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/NavState.cpp.o
[ 68%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/PreintegratedRotation.cpp.o
[ 68%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/PreintegrationBase.cpp.o
[ 68%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/PreintegrationParams.cpp.o
[ 68%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/ScenarioRunner.cpp.o
[ 68%] Building CXX object gtsam/CMakeFiles/gtsam.dir/navigation/TangentPreintegration.cpp.o
[ 68%] Linking CXX shared library libgtsam.so
[ 68%] Built target gtsam
[ 68%] Building CXX object examples/CMakeFiles/CameraResectioning.dir/CameraResectioning.cpp.o
[ 68%] Linking CXX executable CameraResectioning
[ 68%] Built target CameraResectioning
[ 68%] Building CXX object examples/CMakeFiles/CombinedImuFactorsExample.dir/CombinedImuFactorsExample.cpp.o
In file included from /mnt/c/Users/juan.lopera/gtsam/gtsam/base/Testable.h:36,
                 from /mnt/c/Users/juan.lopera/gtsam/gtsam/inference/Symbol.h:21,
                 from /mnt/c/Users/juan.lopera/gtsam/examples/CombinedImuFactorsExample.cpp:39:
/mnt/c/Users/juan.lopera/gtsam/gtsam/base/concepts.h:20: error: "BOOST_CONCEPT_USAGE" redefined [-Werror]
   20 | #define BOOST_CONCEPT_USAGE(concept) void check##concept()
      | 
In file included from /usr/include/boost/concept_check.hpp:31,
                 from /usr/include/boost/range/concepts.hpp:19,
                 from /usr/include/boost/range/size_type.hpp:20,
                 from /usr/include/boost/range/size.hpp:21,
                 from /usr/include/boost/range/functions.hpp:20,
                 from /usr/include/boost/range/iterator_range_core.hpp:38,
                 from /usr/include/boost/lexical_cast.hpp:48,
                 from /usr/include/boost/program_options/value_semantic.hpp:14,
                 from /usr/include/boost/program_options/options_description.hpp:13,
                 from /usr/include/boost/program_options.hpp:15,
                 from /mnt/c/Users/juan.lopera/gtsam/examples/CombinedImuFactorsExample.cpp:36:
/usr/include/boost/concept/usage.hpp:35: note: this is the location of the previous definition
   35 | #   define BOOST_CONCEPT_USAGE(model)                                    \
      | 
cc1plus: all warnings being treated as errors
make[2]: *** [examples/CMakeFiles/CombinedImuFactorsExample.dir/build.make:76: examples/CMakeFiles/CombinedImuFactorsExample.dir/CombinedImuFactorsExample.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:23462: examples/CMakeFiles/CombinedImuFactorsExample.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

The previous issue #1981 was closed so I'm assuming that the build did succeed after merging the changes.

@ArkadiuszNiemiec
Copy link

Faced the same issue. From what I understand the GTSAM_USE_BOOST_FEATURES identifier/macro check in:

#if GTSAM_USE_BOOST_FEATURES
#include <boost/concept_check.hpp>
#include <boost/concept/assert.hpp>
#include <boost/concept/requires.hpp>
#include <boost/concept_check.hpp>
#define GTSAM_CONCEPT_ASSERT(concept) BOOST_CONCEPT_ASSERT((concept))
#define GTSAM_CONCEPT_REQUIRES(concept, return_type) BOOST_CONCEPT_REQUIRES(((concept)), (return_type))
#else
// This does something sensible:
#define BOOST_CONCEPT_USAGE(concept) void check##concept()
// These just ignore the concept checking for now:
#define GTSAM_CONCEPT_ASSERT(concept) static_assert(true, "")
#define GTSAM_CONCEPT_REQUIRES(concept, return_type) return_type
#endif

...will always fail as it's never set in CMakeLists.txt.

The #1995 includes a potential fix, please test it.

@juanlm-verus
Copy link
Author

Hi Arkadiusz,

Thanks for the potential fix. It does seem to fix the initial error I reported as the build then proceeds passed the point at which it failed for me. However, I then seem to run into a new issue:


[ 92%] Linking CXX executable VisualISAM2Example
[ 92%] Built target VisualISAM2Example
[ 92%] Linking CXX executable SolverComparer
[ 92%] Built target SolverComparer
In file included from /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/util/ConfigureVectorization.h:346,
                 from /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/Core:22,
                 from /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/Dense:1,
                 from /mnt/c/Users/juan.lopera/gtsam/gtsam/base/OptionalJacobian.h:24,
                 from /mnt/c/Users/juan.lopera/gtsam/gtsam/base/Matrix.h:27,
                 from /mnt/c/Users/juan.lopera/gtsam/gtsam_unstable/linear/QPSParser.cpp:20:
In function ‘void _mm_store_pd(double*, __m128d)’,
    inlined from ‘void Eigen::internal::pstore(Scalar*, const Packet&) [with Scalar = double; Packet = __vector(2) double]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/arch/SSE/PacketMath.h:790:126,
    inlined from ‘void Eigen::internal::pstoret(Scalar*, const Packet&) [with Scalar = double; Packet = __vector(2) double; int Alignment = 16]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/GenericPacketMath.h:978:11,
    inlined from ‘void Eigen::internal::assign_op<DstScalar, SrcScalar>::assignPacket(DstScalar*, const Packet&) const [with int Alignment = 16; Packet = __vector(2) double; DstScalar = double; SrcScalar = double]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/functors/AssignmentFunctors.h:28:50,
    inlined from ‘void Eigen::internal::generic_dense_assignment_kernel<DstEvaluatorTypeT, SrcEvaluatorTypeT, Functor, Version>::assignPacket(Eigen::Index, Eigen::Index) [with int StoreMode = 16; int LoadMode = 0; PacketType = __vector(2) double; DstEvaluatorTypeT = Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >; SrcEvaluatorTypeT = Eigen::internal::evaluator<Eigen::Matrix<double, -1, -1> >; Functor = Eigen::internal::assign_op<double, double>; int Version = 0]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/AssignEvaluator.h:675:47,
    inlined from ‘void Eigen::internal::generic_dense_assignment_kernel<DstEvaluatorTypeT, SrcEvaluatorTypeT, Functor, Version>::assignPacketByOuterInner(Eigen::Index, Eigen::Index) [with int StoreMode = 16; int LoadMode = 0; PacketType = __vector(2) double; DstEvaluatorTypeT = Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >; SrcEvaluatorTypeT = Eigen::internal::evaluator<Eigen::Matrix<double, -1, -1> >; Functor = Eigen::internal::assign_op<double, double>; int Version = 0]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/AssignEvaluator.h:689:48,
    inlined from ‘static void Eigen::internal::dense_assignment_loop<Kernel, 4, 0>::run(Kernel&) [with Kernel = Eigen::internal::generic_dense_assignment_kernel<Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >, Eigen::internal::evaluator<Eigen::Matrix<double, -1, -1> >, Eigen::internal::assign_op<double, double>, 0>]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/AssignEvaluator.h:572:86,
    inlined from ‘void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; SrcXprType = Eigen::Matrix<double, -1, -1>; Functor = assign_op<double, double>]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/AssignEvaluator.h:785:37,
    inlined from ‘static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; SrcXprType = Eigen::Matrix<double, -1, -1>; Functor = Eigen::internal::assign_op<double, double>; Weak = void]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/AssignEvaluator.h:954:31,
    inlined from ‘void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; Src = Eigen::Matrix<double, -1, -1>; Func = assign_op<double, double>]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/AssignEvaluator.h:890:49,
    inlined from ‘void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; Src = Eigen::Matrix<double, -1, -1>; Func = assign_op<double, double>]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/AssignEvaluator.h:858:27,
    inlined from ‘void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; Src = Eigen::Matrix<double, -1, -1>]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/AssignEvaluator.h:836:18,
    inlined from ‘Derived& Eigen::MatrixBase<Derived>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Matrix<double, -1, -1>; Derived = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/Assign.h:66:28,
    inlined from ‘void gtsam::JacobianFactor::fillTerms(const TERMS&, const gtsam::Vector&, const gtsam::SharedDiagonal&) [with TERMS = std::map<long unsigned int, Eigen::Matrix<double, 1, 1, 0, 1, 1> >]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/linear/JacobianFactor-inl.h:94:14:
/usr/lib/gcc/x86_64-linux-gnu/13/include/emmintrin.h:169:19: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading 16 or more bytes from a region of size 8 [-Werror=stringop-overread]
  169 |   *(__m128d *)__P = __A;
      |   ~~~~~~~~~~~~~~~~^~~~~
In file included from /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/Core:166:
In function ‘void* Eigen::internal::aligned_malloc(std::size_t)’,
    inlined from ‘void* Eigen::internal::conditional_aligned_malloc(std::size_t) [with bool Align = true]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/util/Memory.h:241:24,
    inlined from ‘T* Eigen::internal::conditional_aligned_new_auto(std::size_t) [with T = double; bool Align = true]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/util/Memory.h:404:69,
    inlined from ‘void Eigen::DenseStorage<T, -1, -1, -1, _Options>::resize(Eigen::Index, Eigen::Index, Eigen::Index) [with T = double; int _Options = 0]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/DenseStorage.h:486:85,
    inlined from ‘void Eigen::PlainObjectBase<Derived>::resize(Eigen::Index, Eigen::Index) [with Derived = Eigen::Matrix<double, -1, -1>]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/PlainObjectBase.h:285:25,
    inlined from ‘void Eigen::internal::resize_if_allowed(DstXprType&, const SrcXprType&, const assign_op<T1, T2>&) [with DstXprType = Eigen::Matrix<double, -1, -1>; SrcXprType = Eigen::Matrix<double, 1, 1, 0, 1, 1>; T1 = double; T2 = double]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/AssignEvaluator.h:764:15,
    inlined from ‘void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Matrix<double, -1, -1>; SrcXprType = Eigen::Matrix<double, 1, 1, 0, 1, 1>; Functor = assign_op<double, double>]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/AssignEvaluator.h:778:20,
    inlined from ‘static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Matrix<double, -1, -1>; SrcXprType = Eigen::Matrix<double, 1, 1, 0, 1, 1>; Functor = Eigen::internal::assign_op<double, double>; Weak = void]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/AssignEvaluator.h:954:31,
    inlined from ‘void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Matrix<double, -1, -1>; Src = Eigen::Matrix<double, 1, 1, 0, 1, 1>; Func = assign_op<double, double>]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/AssignEvaluator.h:890:49,
    inlined from ‘Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Matrix<double, 1, 1, 0, 1, 1>; Derived = Eigen::Matrix<double, -1, -1>]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/PlainObjectBase.h:797:41,
    inlined from ‘void Eigen::PlainObjectBase<Derived>::_init1(const Eigen::DenseBase<ElseDerived>&) [with T = Eigen::Matrix<double, 1, 1, 0, 1, 1>; OtherDerived = Eigen::Matrix<double, 1, 1, 0, 1, 1>; Derived = Eigen::Matrix<double, -1, -1>]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/PlainObjectBase.h:883:25,
    inlined from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = Eigen::Matrix<double, 1, 1, 0, 1, 1>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/Matrix.h:332:31,
    inlined from ‘constexpr std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&) [with _U1 = const long unsigned int; _U2 = Eigen::Matrix<double, 1, 1, 0, 1, 1>; typename std::enable_if<(std::_PCC<((! std::is_same<_T1, _U1>::value) || (! std::is_same<_T2, _U2>::value)), _T1, _T2>::_ConstructiblePair<_U1, _U2>() && std::_PCC<((! std::is_same<_T1, _U1>::value) || (! std::is_same<_T2, _U2>::value)), _T1, _T2>::_ImplicitlyConvertiblePair<_U1, _U2>()), bool>::type <anonymous> = true; _T1 = long unsigned int; _T2 = Eigen::Matrix<double, -1, -1>]’ at /usr/include/c++/13/bits/stl_pair.h:586:22,
    inlined from ‘void gtsam::JacobianFactor::fillTerms(const TERMS&, const gtsam::Vector&, const gtsam::SharedDiagonal&) [with TERMS = std::map<long unsigned int, Eigen::Matrix<double, 1, 1, 0, 1, 1> >]’ at /mnt/c/Users/juan.lopera/gtsam/gtsam/linear/JacobianFactor-inl.h:84:37:
/mnt/c/Users/juan.lopera/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/util/Memory.h:182:20: note: source object of size 8 allocated by ‘malloc’
  182 |     result = malloc(size);
      |              ~~~~~~^~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [gtsam_unstable/CMakeFiles/gtsam_unstable.dir/build.make:188: gtsam_unstable/CMakeFiles/gtsam_unstable.dir/linear/QPSParser.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:28025: gtsam_unstable/CMakeFiles/gtsam_unstable.dir/all] Error 2
make: *** [Makefile:166: all] Error 2


Perhaps the -Werror=stringop-overread should also be ignored in other locations as it is in testFourier.cpp after the fixes in #1978

Are you also running into this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants