Ogre3d 1.9 + xcode 6.1 для iOS 7 выдают ошибку: использование необъявленного идентификатора ‘nullptr_t’; Вы имели в виду «nullptr»?

я пытаюсь скомпилировать Ogre3d 1.9 стабильный для iOS SDK, как с сайта
но это дает мне ошибку, я указал в xcode, чтобы использовать libc ++ и c ++ 11
как указано здесь: http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Building+From+Source+-+iPhone
Теперь я получаю те ошибки, которые есть (я думаю, что повышение связано)

In file included from /Users/foo/Documents/3d/Ogre3d/OgreSDK/Samples/Browser/src/SampleBrowser.cpp:42:
In file included from /Users/foo/Documents/3d/Ogre3d/OgreSDK/Samples/Browser/include/SampleBrowser_iOS.h:40:
In file included from /Users/foo/Documents/3d/Ogre3d/OgreSDK/Samples/Browser/include/SampleBrowser.h:31:
In file included from include/OGRE/SampleContext.h:32:
In file included from include/OGRE/OgreLogManager.h:32:
In file included from include/OGRE/OgrePrerequisites.h:32:
In file included from include/boost/tr1/tr1/string:16:
In file included from include/boost/tr1/detail/config_all.hpp:151:
In file included from include/boost/tr1/tr1/utility:21:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:157:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tuple:16:
In file included from include/boost/tr1/tr1/type_traits:22:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:297:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'?
template <>          struct __is_nullptr_t_impl<nullptr_t> : public true_type {};
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:297:49: error: template argument for template type parameter must be a type
template <>          struct __is_nullptr_t_impl<nullptr_t> : public true_type {};
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:296:17: note: template parameter is declared here
template <class _Tp> struct __is_nullptr_t_impl       : public false_type {};
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:507:52: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'?
template <> struct _LIBCPP_TYPE_VIS_ONLY is_scalar<nullptr_t> : public true_type {};
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:507:52: error: template argument for template type parameter must be a type
template <> struct _LIBCPP_TYPE_VIS_ONLY is_scalar<nullptr_t> : public true_type {};
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:500:17: note: template parameter is declared here
template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_scalar

что здесь не так?

1

Решение

Задача ещё не решена.

Другие решения


По вопросам рекламы [email protected]