Author Topic: An assertion failed :(  (Read 3484 times)

Offline tomm81

  • Single posting newcomer
  • *
  • Posts: 2
An assertion failed :(
« on: November 14, 2020, 12:15:52 pm »
When I try to compile the basic wxSmith project (The self generated code when I do New Project), I obtain this error from codeblocks:
Code
../src/common/wincmn.cpp(2865): assert "parent" failed in GetDlgUnitBase(): Must have TLW parent

My OS is Xubuntu 20.04 and I installed codeblocks doing:
Quote
   -sudo apt-get install codeblocks
   -sudo apt-get install codeblocks-contrib
   -sudo apt install libwxbase3.0-dev
   -sudo apt-get install libwxgtk3.0-gtk3-dev

I'm trying to use wxWidgets3.1, in attachment the code.

Any idea ?
Thank you

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: An assertion failed :(
« Reply #1 on: November 14, 2020, 12:49:36 pm »
What are the exact steps to reproduce the problem?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline tomm81

  • Single posting newcomer
  • *
  • Posts: 2
Re: An assertion failed :(
« Reply #2 on: November 14, 2020, 08:51:02 pm »
It was:

File-->New Project-->wxWidgets Project-->wxWidgets 3.1.x-->Project Title:Prova-->Next-->wxSmith-->Next-->Use default wxWidgets configuration-->Finish-->Run

But the problem is solved, I had to reboot PC after codeblocks installing. It's strange, but it is :)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: An assertion failed :(
« Reply #3 on: November 14, 2020, 10:52:58 pm »
No, it is not. It is just hidden for now.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]