Talk:OpenSceneGraph: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 59: Line 59:
Never mind the "fiddling" - but I used that, since the line will be complete magic to most users - they will have no idea what they are doing there. Also, this changes a released file permanently - which is why I wouldn't call the approach "clean" either ;-). That line will probably help Debain/Ubuntu users - but I may actually be an issue for other systems. The advantage of the symlink is that it doesn't change any file - and it's not doing any harm. Anyway, just go ahead and update the page - I think we've analyzed the issue fairly well now ;-).
Never mind the "fiddling" - but I used that, since the line will be complete magic to most users - they will have no idea what they are doing there. Also, this changes a released file permanently - which is why I wouldn't call the approach "clean" either ;-). That line will probably help Debain/Ubuntu users - but I may actually be an issue for other systems. The advantage of the symlink is that it doesn't change any file - and it's not doing any harm. Anyway, just go ahead and update the page - I think we've analyzed the issue fairly well now ;-).
--[[User:ThorstenB|ThorstenB]] 17:50, 22 November 2011 (EST)
--[[User:ThorstenB|ThorstenB]] 17:50, 22 November 2011 (EST)
I had a closer look at the new CMake feature and implemented it for simgear (so simgear libraries are correctly installed in /lib64 for non-Debian distros). I'll also provide a patch to OSG which uses the new CMake auto-detection.
However, OSG already provides a documented switch to specify whether "lib" or "lib64" shall be used:
    LIB_POSTFIX: suffix for 32/64 dir placement
So, just call:
    cmake ... -DLIB_POSTFIX=""
to install OSG in "lib" and override the current OSG default of using "lib64" on all 64bit CPUs. Please use this switch for the description in the Wiki. Later OSG versions may no longer this switch to be configured manually - if my patch was accepted.
--[[User:ThorstenB|ThorstenB]] 07:45, 25 November 2011 (EST)
159

edits

Navigation menu