[ros-users] RViz on OS X [ogre issues]

William Woodall wjwwood at gmail.com
Thu Jun 30 12:57:48 UTC 2011


Billy, I am really not sure about this one, the only thing I can think of is
that something happened while compiling ogre, I would make clean and
CMAKE_OSX_ARCHITECTURES="i386" make on the ogre package and then try the
file command again.

Let me know if this doesn't work.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
William Woodall
Graduate Software Engineering
Auburn University
w at auburn.edu
wjwwood at gmail.com
williamjwoodall.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



On Wed, Jun 29, 2011 at 6:53 AM, Billy Okal <okal.billy at googlemail.com>wrote:

> Hi William,
>
> this is what I get
>
> [06-29 13:51]
> (dala:makokal:~/devel/ros/diamondback/visualization_common/ogre)>file
> build/ogre_src_v1-7-1/build/lib/RelWbuild/ogre_src_v1-7-1/build/lib/RelWithDebInfo/Ogre.framework/Ogre:
> broken symbolic link to Versions/Current/Ogre
>
>
> A constantly broken symbolic link, any idea?
>
> thanks,
> billy
>
>
>
> On Jun 28, 2011, at 1:46 PM, William Woodall wrote:
>
> Also, try this file command, it is specifically what you failed to link
> against properly.
>
> file ogre/lib/Ogre.framework/Versions/1.7.1/Ogre
>
> And the typical output should be:
>
> ogre/lib/Ogre.framework/Versions/1.7.1/Ogre: Mach-O dynamically linked
> shared library i386
>
> Thanks,
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> William Woodall
> Graduate Software Engineering
> Auburn University
> w at auburn.edu
> wjwwood at gmail.com
> williamjwoodall.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
> On Tue, Jun 28, 2011 at 6:43 AM, William Woodall <wjwwood at gmail.com>wrote:
>
>> Sorry for the long response time.
>>
>> It might be that your ogre didn't build i386.  Try going into the ogre
>> folder and typing:
>>
>> file ogre/lib/*.dylib
>>
>> You should get something like:
>>
>> ogre/lib/Plugin_BSPSceneManager.dylib:    Mach-O dynamically linked shared
>> library i386
>> ogre/lib/Plugin_CgProgramManager.dylib:   Mach-O dynamically linked shared
>> library i386
>> ogre/lib/Plugin_OctreeSceneManager.dylib: Mach-O dynamically linked shared
>> library i386
>> ogre/lib/Plugin_OctreeZone.dylib:         Mach-O dynamically linked shared
>> library i386
>> ogre/lib/Plugin_PCZSceneManager.dylib:    Mach-O dynamically linked shared
>> library i386
>> ogre/lib/Plugin_ParticleFX.dylib:         Mach-O dynamically linked shared
>> library i386
>> ogre/lib/RenderSystem_GL.dylib:           Mach-O dynamically linked shared
>> library i386
>> ogre/lib/libOgrePaging.dylib:             Mach-O dynamically linked shared
>> library i386
>> ogre/lib/libOgreProperty.dylib:           Mach-O dynamically linked shared
>> library i386
>> ogre/lib/libOgreRTShaderSystem.dylib:     Mach-O dynamically linked shared
>> library i386
>> ogre/lib/libOgreTerrain.dylib:            Mach-O dynamically linked shared
>> library i386
>>
>> If not then maybe your ogre is built wrong, try make clean
>> then CMAKE_OSX_ARCHITECTURES="i386" rosmake ogre.
>>
>> Thanks for trying this out, hopefully we can get you up and running.
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> William Woodall
>> Graduate Software Engineering
>> Auburn University
>> w at auburn.edu
>> wjwwood at gmail.com
>> williamjwoodall.com
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>>
>>
>> On Sun, Jun 26, 2011 at 6:16 AM, Billy Okal <okal.billy at googlemail.com>wrote:
>>
>>> Hey all,
>>>
>>> So I tried doing ros on mac again(osx 10.6.7) using the new wiki that was
>>> posted here https://github.com/wjwwood/ros-osx/wiki
>>>
>>> The core installed but rviz failed on the ogre part with this
>>>
>>>
>>> {-------------------------------------------------------------------------------
>>>         Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&)
>>> constin OgreFreeImageCodec.o
>>>
>>>  Ogre::FreeImageCodec::encode(Ogre::SharedPtr<Ogre::MemoryDataStream>&,
>>> Ogre::SharedPtr<Ogre::Codec::CodecData>&) constin OgreFreeImageCodec.o
>>>     "_FreeImage_GetPitch", referenced from:
>>>         Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&)
>>> constin OgreFreeImageCodec.o
>>>
>>>  Ogre::FreeImageCodec::encode(Ogre::SharedPtr<Ogre::MemoryDataStream>&,
>>> Ogre::SharedPtr<Ogre::Codec::CodecData>&) constin OgreFreeImageCodec.o
>>>     "_FreeImage_GetFileTypeFromMemory", referenced from:
>>>         Ogre::FreeImageCodec::magicNumberToFileExt(char const*, unsigned
>>> long) constin OgreFreeImageCodec.o
>>>     "_FreeImage_GetFormatFromFIF", referenced from:
>>>         Ogre::FreeImageCodec::magicNumberToFileExt(char const*, unsigned
>>> long) constin OgreFreeImageCodec.o
>>>         Ogre::FreeImageLoadErrorHandler(FREE_IMAGE_FORMAT, char const*)in
>>> OgreFreeImageCodec.o
>>>     "_FreeImage_FIFSupportsExportType", referenced from:
>>>
>>>  Ogre::FreeImageCodec::encode(Ogre::SharedPtr<Ogre::MemoryDataStream>&,
>>> Ogre::SharedPtr<Ogre::Codec::CodecData>&) constin OgreFreeImageCodec.o
>>>     "_FreeImage_FIFSupportsExportBPP", referenced from:
>>>
>>>  Ogre::FreeImageCodec::encode(Ogre::SharedPtr<Ogre::MemoryDataStream>&,
>>> Ogre::SharedPtr<Ogre::Codec::CodecData>&) constin OgreFreeImageCodec.o
>>>     "_FreeImage_AllocateT", referenced from:
>>>
>>>  Ogre::FreeImageCodec::encode(Ogre::SharedPtr<Ogre::MemoryDataStream>&,
>>> Ogre::SharedPtr<Ogre::Codec::CodecData>&) constin OgreFreeImageCodec.o
>>>     "_FreeImage_DeInitialise", referenced from:
>>>         Ogre::FreeImageCodec::shutdown()     in OgreFreeImageCodec.o
>>>     "_FreeImage_Initialise", referenced from:
>>>         Ogre::FreeImageCodec::startup()     in OgreFreeImageCodec.o
>>>     "_FreeImage_GetVersion", referenced from:
>>>         Ogre::FreeImageCodec::startup()     in OgreFreeImageCodec.o
>>>     "_FreeImage_GetCopyrightMessage", referenced from:
>>>         Ogre::FreeImageCodec::startup()     in OgreFreeImageCodec.o
>>>     "_FreeImage_GetFIFExtensionList", referenced from:
>>>         Ogre::FreeImageCodec::startup()     in OgreFreeImageCodec.o
>>>     "_FreeImage_GetFIFCount", referenced from:
>>>         Ogre::FreeImageCodec::startup()     in OgreFreeImageCodec.o
>>>   ld: symbol(s) not found for architecture i386
>>>   collect2: ld returned 1 exit status
>>>
>>>
>>>   ** BUILD FAILED **
>>>
>>>
>>>   The following build commands failed:
>>>    Ld build/lib/RelWithDebInfo/Ogre.framework/Versions/1.7.1/Ogre normal
>>> i386
>>>   (1 failure)
>>>   make[1]: *** [installed_osx] Error 65
>>>
>>>
>>> This is the same even after running
>>>
>>> roscd ogre_tools
>>> make clean
>>> CMAKE_OSX_ARCHITECTURES="i386" rosmake ogre_tools
>>>
>>>
>>>
>>> Any ideas?
>>>
>>>
>>> Thanks,
>>> billy
>>>
>>>
>>> _______________________________________________
>>> 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
>
>
>
> _______________________________________________
> 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.ros.org/pipermail/ros-users/attachments/20110630/d59465a5/attachment-0002.html>


More information about the ros-users mailing list