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

Author Topic: Trouble Installing SFML (Need your help)  (Read 1001 times)

0 Members and 1 Guest are viewing this topic.

Uk Marine

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
Trouble Installing SFML (Need your help)
« on: October 16, 2013, 01:00:28 am »
Hi everyone, i'm new here. So i'm having a hard time installing SFML not because i'm stupid, but their tutorial is really difficult to understand, well maybe not for people who've already installed Graphics libraries before, but this is my first time, anyways, here's the Tutorial: http://www.sfml-dev.org/tutorials/2.1/start-vc.php

i got through all the steps except the last one (The Preprocessor part), can anyone please tell me how can i link to the static version, and also in the project's properties, in Linker » Input » Additional Dependencies do we put semicolons after each library or not? All replies are appreciated, thank you ;)

EDIT: When i compile an sfml code right now, i get a compile error:
error LNK1104: cannot open file 'sfml-graphics-d.lib'
« Last Edit: October 16, 2013, 01:16:42 am by Uk Marine »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10901
    • View Profile
    • development blog
    • Email
Re: Trouble Installing SFML (Need your help)
« Reply #1 on: October 16, 2013, 01:06:49 am »
If you follow the tutorial step by step, don't jump, don't assume things, then it's dead easy to setup.

EDIT: When i compile an sfml code right now, i get a compile error:
error LNK1104: cannot open file 'sfml-graphics-d.lib'
It's a linker error and not compiler error (maybe you want to read this to understand what is actually going on), and it means that the file was not found. Make sure to use semicolons and not spaces to separate the libraries and also make sure the settings point to the directory with the libraries in it.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything