-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile issue with mac os 11.7.10 #600
Comments
Does it work better if in neo/sys/platform.h:242 you replace (That compile error is surprising anyway, because I think even C++98 had |
Try updating your xcode, maybe you have a buggy version |
this error in multiple c++ files clang: warning: clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] When i replace csrddef.h /Users/mansch/Downloads/dhewm3/neo/sys/platform.h:242:10: fatal error: 'cstddef.h' file not found |
i don't use xcode Apple clang version 13.0.0 (clang-1300.0.29.30) i use only 2 coomands: git pull && make -j8 |
you should also run cmake at some point (maybe cmake needs updating?)
I wrote
Why is your clang trying to use libstdc++ for 10.7 even though the headers aren't available? Seems pretty broken (and not set like that by dhewm3's CMakeLists.txt, i.e. it must be the default from either the compiler itself or cmake) |
Have you tried creating a new build directory and running cmake in there to generate new makefiles? |
i change to <stddef.h> /Users/mansch/Downloads/dhewm3/neo/sys/platform.h:243:10: fatal error: 'typeinfo' file not found |
i delete build dir, then /Users/mansch/Downloads/dhewm3/neo/sys/platform.h:243:10: fatal error: 'typeinfo' file not found |
user @tomkidd reverse cmakelist.txt form mmacosx-version-min=10.9 to mmacosx-version-min=10.7
but with this settings i have complie error:
/Users/mansch/Downloads/dhewm3/neo/sys/platform.h:242:10: fatal error: 'cstddef' file not found
i think we need for mac more complex compile logic
The text was updated successfully, but these errors were encountered: