4 | | No, it does not. |
5 | | 1. removed CLT with |
6 | | {{{ |
7 | | rm -fr /Library/Developer/CommandLineTools |
8 | | }}} |
9 | | |
10 | | 2. Installed Xcode |
11 | | 3. Verified I have Xcode active (also accepted license in the process) |
12 | | |
13 | | {{{ |
14 | | $ clang --version |
15 | | Apple clang version 16.0.0 (clang-1600.0.26.3) |
16 | | Target: arm64-apple-darwin24.0.0 |
17 | | Thread model: posix |
18 | | InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin |
19 | | $ xcode-select -p |
20 | | /Applications/Xcode.app/Contents/Developer |
21 | | }}} |
22 | | |
23 | | |
24 | | 4. Got the same error while building **db48** |
25 | | |
26 | | |
27 | | {{{ |
28 | | :info:build ./libtool --mode=compile /usr/bin/clang++ -stdlib=libc++ -c -I. -I../dist/.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -pipe -Os -stdlib=libc++ -is |
29 | | ysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64 ../dist/../cxx/cxx_logc.cpp |
30 | | :info:build In file included from ../dist/../cxx/cxx_db.cpp:13: |
31 | | :info:build ./db_cxx.h:59:10: fatal error: 'iostream.h' file not found |
32 | | :info:build 59 | #include <iostream.h> |
33 | | :info:build | ^~~~~~~~~~~~ |
34 | | }}} |
35 | | |
36 | | iostream.h file is there: |
37 | | |
38 | | |
39 | | {{{ |
40 | | $ find /Applications/Xcode.app -iname iostream.h |
41 | | /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/IOKit/stream/IOStream.h |
42 | | }}} |
43 | | |
44 | | Noting that include path is still |
45 | | {{{ |
46 | | -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk |
47 | | }}} |
48 | | |
49 | | |
50 | | {{{ |
51 | | $ ls /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk |
52 | | ls: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk: No such file or directory |
53 | | }}} |
| 4 | Yes, it does work after installing XCode **and uninstalling and cleaning**, then installing db48. |