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

Author Topic: Help Compling 'SFML Game Development' book source code  (Read 3911 times)

0 Members and 1 Guest are viewing this topic.

Sanction

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Help Compling 'SFML Game Development' book source code
« 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)
Knowledge comes, but wisdom lingers. It may not be difficult to store up in the mind a vast quantity of facts within a comparatively short time, but the ability to form judgments requires the severe discipline of hard work and the tempering heat of experience and maturity.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Help Compling 'SFML Game Development' book source code
« Reply #1 on: October 08, 2014, 08:05:07 am »
Do you use the GitHub repository 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?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Sanction

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Help Compling 'SFML Game Development' book source code
« Reply #2 on: October 08, 2014, 02:52:01 pm »
I got them from the publisher's website: https://www.packtpub.com/ and yes I compile the INSTALL Project.. but I will try running VS2013 as an administrator.
Knowledge comes, but wisdom lingers. It may not be difficult to store up in the mind a vast quantity of facts within a comparatively short time, but the ability to form judgments requires the severe discipline of hard work and the tempering heat of experience and maturity.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Help Compling 'SFML Game Development' book source code
« Reply #3 on: October 08, 2014, 02:52:44 pm »
And get the code from GitHub.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Sanction

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Help Compling 'SFML Game Development' book source code
« Reply #4 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
Knowledge comes, but wisdom lingers. It may not be difficult to store up in the mind a vast quantity of facts within a comparatively short time, but the ability to form judgments requires the severe discipline of hard work and the tempering heat of experience and maturity.

Sanction

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Help Compling 'SFML Game Development' book source code
« Reply #5 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)
Knowledge comes, but wisdom lingers. It may not be difficult to store up in the mind a vast quantity of facts within a comparatively short time, but the ability to form judgments requires the severe discipline of hard work and the tempering heat of experience and maturity.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10777
    • View Profile
    • development blog
    • Email
Re: Help Compling 'SFML Game Development' book source code
« Reply #6 on: October 09, 2014, 08:32:25 am »
The skip doesn't matter, as long as it doesn't fail. :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Sanction

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Help Compling 'SFML Game Development' book source code
« Reply #7 on: October 09, 2014, 08:41:22 pm »
alright thx
Knowledge comes, but wisdom lingers. It may not be difficult to store up in the mind a vast quantity of facts within a comparatively short time, but the ability to form judgments requires the severe discipline of hard work and the tempering heat of experience and maturity.

 

anything