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

error: ‘library_version_type’ in namespace ‘boost::serialization’ does not name a type #896

Closed
shaoxh opened this issue Oct 19, 2021 · 2 comments
Labels
invalid Not a valid issue

Comments

@shaoxh
Copy link

shaoxh commented Oct 19, 2021

Description

I am using the tag 4.0.3 repo, this error occurs when make. It also occurs in release 4.0.0.
I am confused if the #732 has fixed this error, why it's still there in release 4.0.0 and 4.0.3?

godu@godu-Precision-7820-Tower:~/gtsam/build$ git log
commit 6425000 (HEAD, tag: 4.0.3, origin/release/4.0.3)

Steps to reproduce

  1. cmake -DGTSAM_INSTALL_MATLAB_TOOLBOX=ON -DEXAMPLES_BUILD_MATLAB_TOOLBOX:OPTION=ON -DGTSAM_TOOLBOX_INSTALL_PATH:PATH=$HOME/toolbox -DGTSAM_BUILD_UNSTABLE=OFF -DCMAKE_BUILD_TYPE=Release -DGTSAM_BUILD_UNSTABLE:OPTION=OFF ..
  2. make -j 16

Expected behavior

make successfully.

Environment

cmake version 3.14.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).

ubuntu 18.04

c++ 14

Additional information

