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

catkin_make fail... make: *** No rule to make target '[--pkg'. Stop. #1

Open
droter opened this issue May 15, 2018 · 0 comments
Open

Comments

@droter
Copy link

droter commented May 15, 2018

Hi,

I tried the catkin_make install using:
catkin_make [--pkg roamfree] -DCMAKE_BUILD_TYPE=Release

The roamfree directory is inside of my catkin workspace. catkin_ws/src/roamfree
When I try to build the release I get the following error:
make: *** No rule to make target '[--pkg'. Stop.

Ubuntu 16.04
Kinetic

Running $ catkin_make -DCMAKE_BUILD_TYPE=Release

/home/matt/roamfree_ws/src/roamfree/ROAMvision/src/EuclideanFeatureHandler.cpp: In member function ‘bool ROAMvision::EuclideanFeatureHandler::initialize(const ROAMvision::EuclideanTrackDescriptor&, const VectorXd&, Eigen::VectorXd&)’:
/home/matt/roamfree_ws/src/roamfree/ROAMvision/src/EuclideanFeatureHandler.cpp:274:3: error: ‘vector’ is not a member of ‘cv’
cv::vectorcv::Point2f firstObsVec, lastObsVec;
^
/home/matt/roamfree_ws/src/roamfree/ROAMvision/src/EuclideanFeatureHandler.cpp:274:3: note: suggested alternatives:
In file included from /usr/include/c++/5/vector:64:0,
from /usr/include/c++/5/bits/random.h:34,
from /usr/include/c++/5/random:49,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/eigen3/Eigen/Core:232,
from /usr/include/eigen3/Eigen/Dense:1,
from /home/matt/roamfree_ws/src/roamfree/ROAMvision/src/EuclideanFeatureHandler.cpp:21:
/usr/include/c++/5/bits/stl_vector.h:214:11: note: ‘std::vector’
class vector : protected _Vector_base<_Tp, _Alloc>
^
/usr/include/c++/5/bits/stl_vector.h:214:11: note: ‘std::vector’
/home/matt/roamfree_ws/src/roamfree/ROAMvision/src/EuclideanFeatureHandler.cpp:274:25: error: expected primary-expression before ‘>’ token
cv::vectorcv::Point2f firstObsVec, lastObsVec;
^
/home/matt/roamfree_ws/src/roamfree/ROAMvision/src/EuclideanFeatureHandler.cpp:274:27: error: ‘firstObsVec’ was not declared in this scope
cv::vectorcv::Point2f firstObsVec, lastObsVec;
^
/home/matt/roamfree_ws/src/roamfree/ROAMvision/src/EuclideanFeatureHandler.cpp:274:40: error: ‘lastObsVec’ was not declared in this scope
cv::vectorcv::Point2f firstObsVec, lastObsVec;
^
/home/matt/roamfree_ws/src/roamfree/ROAMvision/src/EuclideanFeatureHandler.cpp:282:3: error: ‘triangulatePoints’ is not a member of ‘cv’
cv::triangulatePoints(curCams.front(), curCams.back(), firstObsVec,
^
roamfree/ROAMvision/CMakeFiles/ROAMvision.dir/build.make:182: recipe for target 'roamfree/ROAMvision/CMakeFiles/ROAMvision.dir/src/EuclideanFeatureHandler.cpp.o' failed
make[2]: *** [roamfree/ROAMvision/CMakeFiles/ROAMvision.dir/src/EuclideanFeatureHandler.cpp.o] Error 1
CMakeFiles/Makefile2:1462: recipe for target 'roamfree/ROAMvision/CMakeFiles/ROAMvision.dir/all' failed
make[1]: *** [roamfree/ROAMvision/CMakeFiles/ROAMvision.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

Matt

DavideACucci pushed a commit that referenced this issue Feb 3, 2022
State plugin

Approved-by: Davide Antonio Cucci
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