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

Author Topic: [SOLVED] Installation of SFML to Visual Studio Express 2013  (Read 1624 times)

0 Members and 1 Guest are viewing this topic.

ThomasWilliamson

  • Newbie
  • *
  • Posts: 4
    • View Profile
[SOLVED] Installation of SFML to Visual Studio Express 2013
« on: February 24, 2014, 12:45:14 am »
Okey, Hello everyone!

I have spent, 6 hours (literally) trying to get SFML2.1 to work on my new installation of Visual Studio Express 2013

I have tried compiling it myself, using other peoples compiles for 2013 Express and a whole host of other things.

My current error i seem to be getting is:


Can someone please help me get this thing installed before i blow a fuse?

Thanks
« Last Edit: February 24, 2014, 10:13:50 am by ThomasWilliamson »

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Installation of SFML to Visual Studio Express 2013
« Reply #1 on: February 24, 2014, 01:40:02 am »
What you posted shows absolutely nothing that we can use to help you.

This link is your best bet.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

ThomasWilliamson

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Installation of SFML to Visual Studio Express 2013
« Reply #2 on: February 24, 2014, 06:39:18 am »
I have followed that tutorial and ended up with the same thing happening.

Using this one:
http://en.sfml-dev.org/forums/index.php?topic=13549.0

Also gave me the same error.

I am not exactly sure what info you need. Sorry.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Installation of SFML to Visual Studio Express 2013
« Reply #3 on: February 24, 2014, 09:09:42 am »
The error code simply states, that the application has been prematurely closed/crashed. To figure out what happend, you'll have to use your debugger. Step into the application and go through it step-by-step, so you'll see where exactly it crashes. Don't forget to run your application as debug build.
And keep in mind that the library has to match the compiler version & setting (debug-debug, release-release).
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

ThomasWilliamson

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Installation of SFML to Visual Studio Express 2013
« Reply #4 on: February 24, 2014, 09:49:16 am »
Hmm, i have the debug to debug and such...

Im using the default program:
#include <SFML/Graphics.hpp>

int main()
{
        sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
        sf::CircleShape shape(100.f);
        shape.setFillColor(sf::Color::Green);

        while (window.isOpen())
        {
                sf::Event event;
                while (window.pollEvent(event))
                {
                        if (event.type == sf::Event::Closed)
                                window.close();
                }

                window.clear();
                window.draw(shape);
                window.display();
        }

        return 0;
}

When i tell it to go through debugging, it just does the exact same thing, nothing in the error list.

Im going to try re-setup SFML.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Installation of SFML to Visual Studio Express 2013
« Reply #5 on: February 24, 2014, 09:56:35 am »
What if you create a new project with just:

#include <iostream>
int main()
{
    std::cout << "Hello World" << std::endl;
}

If that doesn't work, you might have a corrupted VS install or something else, that's not really related to SFML.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

ThomasWilliamson

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Installation of SFML to Visual Studio Express 2013
« Reply #6 on: February 24, 2014, 10:13:34 am »
Ended up reinstalling it with another guys compile (already done several other peoples that didn't work)

http://en.sfml-dev.org/forums/index.php?topic=13010.0

This one works a treat for it :)

only thing i needed to do other then follow the instructions was to convert his template project into an actual template :)


Thanks for the help folks, with some luck you might see somthing il make in the future! (as unlikely as it is)

 

anything