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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - massive_potato

Pages: 1 [2] 3
16
General / Re: AW: Re: Possible error with Windows 8
« on: December 28, 2012, 07:18:44 pm »
Quote
I'm glad that they helped and I hope that you'll figure out what the problem was, so you'll be able to build libraries on your own, since it's an important process in programming.  ;)

I'm definitely planning on it, but until the day comes where I'm finally able to do so, your nightly builds are gonna be nice to have around.  :D

Quote
Well they're called 'Unofficial Nightly Builds' for a reason and unfortunately Laurent doesn't have the time to work on the website and probably won't others work on it.  ;)

I guess that makes sense. Getting the next version prepped for release should definitely take precedence. Once that's released there won't be much of a need to make nightly builds anyway.

17
General / Re: Linking Error LNK2019 with VS2012 and SFML 2.0
« on: December 28, 2012, 05:52:04 am »
Just throwing out a suggestion - did you copy the .dll files to your solution folder? That could be the source of your errors.

18
General / Re: Possible error with Windows 8
« on: December 28, 2012, 04:55:11 am »
It looks like all of my problems are solved!  ;D

I'd like to say thanks specifically to eXpl0it3r for providing his nightly builds, since I wasn't building SFML correctly (or something like that). Thanks to his efforts to making SFML accessible to everyone, I was able to resolve the issue.

For the record, the current release does not seem to have any issues with Windows 8, I'm just really bad at building SFML. Once again, thanks for all the help! Without the forums and all the wonderful people on them I'd still be scratching my head and pulling my hair out.  :D



As a side note, it might be nice to provide a link to eXpl0it3r's nightly builds on the downloads page of the SFML site, as it might be helpful to others if they experience similar difficulties in building SFML on their own.

19
General / Re: Possible error with Windows 8
« on: December 27, 2012, 09:15:12 pm »
Ah, I forgot to remove the old version...   :-[

I'll see if it works now.

20
General / Re: Possible error with Windows 8
« on: December 27, 2012, 08:56:24 pm »
The error is still occurring even after a recompilation of SFML. I think at this point I'll just keep on going, since the error only occurs when I shut down the program. Everything else is executing properly. Hopefully a fix is found before the final release comes out, but until then I'll just deal with it! Thanks for the help!

21
General / Re: Possible error with Windows 8
« on: December 27, 2012, 10:13:29 am »
I'll give it a shot tomorrow and get back with the results.

22
General / Re: Possible error with Windows 8
« on: December 27, 2012, 09:23:31 am »
I'm using Visual C++ 2010 Express on both computers. Both have the Visual C++ 2010 version of SFML, as well.

23
General / Possible error with Windows 8
« on: December 27, 2012, 05:07:55 am »
I recently made the switch to Windows 8 (from Windows 7) and have not had a pleasant time moving my code over. This code, which is just a combination of the examples for sf::Text and the Visual Studio set-up example, works on my old machine -

#include <SFML\Graphics.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode(200, 200), "SFML doesn't work :(");
    sf::CircleShape shape(100.f);
    shape.setFillColor(sf::Color::Green);
    // Create a text
    sf::Text text("hello");
    //text.setCharacterSize(30);
    //text.setStyle(sf::Text::Bold);
    //text.setColor(sf::Color::Red);

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

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

    return 0;
}
 

- but produces the following error "Access violation reading location 0xfeeefef6" on the new one. Both machines have the same version of SFML (2.0, downloaded from the RC page), are linked in the exact same manner, and have the exact same code. I also created a new solution instead of simply copying over an old one, which didn't fix the problem. From some other posts on the forums it appears that a few other people are having issues running code with Windows 8. Is there a reason for this? If there is, is a fix available or when can one be expected?

If it makes any difference, the issue appears to occur when I instantiate the sf::Text object, as commenting that line out eliminates the error. Does anyone have any insight into this problem?

24
Graphics / Re: Question about Displaying Text
« on: December 21, 2012, 09:16:18 pm »
Thanks for all the responses! Everyone was very helpful   :D

25
Graphics / Re: Sprites not displaying properly
« on: December 21, 2012, 04:23:56 am »
Is the sf::Texture that you're binding to the Sprite still in scope? If not, that could be what is causing your problem.

26
Graphics / Question about Displaying Text
« on: December 21, 2012, 03:57:52 am »
void displayText(const std::string & text, sf::RenderWindow & window, const sf::Vector2f & position = sf::Vector2f(0, 0), const short & size = 30, const sf::Color & color = sf::Color::White)
        {
                sf::Text t(text, sf::Font::getDefaultFont(), size);
                t.setPosition(position);
                t.setColor(color);
                window.draw(t);
        }

Is there a faster way to replicate the functionality of this function, or is this the best way to output text? Whenever I call this function it drops my framerate by about 300 fps. How can I improve this or what alternatives are available? I've gone through the documentation and have not found anything (although I certainly could have missed something).

27
General / Re: Linking SFML 2.0 to MS Visual Studio 2012
« on: August 15, 2012, 11:53:42 pm »
Laurent - perhaps I worded my issue a bit poorly. Each time I tried to utilize an SFML object, Visual Studio threw a stack corruption error at me. I figured it was an error on my part when I linked SFML to my project.

EDIT: I've narrowed it down to trying to use a vertex array. Without it, everything seems to work as expected. When I use it, however, stack corruption errors are thrown.

28
General / Re: Linking SFML 2.0 to MS Visual Studio 2012
« on: August 15, 2012, 05:22:44 pm »
I guess I didn't look through the forums enough  :-\ Thanks for the suggestion!

29
General / Linking SFML 2.0 to MS Visual Studio 2012
« on: August 15, 2012, 06:43:24 am »
I recently downloaded the latest version of Microsoft Visual Studio (MS Visual Studio Ultimate RC), but can't seem to link it to SFML. Is there anything different that needs to be done from the older versions of MS Visual Studio, or is the process the same? Are there any extra steps that need to be taken in order to link SFML to MS Visual Studio 2012?

30
Graphics / Re: Question about sf::VertexArray
« on: August 14, 2012, 09:25:05 pm »
Thanks for the response!

Pages: 1 [2] 3
anything