GCC Compiler Help!

I have use GCC a lot in the past, and it's practically the only compiler I use.. However, the library I am using it with right now is giving me a lot of trouble... First of all, I compiler from the command line. Second, the library I am using is SFML 2.0. And lastly, here is what I pass to it:

MinGW\bin\g++ -o MyEXE MyProgram.cpp -lsfml-Graphics -lsfml-Window -lsfml-Network -lsfml-Audio -lsfml-System

As is, it gives me a ton of undefined errors, which I believe are linker errors... I have tried everything I could think of, but I can't seem to get it. Thank you for your help!

- Kyle
It would very much help if you posted the errors, at least the first one.
I think library files are in lower case:
MinGW\bin\g++ -o MyEXE MyProgram.cpp -lsfml-graphics -lsfml-window -lsfml-network -lsfml-audio -lsfml-system
@Peter87 As for the errors, it's an undefined reference to a bunch of long, not worth typing things.

As for the lowercase, I'll try that.
Thanks!

- Kyle
In that case, all I can say is that the linker can't find the definition of whatever it is that it is complaining about.
Topic archived. No new replies allowed.