Skip to content
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

main.c:10:10: fatal error: expat.h: No such file or directory #2

Closed
divinity76 opened this issue May 29, 2019 · 1 comment
Closed

Comments

@divinity76
Copy link
Contributor

root@1:/temp/speedtest-cli# make
gcc main.c -lcurl -lexpat -lm -o speedtest_cli
main.c:10:10: fatal error: expat.h: No such file or directory
 #include "expat.h"
          ^~~~~~~~~
compilation terminated.
Makefile:2: recipe for target 'speedtest_cli' failed
make: *** [speedtest_cli] Error 1
root@1:/temp/speedtest-cli#
@divinity76
Copy link
Contributor Author

nevermind, just had to run apt install libexpat-dev, ubuntu 18.04

still expected <expat.h> not "expat.h" though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant