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

qualified-id in declaration before ‘*’ token auto ob::RealVectorStateSpace *space = new ob::RealVectorStateSpace(); #1

Open
swetadash0610 opened this issue Sep 12, 2020 · 0 comments

Comments

@swetadash0610
Copy link

swetadash0610 commented Sep 12, 2020

I tried to clone your repo and build it but I am getting this error:
Any help?

Errors << pp_ompl:make /home/sweta-ubuntu/catkin_workspace/logs/pp_ompl/build.make.006.log
/home/sweta-ubuntu/catkin_workspace/src/pp_ompl/src/rrt_demo.cpp: In constructor ‘Plane2DEnvironment::Plane2DEnvironment()’:
/home/sweta-ubuntu/catkin_workspace/src/pp_ompl/src/rrt_demo.cpp:36:43: error: qualified-id in declaration before ‘*’ token
auto ob::RealVectorStateSpace space = new ob::RealVectorStateSpace();
^
/home/sweta-ubuntu/catkin_workspace/src/pp_ompl/src/rrt_demo.cpp:37:13: error: ‘space’ was not declared in this scope
space->addDimension(0.0, img.cols);
^~~~~
/home/sweta-ubuntu/catkin_workspace/src/pp_ompl/src/rrt_demo.cpp:37:13: note: suggested alternatives:
In file included from /usr/include/boost/filesystem.hpp:17:0,
from /home/sweta-ubuntu/catkin_workspace/src/pp_ompl/src/rrt_demo.cpp:14:
/usr/include/boost/filesystem/operations.hpp:701:14: note: ‘boost::filesystem::space’
space_info space(const path& p, system::error_code& ec) BOOST_NOEXCEPT
^~~~~
/usr/include/boost/filesystem/operations.hpp:418:16: note: ‘boost::filesystem::detail::space’
space_info space(const path& p, system::error_code
ec=0);
^~~~~
make[2]: *** [CMakeFiles/pp_ompl_rrt_demo.dir/src/rrt_demo.cpp.o] Error 1
make[1]: *** [CMakeFiles/pp_ompl_rrt_demo.dir/all] Error 2
make: *** [all] Error 2

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

1 participant