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

Pages: [1]
1
General / Re: SFMl + Qt program slowing down/freezing
« on: July 24, 2015, 06:38:09 pm »
Ok I'll take a look at Vtune  ::)
I'm open to anything else :)

I'm trying to setup my project for vtune, but do I have to specify in my project ?

Quote
Unless your IDE provides a profiler, you will need a separate one to be able to profile, yes.
You could try AMD's profiler: CodeXL.

I tried codexl, but it keeps reading .dll and doen't finish

2
General / Re: SFMl + Qt program slowing down/freezing
« on: July 24, 2015, 12:34:08 pm »
Ok, so from what I can read, I need a third party software to profile ?


3
General / SFMl + Qt program slowing down/freezing
« on: July 22, 2015, 03:32:47 pm »
Hello,

I am currently doing a basic program supposed to draw a plot with data received from a serial communication, sending a number every n milliseconds.

I'm using two classes:
- a Qt widget ( receives the data, and send it to the second class)  (FenPrincipale.h )
- the plot class, wich draws the plot (stores X and Y numbers in 2 float vectors and then add a position to a     sf::VertexArray).    (FenPlot.h)

//FenPlot Constructor
        int size = 10000;
        m_curve = sf::VertexArray(sf::LinesStrip, size);
        m_currentX = 0;
        m_vectorX.resize(size);
        m_vectorY.resize(size);

//addY() function
void FenPlot::addY(int y)
{

    m_vectorX[m_currentX] = (float)m_currentX;
    m_vectorY[m_currentX] = (float)y;
    m_curve[m_currentX].position = sf::Vector2f(m_vectorX[m_currentX], m_vectorY[m_currentX]);
    m_currentX++;
}
 



The issue I am having is that , after few values added, the program slows down and evetually freeze.
I can't figure out the reason to that progressive loss of performance.

Qt 5.4.0, SFML 2.3, Win 8.1, QtCreator

Thank you :)

4
Audio / Re: Program crash on launch only with audio.
« on: July 15, 2015, 07:19:59 pm »
I just put openal32.dll and it now works fine :)

thank you to both of you, I'll try to be more careful about my topic next time...

Thank you very much.

(I'm sorry I'm double-posting, I deleted my previous post (Yes I am dumb I know))

Didn't know openal32.dll was necessary..
http://www.sfml-dev.org/faq.php#grl-dependencies
Thank you Jesper :)

5
Audio / Program crash on launch only with audio.
« on: July 15, 2015, 06:58:35 pm »
Hello,

I just decided to use the SFML with Qtcreator for a little project.
I build the library as explained on the website, etc

When testing the "sfml works" program, everything is fine, the window is displayed, but when I try to create any Audio object, the program crashes at the beginning  >:(

When I simply include Audio.h, it's fine..

 I continue searching, but nobody seems to have this precise problem...
Thanks


Pages: [1]