Thanks for the tutorial and the menu template.
I faced below error when executing "make", and it fails, is it because that I am on 15.0? Thanks!
==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building
> Making all for tweak SpiritMenu…
==> Compiling Button.mm (arm64)…
In file included from Button.mm:1:
In file included from ./include.h:18:
./5Toubun/dobby.h:9:1: error: import of C++ module 'std_stdint_h' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
9 | #include <stdint.h>
| ^
./5Toubun/dobby.h:5:1: note: extern "C" language linkage specification begins here
5 | extern "C" {
| ^
1 error generated.
make[3]: *** [/Users/jiamingli/iOS_patches/SpiritMenu/.theos/obj/arm64/Button.mm.1c703da5.o] Error 1
make[2]: *** [/Users/jiamingli/iOS_patches/SpiritMenu/.theos/obj/arm64/SpiritMenu.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [SpiritMenu.all.tweak.variables] Error 2
Update: I added -Wno-module-import-in-extern-c in Makefile $(TWEAK_NAME)_CFLAGS and it went through, not sure if this is the right way