Open karmamaster opened 3 years ago
Can you check if the header you’re using (likely $THEOS/vendor/lib/Cephei.framework/Headers/HBOutputForShellCommand.h
) has __BEGIN_DECLS
and __END_DECLS
? Should match this: https://github.com/hbang/libcephei/blob/33eed31d64778b9c6ba8b2d34514f29286ec71a7/HBOutputForShellCommand.h
As an alternative, if you’re not using any C++ features, you could just rename the file to main.m.
I solved this by copy the HBOutputForShellCommand.h to my project and import it directly from my processDataClass.mm file. And about the HBOutputForShellCommand.h, I was checked it and it has __BEGIN_DECLS
and __END_DECLS
in the file. Furthermore, I see the last line is NS_ASSUME_NONNULL_END
, it's just exactly as in: https://github.com/hbang/libcephei/blob/33eed31d64778b9c6ba8b2d34514f29286ec71a7/HBOutputForShellCommand.h
Believe this issue can be closed aswell.
Hello, Currently I am linking one tweak and one tool with Makefile like this:
The tweak just built fine with both armv7 and arm64. But for the tool Theos can not build it due to this error:
I don't know why but it is linking fine with the tweak, I have double check the framework and it still there.
Please check this issue.