compile err gtsam/gtsam_unstable/slam/PartialPriorFactor.h:124:53: error: invalid initialization of reference of type 'const std::vector<bool>&' from expression of type 'const std::vector<long unsigned int>' #63
Install GTSAM.
conda activate gpmp2
git clone https://github.com/borglab/gtsam.git
cd gtsam
git checkout wrap-export
mkdir build && cd build
cmake -DGTSAM_INSTALL_CYTHON_TOOLBOX:=ON ..
make check # optional, run unit tests
it occurs compile err info:
/home/dell/ref/gtsam/gtsamunstable/slam/PartialPriorFactor.h:124:53: error: invalid initialization of reference of type 'const std::vector&' from expression of type 'const std::vector'
124 | const std::vector& mask() const { return mask; }
| ^~~~~
Install GTSAM. conda activate gpmp2 git clone https://github.com/borglab/gtsam.git cd gtsam git checkout wrap-export mkdir build && cd build cmake -DGTSAM_INSTALL_CYTHON_TOOLBOX:=ON .. make check # optional, run unit tests
it occurs compile err info:
/home/dell/ref/gtsam/gtsamunstable/slam/PartialPriorFactor.h:124:53: error: invalid initialization of reference of type 'const std::vector&' from expression of type 'const std::vector'
124 | const std::vector& mask() const { return mask ; }
| ^~~~~