[ros-users] Request for Clue: OSX-specific linker flags, dependency resolution

Tully Foote tfoote at willowgarage.com
Fri Jan 14 17:09:01 UTC 2011


Nick,

Can you make sure to put a line like this in the geometry rosdep.yaml:

{{{
glut:
  ...
  macports: |
    # No rule for glut
}}}

Rosdep requires a multiline expression to interpret it as a script.

bullet, a dependency of camera1394 and uses glut.

Tully

On Fri, Jan 14, 2011 at 8:41 AM, Nicholas Butko <nbutko at ucsd.edu> wrote:

> Jack, that patch looks exactly right. However, I am getting strange
> behavior.
>
> When I *haven't* applied the patch, this is my output:
>
> dyn137-110-111-179:camera1394 rubinet$ rosdep install camera1394
> Failed to find rosdep glut for package camera1394 on OS:macports
> version:macports
> Failed to find rosdep libdc1394-dev for package camera1394 on OS:macports
> version:macports
> ERROR: ABORTING: Rosdeps [u'glut', u'libdc1394-dev'] could not be resolved
>
> When I *have* applied the patch, this is my output:
>
> dyn137-110-111-179:camera1394 rubinet$ rosdep install camera1394
> Failed to find rosdep glut for package camera1394 on OS:macports
> version:macports
> ERROR: ABORTING: Rosdeps [u'glut'] could not be resolved
>
> I tried to fix this by adding an empty macports entry (macports: |) to
> everywhere that rosdep.yaml has "glut". From my investigation, this only
> seems to happen in the geometry package. Yet the problem persists.
>
> Another strange thing is that I get the same behavior *regardless of
> whether libdc1394 is installed* (It is easy to uninstall and reinstall).
>
> --Nick
>
>
> On Fri, Jan 14, 2011 at 8:00 AM, Jack O'Quin <jack.oquin at gmail.com> wrote:
>
>> On Thu, Jan 13, 2011 at 3:21 PM, Nicholas Butko <nbutko at ucsd.edu> wrote:
>> > I may be able to try something out for you. I'll take a look later
>> today.
>>
>> Nick,
>>
>> Would you try adding this to the rosdep.yaml in the camera_drivers
>> stack? Then, see if "rosdep install camera1394" does something
>> sensible? The patch should work with both cturtle and unstable.
>>
>> Can someone who has a Mac *without* libdc1394 installed run the same
>> test and report whether the library installs correctly? (You don't
>> need a camera to run that test.)
>>
>> Index: rosdep.yaml
>> ===================================================================
>> --- rosdep.yaml (revision 35214)
>> +++ rosdep.yaml (working copy)
>> @@ -12,6 +12,7 @@
>>   ubuntu: libdc1394-22-dev
>>   arch: libdc1394
>>   fedora: libdc1394-devel
>> +  macports: libdc1394
>>
>>  gforth:
>>   ubuntu: gforth
>> --
>>  joq
>> _______________________________________________
>> 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
>
>


-- 
Tully Foote
Systems Engineer
Willow Garage, Inc.
tfoote at willowgarage.com
(650) 475-2827
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110114/062c6c23/attachment-0003.html>


More information about the ros-users mailing list