Code::Blocks Forums

User forums => Help => Topic started by: geller on May 01, 2007, 05:26:25 pm

Title: Code::Blocks crashes at startup
Post by: geller on May 01, 2007, 05:26:25 pm
The svn rev 3910 was built successfully with wx 2.8.3 on Slackware 11. However codeblocks starts, the dialog with the available compilers shows up, when I click ok
It stops at the tipps dialog and I cant click anything. I doesnt respond.
The console shows
gtk-critical- gtk-window-realize-icon:assertion-info->icon_pixmap==NULL failed
Tried to copy the files from usr/local to /usr, but nothing happened
Title: Re: Code::Blocks crashes at startup
Post by: dk on May 01, 2007, 05:42:17 pm
Looks like the problem described in the nearest topic.
Try to rebuild with wx 2.6.3.
Title: Re: Code::Blocks crashes at startup
Post by: neversion on July 26, 2007, 06:54:19 pm
i have got the same problem.

how can i do?
Title: Re: Code::Blocks crashes at startup
Post by: Biplab on July 26, 2007, 07:03:04 pm
Upgrade to wxGTK-2.8.4.

C::B will not start-up with wxGTK-2.8.3 due to a critical bug in wx.
Title: Re: Code::Blocks crashes at startup
Post by: neversion on July 26, 2007, 07:12:09 pm
how to Upgrade to wxGTK-2.8.4.????? :shock:
Title: Re: Code::Blocks crashes at startup
Post by: Biplab on July 26, 2007, 07:26:48 pm
how to Upgrade to wxGTK-2.8.4.????? :shock:

I prefer to build it from source. Download wxGTK source from wxWidgets site. Then extract it and configure it with following command.
Code
./configure --disable-debug --enable-shared --enable-unicode --enable-monolithic --with-gtk=2 --with-regex=builtin
and then type make and make install.

Otherwise look for some pre-built binaries. Availability of compiled binary varies from distributions to distributions. :)
Title: Re: Code::Blocks crashes at startup
Post by: Biplab on July 27, 2007, 10:11:17 am
Biplab, no biggie, but you've missed to hit empty enter in *code* section and guy will look in truncated configure line trying to figure it out.
I guess you've meant something like this:

I wanted to give the user a basic command which would be sufficient to compile wxGTK and subsequently Code::Blocks with it. However the steps you've shown is quite detailed and useful one.  :)