I have tried to build and run my project through CodeLite.
I have installed Command Line but somehow it doesn't work.
It says "no such file or directory"
but whenever I ask it to look for gcc, it tells me that i have it in my Mac.
What should I do? Please help!
Best Answer
You are using the terminal incorrectly. Put double quotes around the path:
Don't use
&&
, they do not do what you think they do.If you want to know more, have a look at Bash Guide for Beginners.
To elaborate a bit more on your questions:
It seems to work just as intended, but maybe not as you intended.
cd
, a command called ‘change directory’, says that there is no such directory or file as/Users/Kathieen
, which is correct since your user folder seems to be/Users/Kathieen Ashley
(note the space followed by an additional word)That is correct, gcc is installed correctly.