apigee / apib

A simple, fast HTTP and API benchmarking tool
Apache License 2.0
290 stars 36 forks source link

error #27

Open 306094061 opened 3 years ago

306094061 commented 3 years ago

In file included from /home/pirate/optool/apib-master/apib/apib_io_basic.cc:29:0: /home/pirate/optool/apib-master/apib/apib_iothread.h:36:16: fatal error: ev.h: No such file or directory

include "ev.h"

            ^

compilation terminated. make[3]: [apib/CMakeFiles/io.dir/apib_io_basic.cc.o] Error 1 make[2]: [apib/CMakeFiles/io.dir/all] Error 2 make[1]: [apib/CMakeFiles/apib.dir/rule] Error 2 make: [apib] Error 2

danfe commented 3 years ago

fatal error: ev.h: No such file or directory

include "ev.h"

Recent versions of apib require libev now, which is popular enough dependency and should be provided by your distribution as a package (header files might be provided by the corresponding -dev or -devel package). Do you have that installed?

If your distribution installs files under custom prefix, e.g. /usr/local, you'd also need to tell the compiler where to look for those headers and libraries.