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.sh showing cmake errors, tried multiple methods of installing. the following is the message shown after the ./build command: #383

Open
OmegaVFXLtd opened this issue Sep 14, 2021 · 7 comments

Comments

@OmegaVFXLtd
Copy link

OmegaVFXLtd commented Sep 14, 2021

: error: ‘slots_reference’ was not declared in this scope 1180 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ~~~~~~~~~~~~~~~^~ make[2]: *** [CMakeFiles/ORB_SLAM3.dir/build.make:89: CMakeFiles/ORB_SLAM3.dir/src/LocalMapping.cc.o] Error 1 make[2]: *** [CMakeFiles/ORB_SLAM3.dir/build.make:76: CMakeFiles/ORB_SLAM3.dir/src/Tracking.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:390: CMakeFiles/ORB_SLAM3.dir/all] Error 2 make: *** [Makefile:84: all] Error 2

@OmegaVFXLtd OmegaVFXLtd changed the title ./build.sh showing cmake errors, tried mutiple methods of installing. ./build.sh showing cmake errors, tried mutiple methods of installing. the following is the message shown after the ./build command:: error: ‘slots_reference’ was not declared in this scope 1180 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ~~~~~~~~~~~~~~~^~ make[2]: *** [CMakeFiles/ORB_SLAM3.dir/build.make:89: CMakeFiles/ORB_SLAM3.dir/src/LocalMapping.cc.o] Error 1 make[2]: *** [CMakeFiles/ORB_SLAM3.dir/build.make:76: CMakeFiles/ORB_SLAM3.dir/src/Tracking.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:390: CMakeFiles/ORB_SLAM3.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 Sep 14, 2021
@OmegaVFXLtd
Copy link
Author

on a hyper V virtual machine running ubuntu 20.04

@OmegaVFXLtd OmegaVFXLtd changed the title ./build.sh showing cmake errors, tried mutiple methods of installing. the following is the message shown after the ./build command:: error: ‘slots_reference’ was not declared in this scope 1180 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ~~~~~~~~~~~~~~~^~ make[2]: *** [CMakeFiles/ORB_SLAM3.dir/build.make:89: CMakeFiles/ORB_SLAM3.dir/src/LocalMapping.cc.o] Error 1 make[2]: *** [CMakeFiles/ORB_SLAM3.dir/build.make:76: CMakeFiles/ORB_SLAM3.dir/src/Tracking.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:390: CMakeFiles/ORB_SLAM3.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 ./build.sh showing cmake errors, tried mutiple methods of installing. the following is the message shown after the ./build command: : error: ‘slots_reference’ was not declared in this scope 1180 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ~~~~~~~~~~~~~~~^~ make[2]: *** [CMakeFiles/ORB_SLAM3.dir/build.make:89: CMakeFiles/ORB_SLAM3.dir/src/LocalMapping.cc.o] Error 1 make[2]: *** [CMakeFiles/ORB_SLAM3.dir/build.make:76: CMakeFiles/ORB_SLAM3.dir/src/Tracking.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:390: CMakeFiles/ORB_SLAM3.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 Sep 14, 2021
@OmegaVFXLtd OmegaVFXLtd changed the title ./build.sh showing cmake errors, tried mutiple methods of installing. the following is the message shown after the ./build command: : error: ‘slots_reference’ was not declared in this scope 1180 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ~~~~~~~~~~~~~~~^~ make[2]: *** [CMakeFiles/ORB_SLAM3.dir/build.make:89: CMakeFiles/ORB_SLAM3.dir/src/LocalMapping.cc.o] Error 1 make[2]: *** [CMakeFiles/ORB_SLAM3.dir/build.make:76: CMakeFiles/ORB_SLAM3.dir/src/Tracking.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:390: CMakeFiles/ORB_SLAM3.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 ./build.sh showing cmake errors, tried multiple methods of installing. the following is the message shown after the ./build command: Sep 14, 2021
@OmegaVFXLtd OmegaVFXLtd reopened this Sep 14, 2021
@owolabioromidayo
Copy link

were you able to fix it?

@SIFFAN12
Copy link

I meet this error too.

@OmegaVFXLtd
Copy link
Author

not yet, taking some time away from it by looking into orbslam2_ros to see if i can get that working and come back to this with a fresh mind XD

@owolabioromidayo
Copy link

#387 (comment) worked for me.

@edwinstudy
Copy link

I met this problem too . Did you fix it ?

@JiaZhengJingXianSheng
Copy link

How fix it?

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

5 participants