Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: tomm81 on November 14, 2020, 12:15:52 pm

Title: An assertion failed :(
Post by: tomm81 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
Title: Re: An assertion failed :(
Post by: oBFusCATed on November 14, 2020, 12:49:36 pm
What are the exact steps to reproduce the problem?
Title: Re: An assertion failed :(
Post by: tomm81 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 :)
Title: Re: An assertion failed :(
Post by: oBFusCATed on November 14, 2020, 10:52:58 pm
No, it is not. It is just hidden for now.