[osg-submissions] Fwd: [osg-users] Compile Errors 2.4 Release Mac OS X

Robert Osfield robert.osfield at gmail.com
Mon May 26 13:16:44 PDT 2008


Thanks Philip, your changes to CMakeLists.txt are now checked into SVN.

On Fri, May 9, 2008 at 10:05 PM, Philip Lowman <philip at yhbt.com> wrote:
> On Fri, May 9, 2008 at 3:37 PM, Robert Osfield <robert.osfield at gmail.com>
> wrote:
>>
>> Hi Philip,
>>
>> On Fri, May 9, 2008 at 5:39 PM, Philip Lowman <philip at yhbt.com> wrote:
>> > 1. Negate the test so that it "suceeds" on most platforms, ....
>> <
>> > 2. Skip running the compilation test on Linux & Windows ....
>> >
>> > 3. Revert the patch and have the OS X developers come up with some other
>> > way
>> > to determine if the system is Leopard or not so the CMake option can
>> > be...
>> >
>> > 4. Suppress output of the test by copying the functionality in
>> > CheckCXXSourceCompiles.cmake ...
>> >
>> > 5. Change the name of the test to be more descriptive or preface it with
>> > a
>> > call to MESSAGE(STATUS ...) so that users are informed that it failing
>> > is no
>> > big deal
>>
>> A better message would be useful regardless of any other changes,
>> w.r.t 3, this problem isn't just a leopard issue, it would actually
>> happen under CMake build occassionally on prior version of OSX, it
>> looked like it was alternately finding the GLX gl.h and the the
>> frameworks version of gl.h.
>>
>> I think perhaps 2 would be the best one to do right away, follow up by
>> better naming.
>
> Robert,
>
> I changed the test name to be a little easier to understand and defaulted
> Linux & Windows builds to false and to skip the compile check as you
> desired.
>
> --
> Philip Lowman
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>


More information about the osg-submissions mailing list