[ros-users] problems compiling ps3joy

Blaise Gassend blaise at willowgarage.com
Thu Apr 29 15:56:54 UTC 2010


Hi Nick,

It sounds like you are missing libusb-dev. You can fix this by
installing it manually, but it would be really helpful if you could
answer the following questions to help me figure out why it didn't get
installed automatically for you.

If you do a "rosdep install ps3joy" does it try to install libusb-dev?

What distribution are you running?

Thanks,
Blaise

On Thu, 2010-04-29 at 13:31 +0200, Dominick Vanthienen wrote:
> 
> Hi
> 
> I'm attending the Willow garage workshop next week at ICRA
> I'm installing the turtlebox installation of ros as described in the
> instructions on the site 
> (http://www.ros.org/wiki/Events/ICRA2010Tutorial/Installation)
> 
> But it gets stuck on the ps3joy package
> I'm using ubuntu 9.10 (karmic) with
> gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
> ros turtlebox
> 
> Can anyone help me out?
> 
> thank you!
> 
> nick
> 
> 
> 
> 
> 
> 
>  /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:79: warning: implicit declaration of function ‘show_master’                                                                                                           
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:86: warning: incompatible implicit declaration of built-in function ‘exit’                                                                                            
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:95: warning: incompatible implicit declaration of built-in function ‘exit’                                                                                            
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:100: warning: implicit declaration of function ‘set_master’                                                                                                           
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:102: warning: implicit declaration of function ‘usb_close’                                                                                                            
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c: In function ‘main’:                           
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:107: warning: implicit declaration of function ‘usb_init’                                                                                                             
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:108: warning: implicit declaration of function ‘usb_find_busses’                                                                                                      
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:109: warning: implicit declaration of function ‘usb_find_devices’                                                                                                     
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:110: warning: implicit declaration of function ‘usb_get_busses’                                                                                                       
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:110: warning: initialization makes pointer from integer without a cast                                                                                                
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:116: error: dereferencing pointer to incomplete type                                                                                                                  
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:118: error: dereferencing pointer to incomplete type                                                                                                                  
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:118: error: dereferencing pointer to incomplete type                                                                                                                  
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:120: error: dereferencing pointer to incomplete type                                                                                                                  
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:121: error: dereferencing pointer to incomplete type                                                                                                                  
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:121: error: dereferencing pointer to incomplete type                                                                                                                  
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:122: error: increment of pointer to unknown structure                                                                                                                 
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:122: error: arithmetic on pointer to an incomplete type                                                                                                               
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:124: error: dereferencing pointer to incomplete type                                                                                                                  
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:125: error: dereferencing pointer to incomplete type                                                                                                                  
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:127: error: dereferencing pointer to incomplete type                                                                                                                  
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:128: error: dereferencing pointer to incomplete type                                                                                                                  
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:128: error: dereferencing pointer to incomplete type                                                                                                                  
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:129: error: increment of pointer to unknown structure                                                                                                                 
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:129: error: arithmetic on pointer to an incomplete type                                                                                                               
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:130: error: dereferencing pointer to incomplete type                                                                                                                  
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:131: error: dereferencing pointer to incomplete type
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:132: error: dereferencing pointer to incomplete type
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:133: warning: passing argument 3 of ‘process_device’ from incompatible pointer type
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:67: note: expected ‘struct usb_device *’ but argument is of type ‘struct usb_device *’
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:133: warning: passing argument 4 of ‘process_device’ from incompatible pointer type
>   /home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/sixpair.c:67: note: expected ‘struct usb_config_descriptor *’ but argument is of type ‘struct usb_config_descriptor *’
>   make[3]: *** [CMakeFiles/sixpair.dir/sixpair.o] Error 1
>   make[3]: Leaving directory
> `/home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/build'
>   make[2]: *** [CMakeFiles/sixpair.dir/all] Error 2
>   make[2]: Leaving directory
> `/home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/build'
>   make[1]: *** [all] Error 2
>   make[1]: Leaving directory
> `/home/u0065688/boxTurtle/ros/stacks/joystick_drivers/ps3joy/build'
> -------------------------------------------------------------------------------}
> [ rosmake ] Output from build of package ps3joy written to:
> [ rosmake ]    /home/u0065688/.ros/rosmake/rosmake_output-20100429-131957/ps3joy/build_output.log
> [rosmake-0] <<< ps3joy <<< [FAIL] [ 1.48 seconds ]
> 
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users





More information about the ros-users mailing list