User forums > Using Code::Blocks
An assertion failed :(
(1/1)
tomm81:
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
--- End code ---
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
--- End quote ---
I'm trying to use wxWidgets3.1, in attachment the code.
Any idea ?
Thank you
oBFusCATed:
What are the exact steps to reproduce the problem?
tomm81:
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 :)
oBFusCATed:
No, it is not. It is just hidden for now.
Navigation
[0] Message Index
Go to full version