-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
I did the following steps :
1.
cmake -S . -B build -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk"
2.
cmake --build build
Compilation fails with the following error:
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/cstdint:149:5: error: <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> header. This usually means that your header search paths are not configured properly. The header search paths should contain the C++ Standard Library headers before any C Standard Library, and you are probably using compiler flags that make that not be the case.
149 | # error <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> header. \
| ^
- The issue got fixed by commenting out the following line :
Line 54 in 4508553
include_directories(${CURL_INCLUDEDIR})
NOTE: instruction suggests to apply cmake --build build -DCMAKE_OSX_SYSROOT="..." , however this fails and I did a configuration with 1. (described above)
Metadata
Metadata
Assignees
Labels
No labels