Hi Ulrich, I haven't had a chance to look at your change yet, but independently made a revision to th FindFFmpeg.cmake to try and resolve this problem and find other problems under Windows. The revision I made disables the search for the stdint.h on all platforms except Winodws, so in theory should allow OSX to compile in exactly the same way as it previous did.
Could you do an svn update and see if my changes work fine? Thanks, Robert. On Wed, Jun 24, 2009 at 2:04 PM, Ulrich Hertlein<[email protected]> wrote: > Hi Robert, > > On 23/6/09 6:54 PM, Robert Osfield wrote: >> >> Thanks for tracking down the issue... sorry about the stdint.h being >> the cause... hopefully we'll be able to find a solution that works >> across the board. >> >> On Tue, Jun 23, 2009 at 3:41 PM, Ulrich Hertlein<[email protected]> >> wrote: >>> >>> ... >>> I've removed "~/Library/Frameworks" and "/Library/Frameworks" from >>> 'FindFFmpeg.cmake' and am re-compiling now. >> >> Would FFmpeg ever be a framework? Would it be fine just to roll this >> into svn/trunk? > > Unfortunately it didn't solve the problem. Even with those gone 'stdint.h' > is still found in /System/Library/Frameworks/Kernel.framework even though > '/System/Library' isn't even searched (and was not before). > > Searching in /System/Library/Frameworks is apparently default behaviour for > FIND_PATH(). > > There are ways to tweak that: include NO_DEFAULT_PATH in FIND_PATH(...) or > check frameworks last, after the standard libraries. I chose the latter > since it's hopefully less likely to break things for anyone else. > > Cheers, > /ulrich > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
