[ros-users] problems compiling ps3joy

Dominick Vanthienen dominick.vanthienen at mech.kuleuven.be
Wed May 5 06:55:20 UTC 2010


hi

sorry for the late reply
after your suggestions I did manage to install everything!

Blaise Gassend wrote:
> 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?
>   
(I did install the libusb-dev package already manually)
$ rosdep install ps3joy
executing this script:
 set -o errexit
#Packages
sudo apt-get install joystick python-bluez
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  joystick python-bluez
0 upgraded, 2 newly installed, 0 to remove and 109 not upgraded.
Need to get 121kB of archives.
After this operation, 606kB of additional disk space will be used.
Get:1 http://be.archive.ubuntu.com karmic/universe python-bluez 
0.16-1ubuntu1 [98.8kB]
Get:2 http://be.archive.ubuntu.com karmic/universe joystick 
20051019-5ubuntu1 [22.0kB]
Fetched 121kB in 2s (49.8kB/s)
Selecting previously deselected package python-bluez.
(Reading database ... 305218 files and directories currently installed.)
Unpacking python-bluez (from .../python-bluez_0.16-1ubuntu1_i386.deb) ...
Selecting previously deselected package joystick.
Unpacking joystick (from .../joystick_20051019-5ubuntu1_i386.deb) ...
 Removing any system startup links for /etc/init.d/joystick ...
Processing triggers for man-db ...
Setting up python-bluez (0.16-1ubuntu1) ...

Setting up joystick (20051019-5ubuntu1) ...

> What distribution are you running?
>   
distribution of?

I'm using ubuntu 9.10 (karmic) with
gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1

with ros box turtle (not turtlebox as mentioned before :)


> Thanks,
> Blaise
>   
thank you!
> 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
>>     
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100505/1a474021/attachment-0002.html>


More information about the ros-users mailing list