Recent Posts

Pages: 1 ... 7 8 [9] 10
81
General Discussion / Re: Example: Scalable login screen - Error
« Last post by texus on 18 May 2020, 19:36:53 »
So you get there errors even if you don't add any widgets?
Do they still occur if you remove gui.draw()?

I'm not sure where that code is even executed. There shouldn't be a single place in TGUI where a texture is copied every frame.
82
General Discussion / Re: Example: Scalable login screen - Error
« Last post by che2a on 18 May 2020, 19:18:55 »
I have latest version of sfml 2.5.1
Sfml works fine

I didn t modified the code

When i try the first step of the tutorial code i get same errors...

I m on codeblocks i donwloaded precompiled version
83
General Discussion / Re: Example: Scalable login screen - Error
« Last post by texus on 18 May 2020, 18:22:05 »
Did you make any modifications to the example? Did you download or build SFML and TGUI?
This warning seems to occur when creating a texture before the RenderWindow is created, but the scalable login example shouldn't be doing that.

That particular line has been removed from SFML in the version on github (https://github.com/SFML/SFML/commit/f2b8e6397b3420f01b463d549ccc145ddf152dea), so maybe building the latest SFML version (and rebuilding TGUI with that version) might solve it.
84
General Discussion / Example: Scalable login screen - Error
« Last post by che2a on 18 May 2020, 16:59:04 »
Hello im  newbie, when i try the code from Scalable login screen for 0.8 version

i get this error (in loop) :

An internal OpenGL call failed in Texture.cpp(98).
Experssion:
    glFlush()
Error description:
    GL_INVALID_OPERATION
    The specified operation is not allowed in the current state.

85
General Discussion / Re: Showcase of TGUI
« Last post by texus on 17 May 2020, 20:05:27 »
Nice work.
It's good to see TGUI used in some complex projects.
86
General Discussion / Showcase of TGUI
« Last post by lurquer on 16 May 2020, 23:11:37 »
I used TGUI for a fairly complicated program I recently wrote.

I really enjoyed the flexibility of this UI. Much easier than Qt and Windows and all the other 'real' UIs.

You can see the how the UI was used in some of the YouTube videos in the Tutorial pages:

cycell2d.com

87
Help requests / Re: Adding widget to group crashes
« Last post by texus on 16 May 2020, 22:10:50 »
Then the only thing I can think of is if the libraries aren't compatible.
Are you using the SFML and TGUI libraries that you downloaded from sfml and tgui websites? Are you using the GCC compiler that comes with codeblocks 17.12? Did you download the SFML and TGUI libraries for exactly this compiler (MinGW 5.1.0 TDM for the one that can be installed together with CodeBlocks)?
Could you send me the .cbp file from your project?
88
Help requests / Re: Adding widget to group crashes
« Last post by r4gTime on 16 May 2020, 20:03:28 »
It would be difficult for me to send all sources, but I tried to duplicate the problem based on your login screen example (https://tgui.eu/examples/0.8/scalable-login-screen/) and I have the same problem, just by modifying this function :

void loadWidgets( tgui::Gui& gui )
{
    auto button1 = tgui::Button::create();
    auto group = tgui::Group::create();

    group->add(button1, "button");

    gui.add(group);
}
 

Segmentation fault :/
89
Help requests / Re: Adding widget to group crashes
« Last post by texus on 16 May 2020, 19:26:39 »
Could you send the full source code that you are using so that I can try to run it here and see if it crashes here as well?
90
Help requests / Re: Adding widget to group crashes
« Last post by r4gTime on 16 May 2020, 19:23:45 »
Yes I'm in debug mode, and here is a picture of my linker settings.

Pages: 1 ... 7 8 [9] 10