Brian, on my machine (10.7) I don't have an archive file (.a) I have .dylib and it gives this output. This might be something that goes away with Lion.
∫ file /usr/lib/libstdc++.dylib
/usr/lib/libstdc++.dylib: Mach-O universal binary with 2 architectures
/usr/lib/libstdc++.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
/usr/lib/libstdc++.dylib (for architecture i386): Mach-O dynamically linked shared library i386
On Fri, Sep 2, 2011 at 10:22 AM, Mark Moll <mmoll@rice.edu> wrote:
> On Sep 2, 2011, at 12:07 PM, Brian Gerkey wrote:
>> That's why I went for the source rosdep approach for tinyxml on OSX.Yep, that should do it. Did it replace the old one by the same name?
>
> I added a port for tinyxml to MacPorts a little while back that also uses the -DTIXML_USE_STL flag. Would that work?
Hmm, on my 10.6 machine, I just did a `sudo port selfupdate` followed
by `sudo port install tinyxml` and got a mile of linker errors,
preceded by this ominous line:
ld: warning: ignoring file //usr/lib/libstdc++.a, missing required
architecture x86_64 in file
I guess my system is now in some sort of profound 32-vs-64-bit hell....
brian.
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users