0

It ran fine before, but after upgrading to Xcode 10, my c++ Box2D game no longer runs. Been working on this same project for years, upgraded through lots of Xcode versions without any issues before.

The error:

Lexical or Preprocessor Issue: 'memory' file not found in b2Body.h

Tried Clean Build Folder, no luck. My desktop is on Mojave, my laptop is on High Sierra, so OS version seems irrelevant, but the game ran fine on Xcode 9.

Any other ideas?

genpfault
  • 51,148
  • 11
  • 85
  • 139
Dylan
  • 45
  • 1
  • 8
  • You've tested that you can still build a simple "hello world" program? – user4581301 Nov 28 '18 at 00:55
  • Didn't Xcode deprecate std/libc++? I wonder if this is related. Assuming your error message is referring to `` or ``. –  Nov 28 '18 at 01:19
  • Possible duplicate of [ld: library not found for -lstdc++.6](https://stackoverflow.com/questions/51060596/ld-library-not-found-for-lstdc-6) – Retired Ninja Nov 28 '18 at 02:09

1 Answers1

0

Turned out to be a relatively simple solution. Box2D, the physics engine, needed updated to the latest version (likely the developers of the library fixed that std/libc++ issue mentioned above since the last time downloaded it).

Dylan
  • 45
  • 1
  • 8