This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error with make

Hi guys,

I am trying to compile a C++ program but when I run make I get this error:

[  0%] Building CXX object src/CMakeFiles/args_generate.dir/args_generate.cpp.o
In file included from /home/atabaz/draco/src/args_impl.hpp:6:0,
                 from /home/atabaz/draco/src/args_def.hpp:3,
                 from /home/atabaz/draco/src/args_generate.cpp:1:
/home/atabaz/draco/src/cte/string.hpp:5:23: fatal error: string_view: No such file or directory
compilation terminated.
src/CMakeFiles/args_generate.dir/build.make:75: recipe for target 'src/CMakeFiles/args_generate.dir/args_generate.cpp.o' failed
make[2]: *** [src/CMakeFiles/args_generate.dir/args_generate.cpp.o] Error 1
CMakeFiles/Makefile2:192: recipe for target 'src/CMakeFiles/args_generate.dir/all' failed
make[1]: *** [src/CMakeFiles/args_generate.dir/all] Error 2
Makefile:100: recipe for target 'all' failed
make: *** [all] Error 2

I have already check and I have the string_view file which it is asking for and I don't really know what is going wrong. The program I am trying to install is https://github.com/dincarnato/draco

Thank you everyone.

c compile

1 answer

That was answered already here, so why did you post it again with the same error?

Make command

Log in to answer this question.