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

Pages: [1]
1
General / Re: TGUI Bad Alloc using example code
« on: November 03, 2017, 03:43:09 am »
Was using 0.7.5 but changed it to the latest develop branch. Seems to be working now.

2
General / TGUI Bad Alloc using example code
« on: November 02, 2017, 06:38:46 am »
Hello,

While looking for a GUI library I came across tgui which seemed interesting and supposedly offers exactly what I need.

After trying to implement a simple login window for the project I am working on, I kept running into a std::bad_alloc exception. After scratching my head for a while I figured I should just try the examples and see if that works.

Turns out that gives me the exact same error...

Exception:
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Example I tried:
https://tgui.eu/examples/0.8/scalable-login-screen/

The exception is thrown upon calling gui.add();

Any suggestions / ideas what might be causing this?

Pages: [1]
anything