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

Pages: [1]
1
General / Re: sfml-system.dll was not found
« on: February 15, 2019, 12:06:22 pm »
note: I use codeblocks 17.12 (last one) with the right GCC 5.1.0 TDM compiler and sfml libs
I still game the same ".dll not found" at runtime after  using "-s" variant in the linker settings and defining SFML static.

2
General / SFML has HUGE GPU usage
« on: March 11, 2018, 02:30:23 pm »
Hi,
my task manager indicates my GPU usage jumps up to 90-98% when I launch my SFML application.
I used the code given in the tutorial:
Quote
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;
}

I'm on windows 10, i have a nvidia gtx 1050, i'm on laptop, I'm using codeblocks to compile.

I didn't pay attention to that until very soon, my much more complicated actual projet works fine, but the GPU usage jumps up to 95-97% :x

blacksages

3
General / Re: my dumb questions: installing sfml on codeblocks...
« on: June 02, 2017, 11:05:49 pm »
though the examples don't work.. I'll try another order... phew...

4
General / Re: my dumb questions: installing sfml on codeblocks...
« on: June 02, 2017, 11:01:11 pm »
oh my gooooooooooooooooooooooooooooood, it works, hahahahahahaha *euphoric*
thank you good sir/lady

5
General / Re: my dumb questions: installing sfml on codeblocks...
« on: June 02, 2017, 10:18:13 pm »
I did everything it was said, but i still get error...

6
General / Re: my dumb questions: installing sfml on codeblocks...
« on: June 02, 2017, 09:00:08 pm »
And what's the difference between

and this
?

is just setting the compiler fine? what about release and debug? should I use the not-modified compiler and set the release and debug from build option? what's the difference?

note: http://imgur.com/JtpS20S (first pic)
http://imgur.com/2fcqZma (second pic)

used imgur but won't show...

7
General / my dumb questions: installing sfml on codeblocks...
« on: June 02, 2017, 07:12:02 pm »
Hi, I'm sorry if it sound obvious to you but it's absolutely not for me.

I've read the tutorials about sfml and codeblocks but, looking at other tutorials they have winmm, opengl32, ws2_32, gdi32 but I don't, I have others PLUS sfml-main. So what's up? (I'm talking about the files.a in the lib directory of SFML 2.4.1 folder)

I downloaded the version for GCC 4.9.2 TDM (SJLJ) - 32-bit, I have the latest GCC through latest codeblocks version.

So after that I just copied that other guy link libraries, I copied the code example of sfml tutorial https://www.sfml-dev.org/tutorials/2.4/start-cb.php, but i got:


So I tried to change the link order as I 've read somewhere that codeblocks does pay attention to link order, I got this:


with sfml-audio-s at the bottom, and yes I wrote SFML_STATIC in #defines, but doesn't work

last matter, I modified a copy of gnu for link and stuff instead of right-clicking the project>build options>...
As it is the compiler doesn't have "release" or "debug", so what about that? Does it handle it automatically? I don't know.
note: Yes I selected my modified gnu for my src file, for both debug and release, don't know if it's supposed to work like that...

edit: why are my images not showing...? even though I used img /img  between brackets with
http://www.hostingpics.net/viewer.php?id=305820e1da6c56f9b8c544ef106a9982f64f57.png as first pic
and
 https://gyazo.com/7ad632742e152f7f1aaa9856a241f77e as second...

Pages: [1]
anything