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 - magic711

Pages: [1]
1
General / Re: My First SFML App error
« on: January 30, 2015, 09:48:13 pm »
Try to delete headers in /usr/local/include/SFML
Great. That worked. Thx a lot ;D

2
General / Re: My First SFML App error
« on: January 30, 2015, 08:19:43 pm »
I did installed the previous version before. But I did not get that version to work, so I gave up. Lately I wanna give SFML another try. I downloaded latest version 2.2. I deleted everything SFML related under /Library/Frameworks, and copied new 2.2 files to there. I installed SFML as frameworks since it is recommended.

I just deleted SFML files under /Library/Frameworks, and tried again, the problem persists. Is there any old files under some other folders I should delete? Thanks

3
General / Re: My First SFML App error
« on: January 30, 2015, 06:47:06 pm »
// Load a sprite to display
    sf::Texture texture;
    if (!texture.loadFromFile(resourcePath() + "cute_image.jpg")) {
        return EXIT_FAILURE;
    }
    sf::Sprite sprite(texture);
Is there anything wrong here? Like I said, I did not touch anything here, they are all generated by creating SFML app.

4
General / Re: My First SFML App error
« on: January 30, 2015, 06:38:46 pm »
OS X 10.9.5
Xcode 6.1.1
I followed steps here http://www.sfml-dev.org/tutorials/2.2/start-osx.php
I created an SFML app, then build and run, after run, I got this error. The program just hung. I did not make any change.
I tried to google, it seemed nobody had the same problem.
Thanks

5
General / My First SFML App error
« on: January 30, 2015, 05:17:34 pm »
I followed exactly Tutorials for SFML 2.2->Getting started->SFML and Xcode (Mac OS X). The build is successful, but when I run it, it gave me
'window.draw(sprite);       Thread 1: EXC_BAD_ACCESS(code=EXC_I386_GPFLT)'

Pages: [1]