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

Author Topic: Help With SFML  (Read 5444 times)

0 Members and 1 Guest are viewing this topic.

Aquacalvin

  • Newbie
  • *
  • Posts: 21
    • View Profile
Help With SFML
« on: January 09, 2014, 08:59:07 pm »
Hey everyone! I need some help with SFML. I am starting SFML, but can't run a program :(. I followed the official tutorials on the SFML website, but it doesn't work. I first ran the program dynamically, but VS said that MSVCP110D.dll was missing from the computer. It was right! I couldn't find it anywhere! After that I tried linking statically, but I can't get that to work either. So here is my question: What is, and where can I find MSVCP110D.dll.
Here are some facts that might be useful:
I am using VS 2013 Express
I am using Windows 8.1
I downloaded SFML from the official website
Thanks and please answer,
Coder Calvin

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Help With SFML
« Reply #1 on: January 09, 2014, 09:05:17 pm »
There is no precompiled libs for MS VS 2013, you must recompile SFML yourself.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Help With SFML
« Reply #2 on: January 09, 2014, 09:05:53 pm »
MSVC 11 is Visual Studio 2012, which is obviously the wrong version.

You have to get the code from the SFML 2.1 SDK or GitHub and build it with CMake for Visual Studio 2013.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

amir ramezani

  • Jr. Member
  • **
  • Posts: 81
  • i'm a programmer who can't see well
    • View Profile
    • download useful software!
    • Email
Re: Help With SFML
« Reply #3 on: January 09, 2014, 10:11:13 pm »
download the SFML's source code, compile it and link your application with
because it is for VS2011 (MSVC11) and VS2011 is incompatible with VS2013(MSVC13) or VS 16.0
if you can't see well, you can't test your applications and operating system well
my game engine:
allegro game creator
my operating system:
AmirOS

Aquacalvin

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Help With SFML
« Reply #4 on: January 10, 2014, 12:09:56 am »
So I need to download SFML 2.1? What do I have to do?

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Help With SFML
« Reply #5 on: January 10, 2014, 12:15:27 am »
You need the source code, not the precompiled packages. I recommend to use the latest Git revision on GitHub (you can also download a Zip archive).
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Aquacalvin

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Help With SFML
« Reply #6 on: January 10, 2014, 12:51:05 am »
Would it work if I only changed my IDE? Use MS VS 2012 instead?

Jebbs

  • Sr. Member
  • ****
  • Posts: 358
  • DSFML Developer
    • View Profile
    • Email
Re: Help With SFML
« Reply #7 on: January 10, 2014, 01:08:49 am »
As long as you used the correct libs, yes that would work.
DSFML - SFML for the D Programming Language.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Help With SFML
« Reply #8 on: January 10, 2014, 01:31:21 am »
I don't recommend downgrading to Visual Studio 2012, you lose a lot of precious C++11 features.

Installing SFML from source is really not that difficult. A user even built an installer to ease the process.
« Last Edit: January 10, 2014, 01:33:33 am by Nexus »
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Jebbs

  • Sr. Member
  • ****
  • Posts: 358
  • DSFML Developer
    • View Profile
    • Email
Re: Help With SFML
« Reply #9 on: January 10, 2014, 03:25:36 am »
I don't recommend downgrading to Visual Studio 2012, you lose a lot of precious C++11 features.

Installing SFML from source is really not that difficult. A user even built an installer to ease the process.

Agreed on both accounts. And building from source, specially on Windows, takes 5-10 minutes if you read the documentation.
DSFML - SFML for the D Programming Language.

amir ramezani

  • Jr. Member
  • **
  • Posts: 81
  • i'm a programmer who can't see well
    • View Profile
    • download useful software!
    • Email
Re: Help With SFML
« Reply #10 on: January 10, 2014, 04:27:43 am »
firstly, download the cMake from
here
and then, download sfml's source code and compile it with cMake
but, please read the documentation first
if you can't see well, you can't test your applications and operating system well
my game engine:
allegro game creator
my operating system:
AmirOS