And received [Build Error] ['sfml] Error 1
I ran a syntax check (not sure what that is honestly) and received [Warning] `nul.gcda' is not a gcov data file.
Any ideas of what is wrong? I've googled the first error and haven't found anything.
Do you have SFML correctly installed? Are you linking to it properly? That error makes no sense, it looks like your trying to open the source file with some program that expects a special file type. Also, you do realize that sf::Clock::GetElapsedTime() returns time in milliseconds and the same with sf::Sleep()? Your program is going to execute very fast...
I deleted and reinstalled it, made sure it's linked properly, and its still getting the same message. It could be expecting something, but the code is straight from an online tutorial...
And no i didn't know that returns in milliseconds.
Thats the only error it says. I don't know what it is or how to deal with it.
I found Syntax check (in dev-c++) under 'Execute' -> 'Syntax Check' and i mentioned it in case it might help.
To be more specific sf::Clock and sf::Sleep(...) only deal in miliseconds starting with SFML version 2.0 which is technically still a beta. I recognize this tutorial as being the first one on the SFML website and so it would be refering to version 1.6 which is the current release.
Could you copy paste all of the lines from your Linker settings? Project -> Project Options -> Additional Command-line Options. If you're using Dev-C++ then you're probably using MingW which is the default option and as the tutorial points out the order that you link these things in matters a lot.
I second Disch on switching to wxDev-C++, that's the IDE that I use and I don't have any issues with it. http://wxdsgn.sourceforge.net/
Also are "libsndfile-1.dll" and "openal32.dll" in directories that the IDE can reach? What I mean is are they in the part of the search path and does the profile this is being run under have the correct permissions to access said path?
I misread the linkers the first time
linkers i used: sfml-system.lib & sfml-system-d.lib
linkers it says to use: lsfml-system.lib & lsfml-system-d.lib
tutorial: http://www.sfml-dev.org/tutorials/1.6/start-cb.php
I'll betcha thats my problem
There's your problem, you seem to have downloaded the wrong package for that compiler\IDE setup. This would explain the non-descript error you're getting. Both Dev-C++ and wxDev-C++ use mingw.exe, a port from GCC, as their compiler, not cl.exe which is the compiler for MSVS. The two compilers have different calling conventions and other implimentation specific stuff like that so they need different libraries and aren't compatible.