g++ codice.cpp -L dependencies \lib -lpq -o codice

I use PostgreSQL.
I write in the terminal:

g++ codice.cpp -L dependencies\lib -lpq -o codice

but I have this:
g++: error: codice.cpp: No such file or directory

The file codice.cpp is in the directory where is dependencies but nothing, it appears always "g++: error: codice.cpp: No such file or directory"

Can you help me to resolve?
Last edited on
What does ls print?

..or dir, if vanilla Windows
Last edited on
Topic archived. No new replies allowed.