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

Author Topic: Setting up C-SFML  (Read 9124 times)

0 Members and 1 Guest are viewing this topic.

newone

  • Newbie
  • *
  • Posts: 2
    • View Profile
Setting up C-SFML
« on: March 06, 2018, 08:51:30 pm »
Hi everyone,

please, could anyone help me with setting up C-SFML, i'm so lost at this moment. I'm getting so many errors and don't know what to do else. I have done exactly what's written here https://www.sfml-dev.org/tutorials/2.4/start-vc.php but this didn't work so. 

I'm using this  http://transit.iut2.upmf-grenoble.fr/doc/libcsfml-doc/html/  as sample code.

Snippings: https://onenote.com/webapp/pages?token=3FvosmfHf8KakYoF3nlHPg1rDdcElIaXlZ18fm1YSwyuM-YVMSikAxhKJIukz9A94XzfbIN8nQuj6cZ2rw1O3K11WkXwonvV0&id=636559620760271730


Thanks in advance.

Jacob

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Re: Setting up C-SFML
« Reply #1 on: March 07, 2018, 12:45:05 am »
Did you change your directories layout? The CSFML has gcc and msvc subdirectories in lib, the .lib files aren't directly in the lib directory.
Back to C++ gamedev with SFML in May 2023

newone

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Setting up C-SFML
« Reply #2 on: March 07, 2018, 01:15:44 pm »
I'm using these libraries. File addresses don't match because i'm using different computer atm. So, libraries have to be directly linked? Thanks for reply.

Is it ok use Visual studio 2017?

https://onenote.com/webapp/pages?token=CivzHVc1Nj0dQI4PImBrhr1dXeqOLhdT2FKHT_tyqfyBPiU1XERqUJg6MZTcL2ytnDFNYJ22yt45BD5PST6zBIaYU0__08uT0&id=636560215634108955
« Last Edit: March 07, 2018, 01:33:25 pm by newone »

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Re: Setting up C-SFML
« Reply #3 on: March 07, 2018, 05:10:52 pm »
It works for me in VS 2015. It should work in 2017 exactly the same.

Are you sure all the lib files are in C:\Users\Rekt\Desktop\CSFML\lib (because that's what you have set as your 'Additional Library Directories'). Maybe you are missing \msvc at the end of that path?
Back to C++ gamedev with SFML in May 2023

 

anything