ubuntu c library import not found after installing with make

  Kiến thức lập trình

I am attemping to use the c wsserver library. After installing with make, when attempting to run the library, it gives me the error

main.c:4:10: fatal error: ws.h: No such file or directory
    4 | #include <ws.h>
      |          ^~~~~~

the code was ran with the following command:

gcc -I/usr/local/include -L/usr/local/lib64 -lws main.c

here is the ls for /usr/local/include:

> ls /usr/local/include/

and here is the ls for /usr/local/lib64

> ls /usr/local/lib64/
libws.a  pkgconfig

Any idea why?

I expected the library to be imported without problems, but it can not find the library.


Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website