Closed singingwolfboy closed 4 years ago
Are you building from the master
branch or the new_phone_number
branch? I haven't put any commits into master
for a while, so if you're building master
, it's probably a change in your development environment.
The errors seem to be in headers that are transitively included by the libphonenumber
headers, so it may also be related to the version of libphonenumber
you're using, but if you haven't changed which version of libphonenumber
you're using, it's probably a problem with the Xcode toolchain.
I just checked, and the problem exists on both the master
branch and the new_phone_number
branch. ☹️
Upgrading to macOS Catalina, deleting and reinstalling Xcode, and deleting and reinstalling Homebrew solved the problem.
I was able to build this project in the past, and now I can't. I'm not sure if the error is caused by changes in the project, or changes in my development environment.
traceback for first problem
I was able to work around that by adding
/usr/local/include
to the list of include paths for C++ -- I installed libphonenumber via Homebrew, and Homebrew keeps everything under/usr/local
.After I fixed that, I ran into a different issue:
traceback for second issue
I have not found a workaround for this issue. It appears that the latest development toolchain on macOS has problems with the
<cmath>
headers -- I think this is the same problem.I'm running macOS 10.14.6, Xcode 11.2.1. Not sure what other debugging information would be useful.