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

Installation #23

Open
viraj96 opened this issue Apr 30, 2020 · 0 comments
Open

Installation #23

viraj96 opened this issue Apr 30, 2020 · 0 comments

Comments

@viraj96
Copy link

viraj96 commented Apr 30, 2020

Hi I tried to install occupancy_grid_utils on my Ubuntu 18.04 system with ROS Melodic. While doing that, I am getting the following errors.

catkin build --cmake-args \           
            -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CXX_FLAGS="-luuid -lgdcmMSFF"
-------------------------------------------------------------------------------------------------------------------------------------------
Profile:                     default
Extending:             [env] /opt/ros/melodic
Workspace:                   /usr0/home/vparimi/Work/Research/software/github/test
-------------------------------------------------------------------------------------------------------------------------------------------
Build Space:        [exists] /usr0/home/vparimi/Work/Research/software/github/test/build
Devel Space:        [exists] /usr0/home/vparimi/Work/Research/software/github/test/devel
Install Space:      [unused] /usr0/home/vparimi/Work/Research/software/github/test/install
Log Space:         [missing] /usr0/home/vparimi/Work/Research/software/github/test/logs
Source Space:       [exists] /usr0/home/vparimi/Work/Research/software/github/test/src
DESTDIR:            [unused] None
-------------------------------------------------------------------------------------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
-------------------------------------------------------------------------------------------------------------------------------------------
Additional CMake Args:       -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CXX_FLAGS=-luuid -lgdcmMSFF
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
-------------------------------------------------------------------------------------------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
-------------------------------------------------------------------------------------------------------------------------------------------
Workspace configuration appears valid.

NOTE: Forcing CMake to run for each package.
-------------------------------------------------------------------------------------------------------------------------------------------
[build] Found '1' packages in 0.0 seconds.                                                                                                                              
[build] Updating package table.                                                                                                                                         
Starting  >>> catkin_tools_prebuild                                                                                                                                     
Finished  <<< catkin_tools_prebuild                [ 1.0 seconds ]                                                                                                      
Starting  >>> occupancy_grid_utils                                                                                                                                      
________________________________________________________________________________________________________________________________________________________________________
Errors     << occupancy_grid_utils:make /usr0/home/vparimi/Work/Research/software/github/test/logs/occupancy_grid_utils/build.make.000.log                    
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libgdcmMSFF.so: undefined reference to `uuid_generate@UUID_1.0'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libgdcmMSFF.so: undefined reference to `uuid_parse@UUID_1.0'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libgdcmMSFF.so: undefined reference to `uuid_unparse@UUID_1.0'
collect2: error: ld returned 1 exit status
make[2]: *** [/usr0/home/vparimi/Work/Research/software/github/test/devel/.private/occupancy_grid_utils/lib/occupancy_grid_utils/grid_construction_node] Error 1
make[1]: *** [CMakeFiles/grid_construction_node.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
cd /usr0/home/vparimi/Work/Research/software/github/test/build/occupancy_grid_utils; catkin build --get-env occupancy_grid_utils | catkin env -si  /usr/bin/make --jobserver-fds=3,4 -j; cd -
........................................................................................................................................................................
Failed     << occupancy_grid_utils:make            [ Exited with code 2 ]                                                                                               
Failed    <<< occupancy_grid_utils                 [ 14.3 seconds ]                                                                                                     
[build] Summary: 1 of 2 packages succeeded.                                                                                                                             
[build]   Ignored:   None.                                                                                                                                              
[build]   Warnings:  None.                                                                                                                                              
[build]   Abandoned: None.                                                                                                                                              
[build]   Failed:    1 packages failed.                                                                                                                                 
[build] Runtime: 15.3 seconds total.                                                                                                                                    
[build] Note: Workspace packages have changed, please re-source setup files to use them.
Exception ignored in: <bound method BaseEventLoop.__del__ of <_UnixSelectorEventLoop running=False closed=True debug=False>>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/trollius/base_events.py", line 395, in __del__
  File "/usr/local/lib/python3.6/dist-packages/trollius/unix_events.py", line 65, in close
  File "/usr/local/lib/python3.6/dist-packages/trollius/unix_events.py", line 166, in remove_signal_handler
  File "/usr/lib/python3.6/signal.py", line 47, in signal
TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object

It seems that there is some undefined reference errors due to which the build is failing. Can you let me know if there is any fix for this?

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