jmpews / Dobby

a lightweight, multi-platform, multi-architecture hook framework.
Apache License 2.0
3.98k stars 822 forks source link

为什么我在make的时候报头文件找不到的错误 #46

Closed paradiseduo closed 5 years ago

paradiseduo commented 5 years ago

➜ HookZz-master make -j4 Scanning dependencies of target hookzz [ 16%] Building CXX object CMakeFiles/hookzz.dir/srcxx/vm_core/base/page-allocator.cc.o [ 16%] Building CXX object CMakeFiles/hookzz.dir/srcxx/vm_core/logging.cc.o [ 16%] Building CXX object CMakeFiles/hookzz.dir/srcxx/intercept_routing_handler.cc.o [ 16%] Building CXX object CMakeFiles/hookzz.dir/srcxx/vm_core/arch/cpu.cc.o warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the commandwarning : line to use includethe pathlibc++ forstandard stdlibc++library headersinstead not[-Wstdlibcxx-not-found] found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] In file included from /Users/youssef/Downloads/HookZz-master/srcxx/vm_core/logging.cc:1: In file included from /Users/youssef/Downloads/HookZz-master/./srcxx/vm_core/logging.h:4: /Users/youssef/Downloads/HookZz-master/./srcxx/vm_core/platform/platform.h:4:10: fatal error: 'cstdarg' file not found

include

     ^~~~~~~~~

In file included from /Users/youssef/Downloads/HookZz-master/srcxx/intercept_routing_handler.cc:1: In file included from /Users/youssef/Downloads/HookZz-master/./srcxx/intercept_routing_handler.h:4: /Users/youssef/Downloads/HookZz-master/./srcxx/AssemblyClosureTrampoline.h:4:10: fatal error: 'iostream' file not found

include

     ^~~~~~~~~~

1 warning generated. [ 20%] Building CXX object CMakeFiles/hookzz.dir/srcxx/vm_core/objects/code.cc.o In file included from /Users/youssef/Downloads/HookZz-master/srcxx/vm_core/arch/cpu.cc:2: In file included from /Users/youssef/Downloads/HookZz-master/./srcxx/vm_core/arch/cpu.h:4: In file included from /Users/youssef/Downloads/HookZz-master/./srcxx/vm_core/globals.h:4: In file included from /Users/youssef/Downloads/HookZz-master/./srcxx/vm_core/macros.h:7: In file included from /Users/youssef/Downloads/HookZz-master/./srcxx/vm_core/logging.h:4: /Users/youssef/Downloads/HookZz-master/./srcxx/vm_core/platform/platform.h:4:10: fatal error: 'cstdarg' file not found

include

     ^~~~~~~~~

1 warning and 1 error generated. warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] make[2]: [CMakeFiles/hookzz.dir/srcxx/vm_core/logging.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... 1 warning and 1 error generated. 1 warning and 1 error generated. make[2]: [CMakeFiles/hookzz.dir/srcxx/vm_core/arch/cpu.cc.o] Error 1 make[2]: [CMakeFiles/hookzz.dir/srcxx/intercept_routing_handler.cc.o] Error 1 In file included from /Users/youssef/Downloads/HookZz-master/srcxx/vm_core/objects/code.cc:1: In file included from /Users/youssef/Downloads/HookZz-master/./srcxx/vm_core/objects/code.h:4: In file included from /Users/youssef/Downloads/HookZz-master/./srcxx/vm_core/globals.h:4: In file included from /Users/youssef/Downloads/HookZz-master/./srcxx/vm_core/macros.h:7: In file included from /Users/youssef/Downloads/HookZz-master/./srcxx/vm_core/logging.h:4: /Users/youssef/Downloads/HookZz-master/./srcxx/vm_core/platform/platform.h:4:10: fatal error: 'cstdarg' file not found

include

     ^~~~~~~~~

1 warning and 1 error generated. make[2]: [CMakeFiles/hookzz.dir/srcxx/vm_core/objects/code.cc.o] Error 1 make[1]: [CMakeFiles/hookzz.dir/all] Error 2 make: *** [all] Error 2