number317 / ssh-tool

A small tool to manage ssh in terminal
8 stars 0 forks source link

mac m1下不能用 #1

Open rhkjyn opened 3 years ago

rhkjyn commented 3 years ago

mac m1下不能用,帮更新下代码。谢谢

rhkjyn commented 3 years ago

报错如下: gcc -lncurses -lconfig -std=c11 -c -o config.o config/config.c clang: warning: -lncurses: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lconfig: 'linker' input unused [-Wunused-command-line-argument] In file included from config/config.c:5: config/config.h:3:10: fatal error: 'libconfig.h' file not found

include

     ^~~~~~~~~~~~~

1 error generated. make: *** [config.o] Error 1