User forums > Help

Fatal error no such file or directory



downloaded and put into correct spot (I think) but doesn't work

We are not mind readers and as such can you please supply the info as per the following guide:

version 20.03, windows 10, GNU GCC compiler.
try to build and run thus

#include "std_lib_facilities.h"
int main()
cout << "Hello, World!\n";
return 0;

get this
||=== Build: Debug in hello_world (compiler: GNU GCC Compiler) ===|
C:\Users\Owner\Desktop\Stuff\Programs\hello_world\main.cpp|1|fatal error: std_lib_facilities.h: No such file or directory|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

Miguel Gimenez:
Move std_lib_facilities.h to the folder where main.cpp is (C:\Users\Owner\Desktop\Stuff\Programs\hello_world)

I think you should read the following first:

And then if you still want to use it then do as Miguel posted above.


[0] Message Index

Go to full version