Thanks Stephan, changes now merged and submitted to svn/trunk.

On 1 November 2013 14:17, Stephan Maximilian Huber <
[email protected]> wrote:

> Hi Robert,
>
> don’t know if this submission made it into subversion. Jan tested it on
> his end, and it seem to work fine.
>
> cheers,
>
> Stephan
>
> Anfang der weitergeleiteten Nachricht:
>
> *Von: *Stephan Maximilian Huber <[email protected]>
> *Betreff: **Aw: [osg-users] [build] Build Problem with osgGA at MacOS
> with Xcode 5*
> *Datum: *18. Oktober 2013 11:17:24 MESZ
> *An: *OpenSceneGraph Users <[email protected]>
>
> Hi Jan,
>
> attached you'll find a possible solution for the issue. This will add a
> new option to cmake called OSG_CXX_LANGUAGE_STANDARD which defaults to
> C++11. If you set it to C++98 it will setup the project accordingly.
>
> Can you test the modifications on your end?
>
> cheers,
>
> Stephan
>
>
>
>
> Am 18.10.2013 um 10:57 schrieb Robert Osfield <[email protected]>:
>
> Hi Jan,
>
> I don't have experience with the latest dev tools under OSX so have to
> defer to members of the community that do.  Stephan's follow up email
> suggests that the current mix of what works and doesn't work under iOS and
> OSX isn't quite a straight forward as it really should be, alas this seems
> to be how it is under Apple's world of ever moving targets - because of
> this it's the most costly platforms to support and needs the community
> using Apple to pitch in to keep up.  If Stephan, yourself and/or others
> come up with a Cmake tweaks to try address these various problems then I'll
> review these.  What is clear that we'll need testing as follow up.
>
> Cheers,
> Robert.
>
>
> On 18 October 2013 09:25, Jan Klimke <[email protected]> wrote:
>
>> Hi Robert,
>>
>> thanks for you reply.
>>
>> I am pretty sure that the settings did not change. But what i noticed is
>> that the build is running better when libc++ and the c++11 standard is used
>> when compiling.
>>
>> Currently if there is a clang compiler, the standard used is still c++98.
>> This is currently hard coded and not configurable from cmake. Since
>> dependent projects use the c++11 standard and libc++ as standard library
>> implementation, there are linking issues if osg is not build with libc++
>> due to incompatibilities of std::string in libstdc++ and libc++
>>
>>
>> I had to adapt some plugins (added some casts to remove compiling errors)
>> in oder to make osg compile. Do you think it is useful to switch the c++
>> versions in CMAKE at least for newer CLANG versions.
>>
>> The current Xcode provides the clang 5 as default compiler.
>>
>> Do you think these changes could be integrated into osg and the defaults
>> can be changed to libc++ and c++11 for clang compiling ?
>>
>> Thank you!
>>
>> Cheers,
>> Jan
>>
>> ------------------
>> Read this topic online here:
>> http://forum.openscenegraph.org/viewtopic.php?p=56849#56849
>>
>>
>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
>
> _______________________________________________
> 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

Reply via email to