News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Problem running Codeblocks

Started by Nick-us, September 03, 2019, 05:56:33 PM

Previous topic - Next topic

Nick-us

I installed Codeblocks and apparently it is working. Except for 2 error msg below.
It appears every time you run it.
Can anyone help me fix this?
I use Linux, Slackware64-Current, The wxWidgets v.3.1.2 is installed and functioning normally. I can create and compile with a Text Editor

ASSERT INFO:
./src/generic/imaglist.cpp(84): assert "bitmapSize == m_size" failed in Add(): All bitmaps in wxImageList must have the same size

BACKTRACE:
[1] wxGenericImageList::Add(wxBitmap const&)
[2] wxsResourceTree::LoadImage(wxString const&)
[3] wxsAutoResourceTreeImage::wxsAutoResourceTreeImage(wxString const&, bool)
[4] wxsRegisterItem<wxsStaticBitmap>::wxsRegisterItem(wxString, wxsItemType, wxString, long, bool)
[5] _dl_catch_exception
[6] _dl_catch_exception
[7] _dl_catch_error
[8] dlopen
[9] wxDynamicLibrary::RawLoad(wxString const&, int)
[10] wxDynamicLibrary::Load(wxString const&, int)
[11] PluginManager::LoadPlugin(wxString const&)
[12] PluginManager::ScanForPlugins(wxString const&)
[13] wxStringTokenizer::~wxStringTokenizer()
[14] wxStringTokenizer::~wxStringTokenizer()
[15] wxEntry(int&, wchar_t**)
[16] __libc_start_main


ASSERT INFO:
./src/generic/imaglist.cpp(84): assert "bitmapSize == m_size" failed in Add(): All bitmaps in wxImageList must have the same size

BACKTRACE:
[1] wxGenericImageList::Add(wxBitmap const&)
[2] wxsAutoResourceTreeImage::wxsAutoResourceTreeImage(wxBitmap const&, bool)
[3] _dl_catch_exception
[4] _dl_catch_exception
[5] _dl_catch_error
[6] dlopen
[7] wxDynamicLibrary::RawLoad(wxString const&, int)
[8] wxDynamicLibrary::Load(wxString const&, int)
[9] PluginManager::LoadPlugin(wxString const&)
[10] PluginManager::ScanForPlugins(wxString const&)
[11] wxStringTokenizer::~wxStringTokenizer()
[12] wxStringTokenizer::~wxStringTokenizer()
[13] wxEntry(int&, wchar_t**)
[14] __libc_start_main





stahta01

To avoid the error, un-check "Show this dialog next time" and then click on continue.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Nick-us

Quote from: stahta01 on September 03, 2019, 07:09:44 PM
To avoid the error, un-check "Show this dialog next time" and then click on continue.
Tim S.
Ignoring the error message does not solve the problem!
I would like to fix the problem! Instead of pretending it doesn't exist!

stahta01

#3
You can try to disable the wxSmith plugin and see if the error goes away.
If it does, that implies it is in the wxSmith plugin and you can look in that plugin for the cause of the error.

Edit: It helps if you report the Code::Blocks SVN value of your C::B build.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Nick-us

Quote from: stahta01 on September 03, 2019, 07:59:56 PM
You can try to disable the wxSmith plugin and see if the error goes away.
If it does, that implies it is in the wxSmith plugin and you can look in that plugin for the cause of the error.

Edit: It helps if you report the Code::Blocks SVN value of your C::B build.

Tim S.

I did as I asked but the message still persists.
I also enjoyed and disabled all plugins. But the message still persists

I liked your idea of disabling plugins, because I saw that I don't need everyone that was enabled.

I use Codeblocks 17.12 on Linux Slackware-Current.

BlueHazzard

Codeblocks 17.12 has some problems with wx31. Most of them are fixed in trunk...
At the moment we do not provide a nightly build for your distribution, but i think it should be relatively easy to build codeblocks from source....

I do not know Slackware, but you probably can orient you here: https://github.com/bluehazzard/codeblocks_sf/wiki/build_linux_mint_18
you should use the installed wxWidgets installation, so you can jump this part.
If you mention the differences you found from the guide to your system (for example the packet manager) it would be nice if you could post them, so i can update the guide for your system...


Nick-us

#6
Quote from: BlueHazzard on September 03, 2019, 09:21:18 PM
Codeblocks 17.12 has some problems with wx31. Most of them are fixed in trunk...
At the moment we do not provide a nightly build for your distribution, but i think it should be relatively easy to build codeblocks from source....

I do not know Slackware, but you probably can orient you here: https://github.com/bluehazzard/codeblocks_sf/wiki/build_linux_mint_18
you should use the installed wxWidgets installation, so you can jump this part.
If you mention the differences you found from the guide to your system (for example the packet manager) it would be nice if you could post them, so i can update the guide for your system...

Thanks for the link, I will do some tests. sorry for the delay in responding

If so, what would the .svn folder be? Because it does not have in normal Source, but when downloading this way it exists. And it has 63Mb most icons. Can I delete this folder? or should i keep it as source?