Skip to content

Instantly share code, notes, and snippets.

@jarbot
Created June 17, 2014 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jarbot/0af2ace168d3b12030e0 to your computer and use it in GitHub Desktop.
Save jarbot/0af2ace168d3b12030e0 to your computer and use it in GitHub Desktop.
Mac osx 10.9 box2d emscripten errors
cpp -xc++ -DEM_NO_LIBCPP -IBox2D_v2.2.1 root.h > box2d.clean.h
In file included from root.h:20:
In file included from Box2D_v2.2.1/Box2D/Box2D.h:34:
In file included from Box2D_v2.2.1/Box2D/Common/b2Settings.h:23:
In file included from /usr/include/assert.h:44:
In file included from /usr/include/stdlib.h:61:
In file included from /usr/include/Availability.h:148:
/usr/include/AvailabilityInternal.h:4098:10: error: #else without #if
#else
^
/usr/include/AvailabilityInternal.h:4158:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_6
^
/usr/include/AvailabilityInternal.h:4131:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_5
^
/usr/include/AvailabilityInternal.h:4108:10: error: unterminated conditional directive
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_4
^
4 errors generated.
make: *** [box2d.clean.h] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment