Import substrate.h error
Opened this issue · 0 comments
recently I'm compile the source code, but I have the next error:
In file included from Tweak.xm:1: In file included from /OS-Mod-Menu-Template-for-Theos/template/Macros.h:13: /theos/vendor/include/substrate.h:45:1: error: import of C++ module 'MachO.nlist' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c] #include <mach-o/nlist.h> ^ /theos/vendor/include/substrate.h:43:1: note: extern "C" language linkage specification begins here extern "C" { ^ 1 error generated. make[3]: *** [/iOS-Mod-Menu-Template-for-Theos/template/.theos/obj/arm64/Tweak.xm.69798639.o] Error 1 make[2]: *** [/iOS-Mod-Menu-Template-for-Theos/template/.theos/obj/arm64/@@PROJECTNAME@@.dylib] Error 2 make[1]: *** [internal-library-all_] Error 2 make: *** [@@PROJECTNAME@@.all.tweak.variables] Error 2