Dobby
Dobby copied to clipboard
编译Mac库时报错
运行命令:python3 scripts/platform_builder.py --platform=macos --arch=all 报错:source/core/assembler/assembler-x64.h:8:10: fatal error: 'MemoryAllocator/CodeBuffer/code_buffer_x64.h' file not found 、pac_kit.h:11:1: error: unknown type name 'template', 编译不通过
cmake version 3.28.1
+1
+1
/Users/dengjian/project/xxxx/poc/Dobby/./source/core/assembler/assembler-x64.h:8:10: fatal error: 'MemoryAllocator/CodeBuffer/code_buffer_x64.h' file not found
#include "MemoryAllocator/CodeBuffer/code_buffer_x64.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/dobby.dir/build.make:202: CMakeFiles/dobby.dir/source/InstructionRelocation/x86/InstructionRelocationX86Shared.cc.o] Error 1
2 errors generated.
make[3]: *** [CMakeFiles/dobby.dir/build.make:216: CMakeFiles/dobby.dir/source/InstructionRelocation/x64/InstructionRelocationX64.cc.o] Error 1
14 errors generated.
make[3]: *** [CMakeFiles/dobby.dir/build.make:230: CMakeFiles/dobby.dir/source/InstructionRelocation/x86/x86_insn_decode/x86_insn_decode.c.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:144: CMakeFiles/dobby.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:151: CMakeFiles/dobby.dir/rule] Error 2
make: *** [Makefile:124: dobby] Error 2
Traceback (most recent call last):
File "/Volumes/devSSD/project/xxxx/poc/Dobby/scripts/platform_builder.py", line 243, in
and I use this commit instand:
commit 52cc0286d9709ede91ac84d7260de21d2273b0af (HEAD) Author: jmpews [email protected] Date: Fri Mar 3 12:54:12 2023 +0800
Cleanup code, and fix build script
+1