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.


Messages - CrazyCrinkle

Pages: [1]
1
General / Re: (Tutorial Problem) - First page not working.
« on: October 19, 2014, 05:28:42 pm »
Thanks for that, although to be honest, I've had more partial success by just changing everything to 32bit as my VC++ 2010 isnt configured for 64bit use (because theres no 64bit projects in the new project menu). And this time it compiles and gets further (a black box even appears in the background). However it errors, saying: "sfml-graphics-2.dll is missing from your computer"

Now i've found the DLL is in "\SFML-2.1\bin" but does anyone know where i would put it to make the program work?

2
General / Re: (Tutorial Problem) - First page not working.
« on: October 19, 2014, 05:10:05 pm »
Do you mean going into project properties > config properties > linker > advanced

and changing target machine to "Machine64"?

Because i've already done that and it doesnt solve the issue.

3
General / Re: (Tutorial Problem) - First page not working.
« on: October 19, 2014, 04:57:11 pm »
Ahh ok, I've figured it out, turns out you get different project properties if you click on the main.cpp file (in solution explorer) to the actual top project level. However, sorry to test people's patience, but the error I now get when running the sample code is:

Quote
1>sfml-graphics.lib(sfml-graphics-2.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

I've got a 64bit processor, with a 64bit windows, and downloaded the 64bit librarys from this site, so im not quite sure why VC++ is saying that I have a 32bit machine?

4
General / Re: (Tutorial Problem) - First page not working.
« on: October 19, 2014, 04:45:45 pm »
Actually I cant do this with an empty project, in the project properties page, the tutorial wants me to set up settings in the linker page, but quite simply there is no such page on an empty project.

5
General / Re: (Tutorial Problem) - First page not working.
« on: October 19, 2014, 04:42:40 pm »
Ok thanks i'll give that a try. Not sure if you are a regular enough person, but any change of getting the tutorial page updated? I was quite frustrated at the start where it said there was three different projects I could go with, but didn't tell me which one the tutorial needed me to take to make it work!

6
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