It's been a long time since I've used Mingw, but looks like you haven't compiled input.cpp and linked it with main.
Try something like this:
g++ -Isrc/include -c coding/main.cpp
g++ -Isrc/include -c coding/input.cpp
g++ input.o main.o -o main -Lsrc/lib -lsfml-graphics -lsfml-window -lsfml-system
Should be able to do it in less lines, but I'm rusty with G++.