Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - CrazyCrinkle

Pages: [1]
1
General / (Tutorial Problem) - First page not working.
« on: October 19, 2014, 04:32:35 pm »
Hello all, I am having some problems with the first turotial (http://sfml-dev.org/tutorials/2.1/start-vc.php) page and im not sure whats up, it gives a compile/build error and im not too good with these yet, can anyone tell me what this means?

Quote
1>c:\cpp\_sfml\_my code\start\firstprg\firstprg\firstprg.cpp(1): warning C4627: '#include <SFML/Graphics.hpp>': skipped when looking for precompiled header use
1>          Add directive to 'StdAfx.h' or rebuild precompiled header
1>c:\cpp\_sfml\_my code\start\firstprg\firstprg\firstprg.cpp(25): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?

Nothing previously went wrong, I have VS/c++ 2010 express installed and downloaded the right code version (im a 64bit machine as well, if that helps). I've got to the last past where you past the code in and run it, but visual studio appears to be annoyed that an automatically generated file (that came with the project) has not been referenced in the main program (which is FirstPrg.cpp).

Can anyone help make any sense of this?

Pages: [1]
anything