Hi,
my C++ course is approaching rapidly and CodeLite (SVN from 2010/10/13) fails with
./src/gtk/menu.cpp(52): assert "win" failed in DoCommonMenuCallbackCode(): event for a menu without associated window?
This is wxWidgets-2.9.1 and probably a too old version of gtk2.0
Is it a problem with CodeLite (SVN) or wxWidgets?
(I'd like to avoid to install a more recent version of gtk++ and cousins locally since I'm not administering that machine myself)
Many thanks for your help,
Helmut.
assert "win" failed (URGENT)
-
- CodeLite Veteran
- Posts: 98
- Joined: Thu Feb 18, 2010 10:54 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Guru
- Posts: 351
- Joined: Mon Oct 20, 2008 7:26 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: assert "win" failed (URGENT)
I don't think CodeLite officialy support wxWidgets-2.9.1. I know that DavidGH offered some patched for 2.9 (svn log), You'd better use an official version (which is compiled vs 2.8.10 IIRC), or use 2.8.10 wxWidgets.
Jérémie
-
- CodeLite Veteran
- Posts: 98
- Joined: Thu Feb 18, 2010 10:54 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: assert "win" failed (URGENT)
Sorry, I must correct myself. The running version of CodeLite (on my own machine) is built against wxWidgets-2.8.11.0 .jfouche wrote:I don't think CodeLite officialy support wxWidgets-2.9.1. I know that DavidGH offered some patched for 2.9 (svn log), You'd better use an official version (which is compiled vs 2.8.10 IIRC), or use 2.8.10 wxWidgets.
I'll try that version on the other machine.
Sorry for the noise,
Helmut.
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: assert "win" failed (URGENT)
Hi Helmut,
For the record, that's a problem with CodeLite on wx2.9 (when you close the context menu). I've submitted a patch to Eran, but it's not yet been applied.
Regards,
David
For the record, that's a problem with CodeLite on wx2.9 (when you close the context menu). I've submitted a patch to Eran, but it's not yet been applied.
Regards,
David
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: assert "win" failed (URGENT)
I was going to compile wx291 under Windows when I realized that wx291 can not be compiled with MinGW udner Windows
So I might move to wxWidgets-trunk (Windows only)
Eran
So I might move to wxWidgets-trunk (Windows only)
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 176
- Joined: Sun Aug 17, 2008 2:45 pm
- Contact:
Re: assert "win" failed (URGENT)
I used wxMSW-2.9.1-Setup.exe for Windows and could build it with MinGW without any problem.eranif wrote:I was going to compile wx291 under Windows when I realized that wx291 can not be compiled with MinGW udner Windows
Frank
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: assert "win" failed (URGENT)
I was not able to build it... (using the MinGW that comes with codelite)
Got link errors about wxSTC (I saw a bug in wxWidgets.org that said that this will be fixed in next version)
Eran
Got link errors about wxSTC (I saw a bug in wxWidgets.org that said that this will be fixed in next version)
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 176
- Joined: Sun Aug 17, 2008 2:45 pm
- Contact:
Re: assert "win" failed (URGENT)
Hi Eran,
I'm using tdm-gcc-4.5.1
Frank
I'm using tdm-gcc-4.5.1
Frank