当我制作 libobjcipc 时出现此错误。 “'MSFindSymbol' 在 C99 中无效”
I get this error when i make the libobjcipc. " 'MSFindSymbol' is invalid in C99 "
https://github.com/a1anyip/libobjcipc
我从 github 下载了 libobjcipc 并制作了它,但出现错误消息说找不到。我将框架从 mac 的 usr/include 复制到 theos/include。然后我成功了,它说 "launch.h not found",我把它从 usr/include 复制到 theos/include。
但是我在做的时候遇到了一个新的错误。
错误如下:
IPC.m:83:27: error: implicit declaration of function 'MSFindSymbol' is invalid
in C99 [-Werror,-Wimplicit-function-declaration]
MSHookFunction(((int *)MSFindSymbol(NULL, "_BSAu...
1 error generated.
make[3]: *** [.theos/obj/armv7/IPC.m.1f7dac36.o] Error 1
make[2]: *** [.theos/obj/armv7/libobjcipc.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [libobjcipc.all.library.variables] Error 2
有人可以帮忙吗?
检查您是否拥有最新的 Substrate header(here 是 iPhoneDevWiki 上的故障排除部分)。
https://github.com/a1anyip/libobjcipc
我从 github 下载了 libobjcipc 并制作了它,但出现错误消息说找不到。我将框架从 mac 的 usr/include 复制到 theos/include。然后我成功了,它说 "launch.h not found",我把它从 usr/include 复制到 theos/include。 但是我在做的时候遇到了一个新的错误。
错误如下:
IPC.m:83:27: error: implicit declaration of function 'MSFindSymbol' is invalid
in C99 [-Werror,-Wimplicit-function-declaration]
MSHookFunction(((int *)MSFindSymbol(NULL, "_BSAu...
1 error generated.
make[3]: *** [.theos/obj/armv7/IPC.m.1f7dac36.o] Error 1
make[2]: *** [.theos/obj/armv7/libobjcipc.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [libobjcipc.all.library.variables] Error 2
有人可以帮忙吗?
检查您是否拥有最新的 Substrate header(here 是 iPhoneDevWiki 上的故障排除部分)。