godu@godu-Precision-7820-Tower:/gtsam/build$ sudo rm -rf ./*
godu@godu-Precision-7820-Tower:
/gtsam/build$ cmake -DGTSAM_INSTALL_MATLAB_TOOLBOX=ON -DEXAMPLES_BUILD_MATLAB_TOOLBOX:OPTION=ON -DGTSAM_TOOLBOX_INSTALL_PATH:PATH=$HOME/toolbox -DGTSAM_BUILD_UNSTABLE=OFF -DCMAKE_BUILD_TYPE=Release -DGTSAM_BUILD_UNSTABLE:OPTION=OFF ..
-- The CXX compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- GTSAM_SOURCE_ROOT_DIR: [/home/godu/gtsam]
-- Found Boost: /usr/local/lib/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.43") found components: serialization system filesystem thread program_options date_time timer chrono regex
-- Found TBB: /usr/include (found suitable version "2017.0", minimum required is "4.4") found components: tbb tbbmalloc
-- 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")
-- Found Eigen version: 3.3.7
-- Building 3rdparty
-- 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 GeographicLib (missing: GeographicLib_LIBRARY_DIRS GeographicLib_LIBRARIES GeographicLib_INCLUDE_DIRS)
-- Building base
-- Building geometry
-- Building inference
-- Building symbolic
-- Building discrete
-- Building linear
-- Building nonlinear
-- Building sam
-- Building sfm
-- Building slam
-- Building smart
-- Building navigation
-- GTSAM Version: 4.0.3
-- Install prefix: /usr/local
-- Building GTSAM - shared: ON
-- Building wrap module gtsam
-- Installing Matlab Toolbox to /home/godu/toolbox
-- Wrote /home/godu/gtsam/build/GTSAMConfig.cmake
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- ===============================================================
-- ================ Configuration Options ======================
-- CMAKE_CXX_COMPILER_ID type : GNU
-- CMAKE_CXX_COMPILER_VERSION : 7.5.0
-- CMake version : 3.14.3
-- CMake generator : Unix Makefiles
-- CMake build tool : /usr/bin/make
-- 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 : Disabled
-- Build for native architecture : Enabled
-- Build type : Release
-- C compilation flags : -O3 -DNDEBUG
-- C++ compilation flags : -Wno-misleading-indentation -O3 -DNDEBUG
-- GTSAM_COMPILE_FEATURES_PUBLIC : cxx_std_11
-- GTSAM_COMPILE_OPTIONS_PRIVATE : -Wall;-fPIC;$<$CONFIG:Debug:-g;-fno-inline>;$<$CONFIG:Release:-O3>;$<$CONFIG:Timing:-g;-O3>;$<$CONFIG:Profiling:-O3>;$<$CONFIG:RelWithDebInfo:-g;-O3>;-Wno-unused-local-typedefs
-- GTSAM_COMPILE_OPTIONS_PUBLIC : -march=native
-- GTSAM_COMPILE_DEFINITIONS_PRIVATE : $<$CONFIG:Debug:_DEBUG;EIGEN_INITIALIZE_MATRICES_BY_NAN>;$<$CONFIG:Release:NDEBUG>;$<$CONFIG:Timing:NDEBUG;ENABLE_TIMING>;$<$CONFIG:Profiling:NDEBUG>;$<$CONFIG:RelWithDebInfo:NDEBUG>
-- GTSAM_COMPILE_DEFINITIONS_PUBLIC :
-- GTSAM_COMPILE_OPTIONS_PRIVATE_DEBUG : -g;-fno-inline
-- GTSAM_COMPILE_OPTIONS_PUBLIC_DEBUG :
-- GTSAM_COMPILE_DEFINITIONS_PRIVATE_DEBUG : _DEBUG;EIGEN_INITIALIZE_MATRICES_BY_NAN
-- GTSAM_COMPILE_DEFINITIONS_PUBLIC_DEBUG :
-- GTSAM_COMPILE_OPTIONS_PRIVATE_RELEASE : -O3
-- GTSAM_COMPILE_OPTIONS_PUBLIC_RELEASE :
-- GTSAM_COMPILE_DEFINITIONS_PRIVATE_RELEASE : NDEBUG
-- GTSAM_COMPILE_DEFINITIONS_PUBLIC_RELEASE :
-- GTSAM_COMPILE_OPTIONS_PRIVATE_TIMING : -g;-O3
-- GTSAM_COMPILE_OPTIONS_PUBLIC_TIMING :
-- GTSAM_COMPILE_DEFINITIONS_PRIVATE_TIMING : NDEBUG;ENABLE_TIMING
-- GTSAM_COMPILE_DEFINITIONS_PUBLIC_TIMING :
-- GTSAM_COMPILE_OPTIONS_PRIVATE_PROFILING : -O3
-- GTSAM_COMPILE_OPTIONS_PUBLIC_PROFILING :
-- GTSAM_COMPILE_DEFINITIONS_PRIVATE_PROFILING : NDEBUG
-- GTSAM_COMPILE_DEFINITIONS_PUBLIC_PROFILING :
-- GTSAM_COMPILE_OPTIONS_PRIVATE_RELWITHDEBINFO : -g;-O3
-- GTSAM_COMPILE_OPTIONS_PUBLIC_RELWITHDEBINFO :
-- GTSAM_COMPILE_DEFINITIONS_PRIVATE_RELWITHDEBINFO : NDEBUG
-- GTSAM_COMPILE_DEFINITIONS_PUBLIC_RELWITHDEBINFO :
-- GTSAM_COMPILE_OPTIONS_PRIVATE_MINSIZEREL :
-- GTSAM_COMPILE_OPTIONS_PUBLIC_MINSIZEREL :
-- GTSAM_COMPILE_DEFINITIONS_PRIVATE_MINSIZEREL :
-- GTSAM_COMPILE_DEFINITIONS_PUBLIC_MINSIZEREL :
-- Use System Eigen : OFF (Using version: 3.3.7)
-- Use Intel TBB : Yes
-- 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 : No
-- Packaging flags
-- CPack Source Generator : TGZ
-- CPack Generator : TGZ
-- GTSAM flags
-- Quaternions as default Rot3 : Disabled
-- Runtime consistency checking : Disabled
-- Rot3 retract is full ExpMap : Enabled
-- Pose3 retract is full ExpMap : Enabled
-- Deprecated in GTSAM 4 allowed : Enabled
-- Point3 is typedef to Vector3 : Disabled
-- Metis-based Nested Dissection : Enabled
-- Use tangent-space preintegration: Enabled
-- Build Wrap : Enabled
-- MATLAB toolbox flags
-- Install MATLAB toolbox : Enabled
-- MATLAB root : /home/godu/Documents/MATLAB/R2021b
-- MEX binary : /home/godu/Documents/MATLAB/R2021b/bin/mex
-- Cython toolbox flags
-- Install Cython toolbox : Disabled
-- ===============================================================
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

EXAMPLES_BUILD_MATLAB_TOOLBOX

-- Build files have been written to: /home/godu/gtsam/build
godu@godu-Precision-7820-Tower:~/gtsam/build$ make -j 16
Scanning dependencies of target CppUnitLite
Scanning dependencies of target wrap_lib
Scanning dependencies of target metis-gtsam
[ 0%] Building CXX object CppUnitLite/CMakeFiles/CppUnitLite.dir/TestResult.cpp.o
[ 0%] Building CXX object CppUnitLite/CMakeFiles/CppUnitLite.dir/Test.cpp.o
[ 0%] Building CXX object CppUnitLite/CMakeFiles/CppUnitLite.dir/TestRegistry.cpp.o
[ 0%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/Argument.cpp.o
[ 0%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/Constructor.cpp.o
[ 0%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/Class.cpp.o
[ 2%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/Deconstructor.cpp.o
[ 2%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/FileWriter.cpp.o
[ 2%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/FullyOverloadedFunction.cpp.o
[ 2%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/Function.cpp.o
[ 2%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/Module.cpp.o
[ 2%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/GlobalFunction.cpp.o
[ 2%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/Method.cpp.o
[ 2%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/MethodBase.cpp.o
[ 2%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/Qualified.cpp.o
[ 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
[ 4%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/ReturnType.cpp.o
[ 4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/
/GKlib/error.c.o
[ 4%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/ReturnValue.cpp.o
[ 4%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir//GKlib/evaluate.c.o
[ 4%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/StaticMethod.cpp.o
[ 4%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/TemplateInstantiationTypedef.cpp.o
[ 7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/
/GKlib/fkvkselect.c.o
[ 7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir//GKlib/fs.c.o
[ 7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/
/GKlib/getopt.c.o
[ 7%] Linking CXX static library libCppUnitLite.a
[ 7%] Built target CppUnitLite
[ 7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir//GKlib/gkregex.c.o
[ 7%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/TemplateMethod.cpp.o
[ 7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/
/GKlib/graph.c.o
[ 7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir//GKlib/htable.c.o
[ 7%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/
/GKlib/io.c.o
[ 7%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/TypeAttributesTable.cpp.o
[ 9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir//GKlib/itemsets.c.o
[ 9%] Building CXX object wrap/CMakeFiles/wrap_lib.dir/utilities.cpp.o
[ 9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/
/GKlib/mcore.c.o
[ 9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir//GKlib/memory.c.o
[ 9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/
/GKlib/omp.c.o
[ 9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir//GKlib/pdb.c.o
[ 9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/
/GKlib/pqueue.c.o
[ 9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir//GKlib/random.c.o
[ 9%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/
/GKlib/rw.c.o
[ 11%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir//GKlib/seq.c.o
[ 11%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/
/GKlib/sort.c.o
[ 11%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir//GKlib/string.c.o
[ 11%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/
/GKlib/timers.c.o
[ 11%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir//GKlib/tokenizer.c.o
[ 11%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/
/GKlib/util.c.o
[ 11%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/auxapi.c.o
[ 14%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/balance.c.o
[ 14%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/bucketsort.c.o
[ 14%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/checkgraph.c.o
[ 14%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/coarsen.c.o
[ 14%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/compress.c.o
[ 14%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/contig.c.o
[ 14%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/debug.c.o
[ 14%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/fm.c.o
[ 16%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/fortran.c.o
[ 16%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/frename.c.o
[ 16%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/gklib.c.o
[ 16%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/graph.c.o
[ 16%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/initpart.c.o
[ 16%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/kmetis.c.o
[ 16%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/kwayfm.c.o
[ 19%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/kwayrefine.c.o
[ 19%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/mcutil.c.o
[ 19%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/mesh.c.o
[ 19%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/meshpart.c.o
[ 19%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/minconn.c.o
[ 19%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/mincover.c.o
[ 19%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/mmd.c.o
[ 19%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/ometis.c.o
[ 21%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/options.c.o
[ 21%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/parmetis.c.o
[ 21%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/pmetis.c.o
[ 21%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/refine.c.o
[ 21%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/separator.c.o
[ 21%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/sfm.c.o
[ 21%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/srefine.c.o
[ 21%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/stat.c.o
[ 23%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/timing.c.o
[ 23%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/util.c.o
[ 23%] Building C object gtsam/3rdparty/metis/libmetis/CMakeFiles/metis-gtsam.dir/wspace.c.o
[ 23%] Linking C shared library libmetis-gtsam.so
[ 23%] Built target metis-gtsam
Scanning dependencies of target gtsam
[ 23%] Building C object gtsam/CMakeFiles/gtsam.dir/3rdparty/CCOLAMD/Source/ccolamd.c.o
[ 23%] Building C object gtsam/CMakeFiles/gtsam.dir/3rdparty/SuiteSparse_config/SuiteSparse_config.c.o
[ 26%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/Matrix.cpp.o
[ 23%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/DSFVector.cpp.o
[ 26%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/debug.cpp.o
[ 26%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/types.cpp.o
[ 26%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/VerticalBlockMatrix.cpp.o
[ 26%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/Vector.cpp.o
[ 26%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/SymmetricBlockMatrix.cpp.o
[ 26%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3DS2.cpp.o
[ 26%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/cholesky.cpp.o
[ 26%] Building CXX object gtsam/CMakeFiles/gtsam.dir/base/timing.cpp.o
[ 28%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3Bundler.cpp.o
[ 28%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3DS2_Base.cpp.o
[ 28%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3Fisheye.cpp.o
[ 28%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3Unified.cpp.o
[ 28%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3_S2.cpp.o
[ 28%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cal3_S2Stereo.cpp.o
[ 30%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/CalibratedCamera.cpp.o
[ 30%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Cyclic.cpp.o
[ 30%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/EssentialMatrix.cpp.o
[ 30%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Line3.cpp.o
[ 30%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/OrientedPlane3.cpp.o
[ 30%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Point2.cpp.o
[ 30%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Point3.cpp.o
[ 30%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Pose2.cpp.o
[ 33%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Pose3.cpp.o
[ 33%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Rot2.cpp.o
[ 33%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Rot3.cpp.o
[ 33%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Rot3M.cpp.o
[ 35%] Linking CXX static library libwrap_lib.a
[ 35%] Built target wrap_lib
[ 35%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/SO3.cpp.o
Scanning dependencies of target wrap
[ 35%] Building CXX object wrap/CMakeFiles/wrap.dir/wrap.cpp.o
[ 35%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/SO4.cpp.o
[ 35%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/SOn.cpp.o
[ 38%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/SimpleCamera.cpp.o
[ 38%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/StereoCamera.cpp.o
[ 38%] Linking CXX executable wrap
[ 38%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/StereoPoint2.cpp.o
[ 38%] Built target wrap
[ 38%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/Unit3.cpp.o
[ 38%] Building CXX object gtsam/CMakeFiles/gtsam.dir/geometry/triangulation.cpp.o
[ 38%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/BayesTree.cpp.o
[ 38%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/Factor.cpp.o
[ 38%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/Key.cpp.o
In file included from /home/godu/gtsam/gtsam/base/FastList.h:25:0,
from /home/godu/gtsam/gtsam/inference/Key.h:20,
from /home/godu/gtsam/gtsam/inference/BayesTree.h:22,
from /home/godu/gtsam/gtsam/inference/BayesTree.cpp:21:
/usr/local/include/boost/serialization/list.hpp: In function ‘void boost::serialization::load(Archive&, std::__cxx11::list<U, Allocator>&, unsigned int)’:
/usr/local/include/boost/serialization/list.hpp:53:33: error: ‘library_version_type’ in namespace ‘boost::serialization’ does not name a type
const boost::serialization::library_version_type library_version(
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/serialization/list.hpp:60:30: error: ‘library_version_type’ is not a member of ‘boost::serialization’
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/serialization/list.hpp:60:30: note: suggested alternative: ‘item_version_type’
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~~~~~~
item_version_type
/usr/local/include/boost/serialization/list.hpp:60:56: error: ‘library_version’ was not declared in this scope
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~
/usr/local/include/boost/serialization/list.hpp:60:56: note: suggested alternative: ‘item_version’
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~
item_version
[ 40%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/LabeledSymbol.cpp.o
gtsam/CMakeFiles/gtsam.dir/build.make:556: recipe for target 'gtsam/CMakeFiles/gtsam.dir/inference/BayesTree.cpp.o' failed
make[2]: *** [gtsam/CMakeFiles/gtsam.dir/inference/BayesTree.cpp.o] Error 1
make[2]: *** 正在等待未完成的任务....
In file included from /home/godu/gtsam/gtsam/base/FastList.h:25:0,
from /home/godu/gtsam/gtsam/inference/Key.h:20,
from /home/godu/gtsam/gtsam/inference/Factor.h:28,
from /home/godu/gtsam/gtsam/inference/Factor.cpp:24:
/usr/local/include/boost/serialization/list.hpp: In function ‘void boost::serialization::load(Archive&, std::__cxx11::list<U, Allocator>&, unsigned int)’:
/usr/local/include/boost/serialization/list.hpp:53:33: error: ‘library_version_type’ in namespace ‘boost::serialization’ does not name a type
const boost::serialization::library_version_type library_version(
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/serialization/list.hpp:60:30: error: ‘library_version_type’ is not a member of ‘boost::serialization’
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/serialization/list.hpp:60:30: note: suggested alternative: ‘item_version_type’
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~~~~~~
item_version_type
/usr/local/include/boost/serialization/list.hpp:60:56: error: ‘library_version’ was not declared in this scope
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~
/usr/local/include/boost/serialization/list.hpp:60:56: note: suggested alternative: ‘item_version’
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~
item_version
In file included from /home/godu/gtsam/gtsam/base/FastList.h:25:0,
from /home/godu/gtsam/gtsam/inference/Key.h:20,
from /home/godu/gtsam/gtsam/inference/Key.cpp:20:
/usr/local/include/boost/serialization/list.hpp: In function ‘void boost::serialization::load(Archive&, std::__cxx11::list<U, Allocator>&, unsigned int)’:
/usr/local/include/boost/serialization/list.hpp:53:33: error: ‘library_version_type’ in namespace ‘boost::serialization’ does not name a type
const boost::serialization::library_version_type library_version(
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/serialization/list.hpp:60:30: error: ‘library_version_type’ is not a member of ‘boost::serialization’
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/serialization/list.hpp:60:30: note: suggested alternative: ‘item_version_type’
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~~~~~~
item_version_type
/usr/local/include/boost/serialization/list.hpp:60:56: error: ‘library_version’ was not declared in this scope
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~
/usr/local/include/boost/serialization/list.hpp:60:56: note: suggested alternative: ‘item_version’
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~
item_version
gtsam/CMakeFiles/gtsam.dir/build.make:569: recipe for target 'gtsam/CMakeFiles/gtsam.dir/inference/Factor.cpp.o' failed
make[2]: *** [gtsam/CMakeFiles/gtsam.dir/inference/Factor.cpp.o] Error 1
gtsam/CMakeFiles/gtsam.dir/build.make:582: recipe for target 'gtsam/CMakeFiles/gtsam.dir/inference/Key.cpp.o' failed
make[2]: *** [gtsam/CMakeFiles/gtsam.dir/inference/Key.cpp.o] Error 1
In file included from /home/godu/gtsam/gtsam/inference/LabeledSymbol.cpp:21:0:
/usr/local/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
)
^
In file included from /home/godu/gtsam/gtsam/base/FastList.h:25:0,
from /home/godu/gtsam/gtsam/inference/Key.h:20,
from /home/godu/gtsam/gtsam/inference/Symbol.h:21,
from /home/godu/gtsam/gtsam/inference/LabeledSymbol.h:22,
from /home/godu/gtsam/gtsam/inference/LabeledSymbol.cpp:25:
/usr/local/include/boost/serialization/list.hpp: In function ‘void boost::serialization::load(Archive&, std::__cxx11::list<U, Allocator>&, unsigned int)’:
/usr/local/include/boost/serialization/list.hpp:53:33: error: ‘library_version_type’ in namespace ‘boost::serialization’ does not name a type
const boost::serialization::library_version_type library_version(
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/serialization/list.hpp:60:30: error: ‘library_version_type’ is not a member of ‘boost::serialization’
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/serialization/list.hpp:60:30: note: suggested alternative: ‘item_version_type’
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~~~~~~
item_version_type
/usr/local/include/boost/serialization/list.hpp:60:56: error: ‘library_version’ was not declared in this scope
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~
/usr/local/include/boost/serialization/list.hpp:60:56: note: suggested alternative: ‘item_version’
if(boost::serialization::library_version_type(3) < library_version){
^~~~~~~~~~~~~~~
item_version
gtsam/CMakeFiles/gtsam.dir/build.make:595: recipe for target 'gtsam/CMakeFiles/gtsam.dir/inference/LabeledSymbol.cpp.o' failed
make[2]: *** [gtsam/CMakeFiles/gtsam.dir/inference/LabeledSymbol.cpp.o] Error 1
In file included from /home/godu/gtsam/gtsam/nonlinear/Values.h:37:0,
from /home/godu/gtsam/gtsam/nonlinear/NonlinearFactor.h:23,
from /home/godu/gtsam/gtsam/slam/TriangulationFactor.h:18,
from /home/godu/gtsam/gtsam/geometry/triangulation.h:24,
from /home/godu/gtsam/gtsam/geometry/triangulation.cpp:19:
/usr/local/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
)
^
CMakeFiles/Makefile2:2104: recipe for target 'gtsam/CMakeFiles/gtsam.dir/all' failed
make[1]: *** [gtsam/CMakeFiles/gtsam.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

@ProfFan
Copy link
Collaborator

ProfFan commented Oct 19, 2021

Please use the develop branch and report back if you have any problem, Boost 1.74 is too new for 4.0.3.

@varunagrawal varunagrawal added the invalid Not a valid issue label Oct 19, 2021
@shaoxh
Copy link
Author

shaoxh commented Oct 19, 2021

Please use the develop branch and report back if you have any problem, Boost 1.74 is too new for 4.0.3.

Thanks for your reply!
I was using develop but come up with another error #894 so tried this version.
On develop branch this error does not appear.
If the reason is Boost version, I could not lower it now because some other projects need it.
Still thank you again!

@shaoxh shaoxh closed this as completed Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Not a valid issue
Projects
None yet
Development

No branches or pull requests

3 participants