C++ No Such File or Directory
Posted: Sun Mar 09, 2014 6:13 pm
This is my first time posting on this great forum, so hi everyone!
Now let's get to business. I'm trying to compile code with gcc, but I keep getting the error in the title. I tried #include <iostream>, #include <stdio.h>. I think I might need to put the headers/libraries in a place that the compiler can find them. But, I don't know what to put or where to put it. Thank you!
Now let's get to business. I'm trying to compile code with gcc, but I keep getting the error in the title. I tried #include <iostream>, #include <stdio.h>. I think I might need to put the headers/libraries in a place that the compiler can find them. But, I don't know what to put or where to put it. Thank you!
Code: Select all
la@lac ~ $ pwd
/home/la
la@lac ~ $ cd Desktop/CCPP/
la@lac ~/Desktop/CCPP $ gcc test.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory