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

error " filesystem: No such file or directory #include <filesystem>" while compiling #11

Open
studiokrause opened this issue Sep 1, 2022 · 0 comments

Comments

@studiokrause
Copy link

Trying to compile with cmake 3.24.1 on Ubuntu 18.04.6 LTS, got this error:

root@xxxxxxx:~/tmp/srt-server# sudo make
[ 25%] Building CXX object CMakeFiles/srt-server.dir/source/core.cpp.o
In file included from /home/ubuntu/tmp/srt-server/source/core.cpp:1:0:
/home/ubuntu/tmp/srt-server/source/../headers/main.h:25:10: fatal error: filesystem: No such file or directory
#include
^~~~~~~~~~~~
compilation terminated.
CMakeFiles/srt-server.dir/build.make:75: recipe for target 'CMakeFiles/srt-server.dir/source/core.cpp.o' failed
make[2]: *** [CMakeFiles/srt-server.dir/source/core.cpp.o] Error 1
CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/srt-server.dir/all' failed
make[1]: *** [CMakeFiles/srt-server.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2

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