The topic is slightly off because I haven’t actually gotten to the part where I build Komodo Edit yet. I get these errors when building Mozilla. But I’m thinking that I’ll continue in this thread when I run into issues in the Komodo build as well I’m building on MacOS Mojave 10.14.6. I’m pretty sure I have installed all dependencies mentioned in BUILD.txt.
0:04.14 In file included from psutil/_psutil_osx.c:9: 0:04.14 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:33:10: fatal error: 'stdio.h' file not found 0:04.14 #include <stdio.h> 0:04.14 ^~~~~~~~~ 0:04.14 1 error generated. 0:04.14 error: command '/usr/bin/clang' failed with exit status 1 0:04.14 0:04.14 Error processing command. Ignoring because optional. (optional:setup.py:python/psutil:build_ext:--inplace)
It says this one is optional but if I’m going to do this seriously I would like to have all the parts.
9:37.67 video_capture_qtkit_info.o 9:37.72 In file included from /Users/jesper/repos/KomodoEdit/mozilla/build/moz3500-ko10.10/mozilla/media/webrtc/trunk/webrtc/modules/v ideo_capture/mac/qtkit/video_capture_qtkit.mm:11: 9:37.72 /Users/jesper/repos/KomodoEdit/mozilla/build/moz3500-ko10.10/mozilla/media/webrtc/trunk/webrtc/modules/../../webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit.h:14:9: fatal error: 'QTKit/QTKit.h' file not found 9:37.72 #import <QTKit/QTKit.h> 9:37.72 ^~~~~~~~~~~~~~~ 9:37.72 /Users/jesper/repos/KomodoEdit/mozilla/build/moz3500-ko10.10/mozilla/media/webrtc/trunk/webrtc/modules/../../webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit.h:14:9: note: did not find header 'QTKit.h' in framework 'QTKit' (loaded from '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks')
This one seems to be the actual error that causes the build to fail. The log file contains 1.3 million lines of warnings so I hope that I found the right part here.
This page suggests that QTKit.h is deprecated: https://developer.apple.com/documentation/qtkit
I know this is third party code but I hope that someone might have seen this and know what to do about it.