NetCut icon indicating copy to clipboard operation
NetCut copied to clipboard

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

Open Guest257351 opened this issue 3 years ago • 2 comments

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 avatar Apr 01 '22 03:04 Guest257351

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.

cdes5804 avatar Apr 01 '22 05:04 cdes5804

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.

Guest257351 avatar Apr 04 '22 23:04 Guest257351