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

Fixed some compilation errors #89

Merged
merged 1 commit into from Oct 17, 2018
Merged

Conversation

matlabbe
Copy link
Contributor

Fixed some compilation errors and a linker error when including the library in another project.

@mpitropov
Copy link

I'm new to using this repo and this is the compile error on master:

Errors     << loam_velodyne:make /home/user/catkin_ws/logs/loam_velodyne/build.make.000.log
/home/user/catkin_ws/src/git_ros/loam_velodyne/src/lib/LaserMapping.cpp: In member function ‘virtual bool loam::LaserMapping::setup(ros::NodeHandle&, ros::NodeHandle&)’:
/home/user/catkin_ws/src/git_ros/loam_velodyne/src/lib/LaserMapping.cpp:149:28: error: ‘downSizeFilterMap’ was not declared in this scope
          downSizeFilterMap().setLeafSize(fParam, fParam, fParam);
                            ^
make[2]: *** [src/lib/CMakeFiles/loam.dir/LaserMapping.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/lib/CMakeFiles/loam.dir/all] Error 2
make: *** [all] Error 2
cd /home/user/catkin_ws/build/loam_velodyne; catkin build --get-env loam_velodyne | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed     << loam_velodyne:make           [ Exited with code 2 ]              
Failed    <<< loam_velodyne                [ 44.0 seconds ]                    
[build] Summary: 0 of 1 packages succeeded.                                    
[build]   Ignored:   50 packages were skipped or are blacklisted.              
[build]   Warnings:  1 packages succeeded with warnings.                       
[build]   Abandoned: None.                                                     
[build]   Failed:    1 packages failed.                                        
[build] Runtime: 44.3 seconds total.                                           
[build] Note: Workspace packages have changed, please re-source setup files to use them.

I was able to compile using this branch. @laboshinl Would you be able to merge this in?

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

Successfully merging this pull request may close these issues.

None yet

3 participants