[osg-users] Compiler discomfort on IRIX at OpenFlight plugin
robert.osfield at gmail.com
Mon Jul 21 16:16:32 PDT 2008
On Tue, Jul 22, 2008 at 12:02 AM, Martin Spott <Martin.Spott at mgras.net> wrote:
> Ok, the main difference between my workaround and your fix is, as it
> seems, that your fix is technically correct :-)
> Tadaaaa, I didn't catch your 'ImageSequence' stuff, but the previous
> state in SVN compiles properly _and_ I'm now able to load the PV-demo
> scenery. Thanks for taking care of this !
Thanks for the testing and feedback.
Now if you could just test the build of ImageSequence stuff :-)
> I have a little side note concerning CMake's habits on IRIX. Apparently
> N32 is the default output format on IRIX for OSG - compiler calls often
> look like this one:
> /usr/bin/CC -DEFAULT:abi=n32:isa=mips4:proc=r10k [...] -n32
> This appears to be pre-defined somewhere in the CMake defaults .... at
> least I guess so - CMake "version 2.4-patch 6" working here.
> So, I have a $LD_LIBRARYN32_PATH which includes, among other
> directories, '/usr/freeware/lib32'. I also have a $LD_LIBRARY64_PATH
> which includes '/usr/freeware/lib64' That's entirely fine.
> Yet, after running 'cmake' with not a single LD_LIBRARY_PATH-related
> option, I always find references to '/usr/freeware/lib64' in the two
> 'src/osgPlugins/gif/CMakeFiles/osgdb_gif.dir/*link.txt' files, even
> though N32 is the default.
> This doesn't trouble me, I'm used to run a simple script to fix these
> before calling 'make', it would just be "nice to have" if this would
> get handled properly by 'cmake'.
Alas I'm no CMake expert, perhaps others on the list can spot an easy
way to get things compiling smoothly.
More information about the osg-users