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

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

Open
dbdxnuliba opened this issue Mar 10, 2023 · 1 comment

Comments

@dbdxnuliba
Copy link

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/gtsam_unstable/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_; }
| ^~~~~

@Vulvstan
Copy link

Vulvstan commented Jun 6, 2023

I am facing the same issue, I tried building from develop branch instead of wrap-export, but ended up with errors in installing of gpmp2 package

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