New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Issue: " event2/event.h: No such file or directory " #41
Comments
You need the libevent library and header files to build lsquic-client. libevent is packaged for all major distributions. On Ubuntu, for example, you'd type |
This is a duplicate of #5 -- closing. |
diff --git a/CMakeLists.txt b/CMakeLists.txt SET(CMAKE_INCLUDE_CURRENT_DIR ON)
|
I think "jundagement" is a misspelled word, but I am not sure which one. 😄 I am not sure what you mean. |
I mean ”CMAKE_SYSTEM_NAME“ only matchs FreeBSD, so it doesn't include "/usr/local/include" and "/usr/local/lib" on Mac |
Oh, I see -- thanks for the report. We will address it in the next release. (If you want to open a pull request for this, you are very welcome to do so!) |
I found build issue on linux and mac os , both are the same error.
Here is the log:
/home/zhangchi09/develop/lsquic-client/test/prog.c:19:26: fatal error: event2/event.h: No such file or directory
compilation terminated.
CMakeFiles/http_client.dir/build.make:86: recipe for target 'CMakeFiles/http_client.dir/test/prog.c.o' failed
make[2]: *** [CMakeFiles/http_client.dir/test/prog on.c.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/http_client.dir/all' failed
make[1]: *** [CMakeFiles/http_client.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
pls help me to find out the solution , thx.
The text was updated successfully, but these errors were encountered: