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@auburn.edu
wjwwood@gmail.com
williamjwoodall.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Tue, Jun 28, 2011 at 6:43 AM, William Woodall <
wjwwood@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@auburn.edu
> wjwwood@gmail.com
> williamjwoodall.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
> On Sun, Jun 26, 2011 at 6:16 AM, Billy Okal <okal.billy@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@code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>