[osg-users] Building OSG on Mac OS X 10.11.5

Wietse Jacobs wietse.j at gmail.com
Tue Jun 14 00:45:17 PDT 2016


Hello François,

On Mon, Jun 13, 2016 at 4:23 PM François Bérard <francois.berard at imag.fr>
wrote:

> Wietse,
>
>    I'm only using clang and its libc++ library. If you are using
> gcc/libstdc++, that may well explain the difference. But gcc/libstdc++
> is the standard on linux, and ref_ptr compiles fine there.
>
>    Do you *have to* use gcc? Otherwise, it may be easier to go with
> clang; which, I think, is the native toolchain on Mac OS. By the way, a
> simple unzip, cmake, should select a clang build. Did you force gcc? One
> thing that I noticed is that when I create new Xcode projects/targets,
> xcode insists on overriding the default clang/libc++ by gcc/libstdc++ in
> the new project or target, so I have to remove the override by hand. Did
> you use cmake's xcode generator? This may explain why you had a gcc build.
>

Sorry for the confusion, but I am using clang. I started with:
    >> cmake -G "Unix Makefiles"

Wietse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160614/26f2335c/attachment-0002.htm>


More information about the osg-users mailing list