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

No such file pistache/endpoint.h when running make. #8

Open
Guest257351 opened this issue Apr 1, 2022 · 2 comments
Open

No such file pistache/endpoint.h when running make. #8

Guest257351 opened this issue Apr 1, 2022 · 2 comments

Comments

@Guest257351
Copy link

Guest257351 commented Apr 1, 2022

traceback:

mkdir -p bin/routes/
g++ src/routes/api.cpp -c -o bin/routes/api.o -Wall -Wextra -O3 -std=c++17  -I src/
In file included from src/routes/api.cpp:3:
src/routes/api.hpp:6:10: fatal error: pistache/endpoint.h: No such file or directory
    6 | #include <pistache/endpoint.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:62: bin/routes/api.o] Error 1```
@Guest257351 Guest257351 changed the title No such file pistache/engpoint.h when running make. No such file pistache/endpoint.h when running make. Apr 1, 2022
@cdes5804
Copy link
Owner

cdes5804 commented Apr 1, 2022

Could you show how did you run the code and which commit/branch/tag did you use? Thanks.
BTW the code is rather rudimentary and not very portable across different platforms. Major refactor is expected in the future.

@Guest257351
Copy link
Author

This is the most recent commit and the main branch, I should have said this earlier and im sure it's what caused the error, but I ran this inside of a ubuntu WSL system.

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

2 participants