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

There was a problem during compilation #9

Open
wugeshenhuaking opened this issue Aug 1, 2022 · 0 comments
Open

There was a problem during compilation #9

wugeshenhuaking opened this issue Aug 1, 2022 · 0 comments

Comments

@wugeshenhuaking
Copy link

wugeshenhuaking commented Aug 1, 2022

  1. When I execute the command ./configure , the prompt message is as follows. I don't know if this is the reason why I can't run the program. Because it reminds me that many libraries cannot be found.
    `No 'CXX' environment variable found, using g++.
    No 'CC' environment variable found, using gcc.
    Using C++ compiler: g++
    Using C compiler: gcc
    Checking for Qt 3.x ...

*** Qt 3.x not found. I'll make some educated guesses. If this doesn't work, please set QT_INCLUDE, QT_LIB, MOC by hand in the file global.mk.

Checking for Aria libs

*** ARIA not found, please set ARIA_INCLUDE and ARIA_LIB by hand

Checking bin directory /home/wyw/overlay_ws/src/slam_glass/gmapping_export/bin ... created.
Checking lib directory /home/wyw/overlay_ws/src/slam_glass/gmapping_export/lib ... created.
Carmen NOT FOUND.
If you have a carmen version installed please set the
CARMEN_HOME variable to the carmen path.`

2.When I execute the command make -f Makefile.gmapping, there are many warnings。such as

scanmatcher.cpp: In member function ‘void GMapping::ScanMatcher::computeActiveArea(GMapping::ScanMatcherMap&, const OrientedPoint&, const double*)’: scanmatcher.cpp:76:11: warning: variable ‘p0’ set but not used [-Wunused-but-set-variable] IntPoint p0=map.world2map(lp); ^~ scanmatcher.cpp: In member function ‘double GMapping::ScanMatcher::optimize(GMapping::OrientedPoint&, GMapping::ScanMatcher::CovarianceMatrix&, const ScanMatcherMap&, const OrientedPoint&, const double*) const’: scanmatcher.cpp:396:15: warning: variable ‘matched’ set but not used [-Wunused-but-set-variable] unsigned int matched=likelihoodAndScore(sm.score, sm.likelihood, map, currentPose, readings); ^~~~~~~ In file included from smmap.h:3:0, from scanmatcher.h:5, from scanmatcher.cpp:7:
I don't know if this is the reason why the roslaunch fails

3.When I execute roslaunch, it reports an error as follows

setting /run_id to 1ec85cda-1141-11ed-8a09-80fa5b6846fb process[rosout-1]: started with pid [24006] started core service [/rosout] process[slam_glass-2]: started with pid [24013] /home/wyw/overlay_ws/devel/lib/slam_glass/slam_glass: symbol lookup error: /home/wyw/overlay_ws/devel/lib/slam_glass/slam_glass: undefined symbol: _ZN8GMapping17GridSlamProcessor10glassMatchERNS_3MapINS_16PointAccumulatorENS_19HierarchicalArray2DIS2_EELb1EEERSt6vectorIPNS0_5TNodeESaIS9_EE [slam_glass-2] process has died [pid 24013, exit code 127, cmd /home/wyw/overlay_ws/devel/lib/slam_glass/slam_glass scan:=base_scan __name:=slam_glass __log:=/home/wyw/.ros/log/1ec85cda-1141-11ed-8a09-80fa5b6846fb/slam_glass-2.log]. log file: /home/wyw/.ros/log/1ec85cda-1141-11ed-8a09-80fa5b6846fb/slam_glass-2*.log

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