ogre 1.9 iOSDependencies libstdc++ vs libc++

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
supadenz
Halfling
Posts: 41
Joined: Sat Feb 16, 2013 2:18 am
x 1

ogre 1.9 iOSDependencies libstdc++ vs libc++

Post by supadenz »

I downloaded the 1.9 iOSDependencies from sourceforge and it seems they are compiled with -stdlib=libc++.

Unfortunately, as most of my rather large external code base uses libstdc++ and doesn't like me switching to libc++, i need, at least for now, to compile ogre 1.9 in the same way.

Has anyone built the 1.9 iOSDependencies using libstdc++ instead of libc++? If so, are they posted somewhere? I was hoping to avoid building them myself.
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: ogre 1.9 iOSDependencies libstdc++ vs libc++

Post by masterfalcon »

Which file did you download?
supadenz
Halfling
Posts: 41
Joined: Sat Feb 16, 2013 2:18 am
x 1

Re: ogre 1.9 iOSDependencies libstdc++ vs libc++

Post by supadenz »

I downloaded what seemed to be the most up to date dependencies package:

http://sourceforge.net/projects/ogre/fi ... 131002.dmg
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: ogre 1.9 iOSDependencies libstdc++ vs libc++

Post by masterfalcon »

Try this one. http://sourceforge.net/projects/ogre/fi ... p/download That other one shouldn't be there. This is what is linked from http://www.ogre3d.org/download/source
supadenz
Halfling
Posts: 41
Joined: Sat Feb 16, 2013 2:18 am
x 1

Re: ogre 1.9 iOSDependencies libstdc++ vs libc++

Post by supadenz »

Ok. Will do. To be clear, those are compiled with libstdc++?
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: ogre 1.9 iOSDependencies libstdc++ vs libc++

Post by masterfalcon »

Yes, that's correct.
User avatar
PsyCowboy
Halfling
Posts: 74
Joined: Fri Apr 24, 2009 8:01 am

Re: ogre 1.9 iOSDependencies libstdc++ vs libc++

Post by PsyCowboy »

I just want to add a note on this issue.
It should be also the case on Mac OS X, because Mavericks and xcode 5.0.1 dropped the support of GNU g++.
More information there: http://stackoverflow.com/questions/1963 ... 9#19637199

I don't know if it's the case or not, but I think the Ogre build system should contain a mechanism to choose between clang and gcc, and respectively between libc++ and libstdc++. I'd rather add that the next releases should drop the libstdc++ dependency and used by default libc++ for a long term support on new Mac OS X releases.
SufferinPup
Greenskin
Posts: 119
Joined: Tue Mar 02, 2010 11:09 pm
x 2

Re: ogre 1.9 iOSDependencies libstdc++ vs libc++

Post by SufferinPup »

The older libstdc++ version was compiled against iOS 6.0 so it doesn't have arm64, while the newer iOS 7.0 version does have arm64 but is libc++.

Anyone compiled a libstdc++ version with arm64 in iOS 7.0 or 8.0?
Post Reply