I have installed this rpm on my system.
codeblocks-10.05-0-suse112.i686.rpm
But the problem is codeblocks is not starting after it shows the splash screen.
Any pointer on how to resolve this issue?
I have installed this rpm on my system.
codeblocks-10.05-0-suse112.i686.rpm
But the problem is codeblocks is not starting after it shows the splash screen.
Any pointer on how to resolve this issue?
What happens when you try to run it from the terminal?
These are the error messages I get when running the command in 2 modes.
While I do sudo codeblocks, I dont even get a splash screen
> sudo codeblocks
root's password:
Error: Unable to initialize gtk, is DISPLAY set properly?
> codeblocks
/usr/share/themes/Synchronicity/gtk-2.0/gtkrc:46: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/usr/share/themes/Synchronicity/gtk-2.0/gtkrc:47: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/usr/share/themes/Synchronicity/gtk-2.0/gtkrc:48: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
/usr/share/themes/Synchronicity/gtk-2.0/gtkrc:46: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/usr/share/themes/Synchronicity/gtk-2.0/gtkrc:47: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/usr/share/themes/Synchronicity/gtk-2.0/gtkrc:48: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
codeblocks: relocation error: /usr/lib/libcodeblocks.so.0: symbol _Z18wxSafeConvertWX2MBPKw, version WXU_2.8 not defined in file libwx_baseu-2.8.so.0 with link time reference
mean while these are the 2 rpms i have installed,
codeblocks-10.05-0.i686
codeblocks-contrib-10.05-0.i686
what openSUSE version are you using and what is the output of
zypper info wxGTK
This is the output
sreejith@linux-yer7:~/work/softwares/codeblock/suse> zypper info wxGTK
Loading repository data...
Reading installed packages...
Information for package wxGTK:
Repository: @System
Name: wxGTK
Version: 2.8.10.1-11.2
Arch: i586
Vendor: openSUSE
Installed: Yes
Status: up-to-date
Installed Size: 12.8 MiB
Summary: C++ Framework for Cross-Platform Development
Description:
wxWidgets is a free C++ framework to make cross-platform programming
easy. It supports Windows 3.1/95/98/NT, and Unix with
GTK/Motif/Lesstif. This is the version for GTK+. This package only
contains the runtime libraries and other data needed by the runtime
libraries.
Additional documentation is available in the package wxGTK-doc and you
can find some examples in the package wxGTK-examples.
OpenSuse version is 11.3
sree ec wrote:
> I have installed this rpm on my system.
> codeblocks-10.05-0-suse112.i686.rpm
is there a reason you do not install Code::Blocks using YaST…
its all packaged up for you in the dev/tools repo
search here: http://software.opensuse.org/search
–
DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
When it comes to chocolate, resistance is futile.
Use codeblocks from software.opensuse.org. Remove the codeblocks you have installed with
zypper remove codeblocks codeblocks-contrib
And use this one click install:
http://software.opensuse.org/ymp/devel:tools:ide/openSUSE_11.3/codeblocks.ymp?base=openSUSE%3A11.3&query=codeblocks
You might ask yourself why and that is because the codeblocks you have installed is built for openSUSE 11.2 and this one click install codeblocks if for 11.3
Well… Thanks… Now it works like a charm!!!
Can I ask you one more thing, Is this ‘suse112’ in the rpm name made you understand that it was built for 11.2?[Just to understand and not to come back again with a similar problem]
I am just exploring my new OpenSuse Installation and I just did not know this option.
Thanks for reminding
sree ec wrote:
> I am just exploring my new OpenSuse Installation and I just did not
> know this option.
> Thanks for reminding
welcome…
hint: sometimes when exploring, it is useful to look at a “map” to
get a general lay of the land…doing so often saves a lot of walking
in circles…
one “map” place that might be useful to openSUSE explorers is:
http://en.opensuse.org/Concepts
enjoy!!
–
DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
When it comes to chocolate, resistance is futile.
sree ec wrote:
> Is this ‘suse112’ in the rpm name made
> you understand that it was built for 11.2?
short answer: yes
longer answer:
everything before “.rpm” is useful info for you, see:
http://www.rpm.org/max-rpm/ch-rpm-file-format.html
–
DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
When it comes to chocolate, resistance is futile.
I have similar problem - can’t start codeblocks. it starts then immideatelly shows assertion failed window
318): assert ““source”” failed in DoScreenToClient(): ScreenToClient failed on unrealized windowbacktrace:
ASSERT INFO:
…/src/gtk/window.cpp(3318): assert ““source”” failed in DoScreenToClient(): ScreenToClient failed on unrealized window
BACKTRACE:
[1] wxWindow:oScreenToClient(int*, int*) const
[2] wxTopLevelWindowBase:oScreenToClient(int*, int*) const
[3] g_closure_invoke
[4] g_signal_emit_valist
[5] g_signal_emit
[6] gtk_main_do_event
[7] g_main_context_dispatch
[8] g_main_loop_run
[9] gtk_main
[10] wxGUIEventLoop:oRun()
[11] wxEventLoopBase::Run()
[12] wxDialog::ShowModal()
[13] CompilerFactory::LoadSettings()
[14] CompilerGCC:nAttach()
[15] cbPlugin::Attach()
[16] PluginManager::AttachPlugin(cbPlugin*, bool)
[17] PluginManager::LoadAllPlugins()
[18] MainFrame::ScanForPlugins() /home/alexb/Projects/SVN_LOCAL/trunk/DEMO/codeblocks_svn/src/src/main.cpp:1208
[19] MainFrame::MainFrame(wxWindow*) /home/alexb/Projects/SVN_LOCAL/trunk/DEMO/codeblocks_svn/src/src/main.cpp:630
[20] wxUpdateUIEvent::SetUpdateInterval(long) /usr/local/include/wx-3.1/wx/event.h:2690
[21] CodeBlocksApp:nInit() /home/alexb/Projects/SVN_LOCAL/trunk/DEMO/codeblocks_svn/src/src/app.cpp:698
[22] wxEntry(int&, wchar_t**)
[23] main /home/alexb/Projects/SVN_LOCAL/trunk/DEMO/codeblocks_svn/src/src/app.cpp:322
[24] __libc_start_main
[25] _start /home/abuild/rpmbuild/BUILD/glibc-2.19/csu/…/sysdeps/x86_64/start.S:125
I’m running openSUSE Leap 42.1 (x86_64) 64-bit
Ldd output:
> ldd /usr/bin/codeblocks
linux-vdso.so.1 (0x00007ffd19358000)
libcodeblocks.so.0 => /usr/local/lib64/libcodeblocks.so.0 (0x00007ff0c8e51000)
libwx_gtk2u_aui-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_gtk2u_aui-2.8.so.0 (0x00007ff0c8be2000)
libwx_gtk2u_xrc-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_gtk2u_xrc-2.8.so.0 (0x00007ff0c8947000)
libwx_gtk2u_qa-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_gtk2u_qa-2.8.so.0 (0x00007ff0c8726000)
libwx_gtk2u_html-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_gtk2u_html-2.8.so.0 (0x00007ff0c8467000)
libwx_gtk2u_adv-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_gtk2u_adv-2.8.so.0 (0x00007ff0c8182000)
libwx_gtk2u_core-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_gtk2u_core-2.8.so.0 (0x00007ff0c7b2b000)
libwx_baseu_net-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_baseu_net-2.8.so.0 (0x00007ff0c78f8000)
libwx_baseu-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0 (0x00007ff0c7594000)
libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007ff0c6f58000)
libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007ff0c6d06000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff0c6ae9000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007ff0c6765000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff0c654d000)
libc.so.6 => /lib64/libc.so.6 (0x00007ff0c61a5000)
libwx_gtk2u_aui-3.1.so.1 => /usr/local/lib64/libwx_gtk2u_aui-3.1.so.1 (0x00007ff0c5f07000)
libwx_gtk2u_propgrid-3.1.so.1 => /usr/local/lib64/libwx_gtk2u_propgrid-3.1.so.1 (0x00007ff0c5c13000)
libwx_gtk2u_richtext-3.1.so.1 => /usr/local/lib64/libwx_gtk2u_richtext-3.1.so.1 (0x00007ff0c584c000)
libwx_gtk2u_xrc-3.1.so.1 => /usr/local/lib64/libwx_gtk2u_xrc-3.1.so.1 (0x00007ff0c5537000)
libwx_gtk2u_html-3.1.so.1 => /usr/local/lib64/libwx_gtk2u_html-3.1.so.1 (0x00007ff0c5267000)
libwx_gtk2u_qa-3.1.so.1 => /usr/local/lib64/libwx_gtk2u_qa-3.1.so.1 (0x00007ff0c503f000)
libwx_gtk2u_adv-3.1.so.1 => /usr/local/lib64/libwx_gtk2u_adv-3.1.so.1 (0x00007ff0c4c44000)
libwx_gtk2u_core-3.1.so.1 => /usr/local/lib64/libwx_gtk2u_core-3.1.so.1 (0x00007ff0c43bd000)
libwx_baseu_xml-3.1.so.1 => /usr/local/lib64/libwx_baseu_xml-3.1.so.1 (0x00007ff0c41ab000)
libwx_baseu_net-3.1.so.1 => /usr/local/lib64/libwx_baseu_net-3.1.so.1 (0x00007ff0c3f5b000)
libwx_baseu-3.1.so.1 => /usr/local/lib64/libwx_baseu-3.1.so.1 (0x00007ff0c3ac0000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007ff0c37b1000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007ff0c35ad000)
libm.so.6 => /lib64/libm.so.6 (0x00007ff0c32ab000)
libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x00007ff0c2ff6000)
libwx_baseu_xml-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_baseu_xml-2.8.so.0 (0x00007ff0c2deb000)
libmspack.so.0 => /usr/lib64/libmspack.so.0 (0x00007ff0c2bd7000)
libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x00007ff0c29b3000)
libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007ff0c2768000)
libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007ff0c2565000)
libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007ff0c235e000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007ff0c2156000)
libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007ff0c1f19000)
libtiff.so.5 => /usr/lib64/libtiff.so.5 (0x00007ff0c1ca3000)
libz.so.1 => /lib64/libz.so.1 (0x00007ff0c1a8d000)
libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007ff0c1888000)
libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x00007ff0c167b000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007ff0c133d000)
libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007ff0c1136000)
libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007ff0c0f10000)
libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007ff0c0bee000)
libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007ff0c086e000)
libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007ff0c065a000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007ff0c041d000)
libffi.so.4 => /usr/lib64/libffi.so.4 (0x00007ff0c0213000)
/lib64/ld-linux-x86-64.so.2 (0x00005575b862c000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007ff0bff7c000)
libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007ff0bfd7a000)
libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007ff0bfb4e000)
libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007ff0bf8e8000)
libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007ff0bf6dd000)
libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007ff0bf4cd000)
libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007ff0bf2c2000)
libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007ff0bf0b6000)
libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007ff0beeb3000)
libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007ff0becb0000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007ff0bea9d000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007ff0be880000)
libuuid.so.1 => /usr/lib64/libuuid.so.1 (0x00007ff0be67a000)
liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007ff0be454000)
libjbig.so.2 => /usr/lib64/libjbig.so.2 (0x00007ff0be248000)
libjpeg.so.8 => /usr/lib64/libjpeg.so.8 (0x00007ff0bdff2000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007ff0bddd2000)
libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007ff0bdb26000)
libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007ff0bd8fe000)
libxcb-shm.so.0 => /usr/lib64/libxcb-shm.so.0 (0x00007ff0bd6fb000)
libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 (0x00007ff0bd4f0000)
libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007ff0bd25f000)
librt.so.1 => /lib64/librt.so.1 (0x00007ff0bd057000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007ff0bce32000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007ff0bcc1b000)
libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007ff0bc9bb000)
libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007ff0bc7ab000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007ff0bc5a7000)
libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007ff0bc3a4000)
libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007ff0bc19f000)
libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x00007ff0bbf98000)
libgbm.so.1 => /usr/lib64/libgbm.so.1 (0x00007ff0bbd89000)
libwayland-client.so.0 => /usr/lib64/libwayland-client.so.0 (0x00007ff0bbb7b000)
libwayland-server.so.0 => /usr/lib64/libwayland-server.so.0 (0x00007ff0bb969000)
libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007ff0bb759000)
libglapi.so.0 => /usr/lib64/libglapi.so.0 (0x00007ff0bb52b000)
libxcb-glx.so.0 => /usr/lib64/libxcb-glx.so.0 (0x00007ff0bb313000)
libxcb-dri3.so.0 => /usr/lib64/libxcb-dri3.so.0 (0x00007ff0bb10f000)
libxcb-present.so.0 => /usr/lib64/libxcb-present.so.0 (0x00007ff0baf0c000)
libxcb-sync.so.1 => /usr/lib64/libxcb-sync.so.1 (0x00007ff0bad06000)
libxshmfence.so.1 => /usr/lib64/libxshmfence.so.1 (0x00007ff0bab02000)
libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007ff0ba8d9000)
if I run it on terminal, I’ve got next messages
> /usr/bin/codeblocks
/usr/bin/codeblocks: symbol lookup error: /usr/bin/codeblocks: undefined symbol: _ZTV14wxDialogHelper
6 year old thread probably should start a new one and indicate what version you run and where you get the program etc