followed by running the new script. This resulted in the same error altern had, doing the following fixed it:
sudo apt-get update
sudo apt-get upgrade
this then installed the libwxgtk2.8-0 package which then enabled codeblocks to run.
However now I’m having problems both with the movieGrabberExample and moviePlayerExample. The grabber fails to find my build in camera (probably identical to yours arturo), and the fingers.mov file plays, but the output looks corrupted and it eventually segfauls. I can run cheese successfully, haven’t tried ucview.
The grabber fails to find my build in camera (probably identical to yours arturo
my computer died so can’t try with that camera : (
are you trying with unicap or gstreamer?
i’ve found a problem with the videoplayer in karmic as by default gstreamer uses now rgba, so you need to specify the depth in the pipeline. i have it working. going to pack it and upload it.
the problem is that da install_dependencies.sh still want to install the old hardy stuff:
line from the file:
WX_DEB=“deb http://apt.wxwidgets.org/ hardy-wx main”
/edit/
just got some errors with my fresh installation:
i also need the libunicap-dev package and the gstreamer0.10-ffmpeg package to start the movieplayer example.
i think you should add this to the install_dependencies.sh script or think about to change to a more free video format?!
I just upgrade some packages and I’m getting this error again:
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
Can’t seem to fix it this time…I think I’m going to have to compile CB from source which is annoying. Looks like codeblocks is not up to date with the latest wxwidgets library in Karmic.
I switched to wx-jaunty in Synaptic > Settings > Preferences > Distribution > ‘Prefer versions from’… ran sudo apt-get update then sudo apt-get upgrade, and no luck. It doesn’t seem to think anything needs upgrading. Same if I run install_depencies.sh or sudo apt-get install libdrm-dev - it thinks everything already has the latest versions, so it doesn’t need to worry.
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
oh dear, curses and double curses! I had codeblocks working fine with arturo’s file that is the wx-widgets from jaunty-wx. Then I clicked on the karmic upgrade without looking at which packages it wanted to upgrade and now I have the same problem as Oolong.
I ran the install-codeblocks.sh script again modified with --reinstall as an option in the apt-get install just for good measure.
I still have the problem.
I will dig around a bit but if anyone has a quick recipe I would be most grateful.
I see in synaptic that if I choose libwxbase2.8-0 and I choose Packages->Force Version, I can choose which version will be used. I have three in the list, the karmic default one, and the jaunty-wx 2.8.10-0 and also a jaunty-wx 2.6.10-1 one. I tried both the jaunty-wx ones and they didn’t work.
uninstall and reinstall of codeblocks is not working either
aaargh so confusing, now I forced the libwxbase2.8 and libwxgtk2.8 to use the karmic repository version and codeblocks works again.
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
i’m trying to do as in the previous post but 2.8.10.1-0 doesn’t show up in the search synaptic despite changing preferences for distribution etc.