SFML community forums
Help => General => Topic started by: FallingSky on October 10, 2007, 05:31:59 pm
-
Im using VC 2005 express trying to compile the example from http://sfml.sourceforge.net/tutorials/graphics-window.php but im not sure exactly what to link so im linking sfml-main.lib sfml-graphics.lib sfml-system.lib but it still gives me the error: fatal error C1075: end of file found before the left brace '{' ...which its talking about right after int main.
Please help, Thanks!
-
When I'm linking the following
sfml-main-d.lib sfml-graphics-d.lib sfml-system-d.lib sfml-window-d.lib
...it works fine. But your error is not linker related. Are you sure you copied the entire code example?
-
Wow, im extremely sorry. Im new to using VS so I didnt understand that error at all, but you were right I forgot to copy and paste the last } in the code!
Sorry for the stupid question but thanks for the help!
-
Wow, im extremely sorry. Im new to using VS so I didnt understand that error at all, but you were right I forgot to copy and paste the last } in the code!
Sorry for the stupid question but thanks for the help!
There are no stupid questions.