SFML community forums

Help => General => Topic started by: Sanction on October 08, 2014, 01:25:00 am

Title: Help Compling 'SFML Game Development' book source code
Post by: Sanction on October 08, 2014, 01:25:00 am
I follow the complete readme.txt file that comes with the source code from the book

The Error I get when I Compile the Project:
(click to show/hide)
Title: Re: Help Compling 'SFML Game Development' book source code
Post by: Nexus on October 08, 2014, 08:05:07 am
Do you use the GitHub repository  (https://github.com/SFML/SFML-Game-Development-Book)and not the archive on the publisher's website? In case you compile the INSTALL project, make sure that you have access rights to the install path (may require running VS as administrator, or choose a user directory).

If so and the error persists, can you show the whole error message?
Title: Re: Help Compling 'SFML Game Development' book source code
Post by: Sanction on October 08, 2014, 02:52:01 pm
I got them from the publisher's website: https://www.packtpub.com/ (https://www.packtpub.com/) and yes I compile the INSTALL Project.. but I will try running VS2013 as an administrator.
Title: Re: Help Compling 'SFML Game Development' book source code
Post by: Nexus on October 08, 2014, 02:52:44 pm
And get the code from GitHub.
Title: Re: Help Compling 'SFML Game Development' book source code
Post by: Sanction on October 08, 2014, 05:38:12 pm
Well it seemed to work.. but it didn't generate the .exe files where I wanted them..
When I go to:
C:\Users\Matthew\Desktop\SFML-Game-Development-Book-master\Build\01_Intro\Source\Debug
and run the .exe application it runs but can't find files it needs to load.. sprites

I'm confused.. because I just want to be able to view the source code in VS to see how the project is built
Title: Re: Help Compling 'SFML Game Development' book source code
Post by: Sanction on October 09, 2014, 03:31:39 am
It seemed to skip a step.. I redone everything and this is what I get:

(click to show/hide)
Title: Re: Help Compling 'SFML Game Development' book source code
Post by: eXpl0it3r on October 09, 2014, 08:32:25 am
The skip doesn't matter, as long as it doesn't fail. :)
Title: Re: Help Compling 'SFML Game Development' book source code
Post by: Sanction on October 09, 2014, 08:41:22 pm
alright thx