ez8-co / emock

🐞 下一代C/C++跨平台mock库 (Next generation cross-platform mock library for C/C++)
Apache License 2.0
118 stars 35 forks source link

mac os compile error #9

Closed xiaolang315 closed 2 years ago

xiaolang315 commented 4 years ago

cmake info: -- The C compiler identification is AppleClang 11.0.0.11000033 -- The CXX compiler identification is AppleClang 11.0.0.11000033 -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /Users/xxx/code/emock/build

compile info: [ 1%] Building CXX object src/CMakeFiles/emock.dir/SymbolRetriever.cpp.o /Users/zhangchao/code/emock/src/SymbolRetriever.cpp:30:11: fatal error: 'link.h' file not found

include

             ^~~~~~~~

1 error generated.

orca-zhang commented 4 years ago

Remove this line to check which function is related with link.h, then find out an alternative solution.

include

orca-zhang commented 2 years ago

最新支持了MacOS,可以尝试一下。

orca-zhang commented 2 years ago

issue先关闭啦,如果还有问题可以reopen或者再开issue反馈哦,感谢反馈