apib icon indicating copy to clipboard operation
apib copied to clipboard

error

Open 306094061 opened this issue 5 years ago • 1 comments

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

306094061 avatar Jan 15 '21 08:01 306094061

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.

danfe avatar Jul 04 '21 06:07 danfe