Skip to content

Instantly share code, notes, and snippets.

@jimjeffers
Created February 26, 2015 00:36
Show Gist options
  • Save jimjeffers/00a06c64d789ad265d00 to your computer and use it in GitHub Desktop.
Save jimjeffers/00a06c64d789ad265d00 to your computer and use it in GitHub Desktop.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/utility:237:19: No member named 'move' in namespace 'std::__1'
/Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/Platform/Apple/RDServices/Main/RDNavigationElement.mm:31:9: In file included from /Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/Platform/Apple/RDServices/Main/RDNavigationElement.mm:31:
/Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/Platform/Apple/include/ePub3/nav_element.h:24:10: In file included from /Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/Platform/Apple/include/ePub3/nav_element.h:24:
/Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/Platform/Apple/include/ePub3/epub3.h:25:10: In file included from /Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/Platform/Apple/include/ePub3/epub3.h:25:
/Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/Platform/Apple/include/ePub3/utilities/basic.h:31:10: In file included from /Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/Platform/Apple/include/ePub3/utilities/basic.h:31:
/Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/ePub3/ThirdParty/boost/include/boost/tr1/tr1/sstream:16:12: In file included from readium-sdk/ePub3/ThirdParty/boost/include/boost/tr1/tr1/sstream:16:
/Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/ePub3/ThirdParty/boost/include/boost/tr1/detail/config_all.hpp:151:17: In file included from readium-sdk/ePub3/ThirdParty/boost/include/boost/tr1/detail/config_all.hpp:151:
/Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/ePub3/ThirdParty/boost/include/boost/tr1/tr1/utility:21:20: In file included from readium-sdk/ePub3/ThirdParty/boost/include/boost/tr1/tr1/utility:21:
In file included from /Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/Platform/Apple/RDServices/Main/RDNavigationElement.mm:31:
In file included from /Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/Platform/Apple/include/ePub3/nav_element.h:24:
In file included from /Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/Platform/Apple/include/ePub3/epub3.h:25:
In file included from /Users/jim/Documents/Xcode/ReadiumTestApp/readium-sdk/Platform/Apple/include/ePub3/utilities/basic.h:31:
In file included from readium-sdk/ePub3/ThirdParty/boost/include/boost/tr1/tr1/sstream:16:
In file included from readium-sdk/ePub3/ThirdParty/boost/include/boost/tr1/detail/config_all.hpp:151:
In file included from readium-sdk/ePub3/ThirdParty/boost/include/boost/tr1/tr1/utility:21:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:237:19: error: no member named 'move' in namespace 'std::__1'
return _VSTD::move(__x);
~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:386:16: error: no member named 'iter_swap' in namespace 'std::__1'
_VSTD::iter_swap(&first, &__p.first);
~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:387:16: error: no member named 'iter_swap' in namespace 'std::__1'
_VSTD::iter_swap(&second, &__p.second);
~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:450:10: error: expected a qualified name after 'typename'
typename enable_if
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:449:1: error: 'inline' can only appear on functions
inline _LIBCPP_INLINE_VISIBILITY
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:450:19: error: expected ';' at end of declaration
typename enable_if
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:452:19: error: expected '>'
__is_swappable<_T1>::value &&
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:452:20: error: cannot find protocol declaration for '_T1'
__is_swappable<_T1>::value &&
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:452:26: error: no type named 'value' in the global namespace
__is_swappable<_T1>::value &&
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:453:5: error: declaration of reference variable '__is_swappable' requires an initializer
__is_swappable<_T2>::value,
^~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:453:19: error: expected ';' after top level declarator
__is_swappable<_T2>::value,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:453:20: error: cannot find protocol declaration for '_T2'
__is_swappable<_T2>::value,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:453:26: error: definition or redeclaration of 'value' cannot name the global scope
__is_swappable<_T2>::value,
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:453:26: error: C++ requires a type specifier for all declarations
__is_swappable<_T2>::value,
~~~~~ ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:453:26: error: no member named 'value' in the global namespace
__is_swappable<_T2>::value,
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:453:31: error: expected ';' at end of declaration
__is_swappable<_T2>::value,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:455:1: error: expected unqualified-id
>::type
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:508:14: error: unknown template name 'integral_constant'
: public integral_constant<size_t, 2> {};
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:512:14: error: unknown template name 'integral_constant'
: public integral_constant<size_t, 2> {};
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
@rkwright
Copy link

@jimjeffers Ah, I bet it is because you aren't invoking
SDKLauncher-iOS/readium-sdk/Platform/Apple/MakeHeaders.sh
This copies a slew of header files to where the readium-sdk project expects them (I don't like this step but that's another story see issue #140). Not sure offhand where in the XCode project that script is invoked. Take a look in the readium-sdk project.

take a look at Build Script in Build Phases:
cd ${SRCROOT}/../..
sh MakeHeaders.sh Apple

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment