Author Topic: Can't install codeblocks-contrib on ubuntu 12.04  (Read 29000 times)

Offline HeReSY

  • Single posting newcomer
  • *
  • Posts: 8
Can't install codeblocks-contrib on ubuntu 12.04
« on: May 19, 2012, 09:57:39 am »
Hi,

i use codeblocks for my projects for a long time.
Now i upgraded my pc with the newest ubuntu version 12.04.

After that i installed codeblocks from jens repository.
My projects uses the autoversioning plugin which is located in the codeblocks-contrib package.

But i can't install that package because of its dependencies with libhunspell.
it requiers version 1.2 but i have version 1.3 installed.
How can i install the contrib package anyway?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12001
    • Travis build status
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #1 on: May 19, 2012, 10:07:40 am »
I guess you can build your own packages in this case...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #2 on: May 19, 2012, 02:48:37 pm »
But i can't install that package because of its dependencies with libhunspell.
it requiers version 1.2 but i have version 1.3 installed.
How can i install the contrib package anyway?
Huh? Shouldn't it be the opposite, so you have 1.2 but need 1.3? In any case, you can edit this setting, as on Windows we work with 1.3 already, so the code is compatible to 1.3.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #3 on: May 19, 2012, 04:00:48 pm »
It's automatically turned in dependency, because the packages are build on debian stable.
So not easy to fix.

Offline HeReSY

  • Single posting newcomer
  • *
  • Posts: 8
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #4 on: May 20, 2012, 09:05:07 am »
HI,

thanks for the answer.
I will try to build the plugins by myself, or is there a way to force the installation.
I don't need the plugin based on libhunspell. So i can delete or disable it later manually.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #5 on: May 20, 2012, 09:28:35 am »
You can force installation on the commandline, if the packages are already downloaded (you can download them manually from my server: http://apt.jenslody.de/pool/main/c/codeblocks/.
And install the contrib-plugin packages (codeblocks-contrib, codeblocks-contrib-common and codeblocks-libwxcontrib0) with dpkg -i --force-depends [package names sepearted by space.

This will most likely break updates with package-manager, because they will detect the codeblocks-contrib package as defect and will (in most cases) not do anything, before this is repaired.

Self-building is quite straight forward, but you need a lot of development packages.

Offline HeReSY

  • Single posting newcomer
  • *
  • Posts: 8
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #6 on: May 20, 2012, 10:37:35 am »
Thanks for that to.

I will try it.

But befor compiling the whole stuff, i tried to extract the plugin i need and copy it to there destination folder.
This would be the easiest way, if it works.

Offline pasgui

  • Almost regular
  • **
  • Posts: 165
    • LGP
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #7 on: May 20, 2012, 11:18:25 am »
Hi,

You can try also to install the packages build for ubuntu; have a look here: http://lgp203.free.fr/

Regards,

pasgui

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #8 on: May 20, 2012, 11:35:20 am »
Hi,

You can try also to install the packages build for ubuntu; have a look here: http://lgp203.free.fr/

Regards,

pasgui
That's surely the best way to do it.
Nevertheless I have to deal with libhunspell, because it's different in stable and testing/unstable and there is no backport for it and I do not have the time to mainatin the builds for all flavours.

So I will probably freeze support for stable with actual trunk and start building nightlies on testing.

Offline Freem

  • Almost regular
  • **
  • Posts: 219
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #9 on: May 21, 2012, 02:35:28 pm »
Another solutions are:
_ mixing sources in /etc/apt/preferences and /etc/apt/sources.list (but I do no think it is a good idea for Ubuntu)
_ download libhunspell from debian's website: http://packages.debian.org/search?keywords=libhunspell and install it with dpkg -i

Both those solutions have their problems:
The first is not so simple to configure and you could have strange behavior when trying to do updates. Especially with an Ubuntu distribution mixed with a Debian one... But it works well on Debian.
The second will not allow you to have updates of libhunspell, because it will not be referenced in your sources.list.

Here, I am using the first one and it works perfectly, but I am running Debian.

I just write that for Debian users, because I do not think mixing distribution is a very good thing. And mixing versions might be tricky sometimes.

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #10 on: June 05, 2012, 07:09:20 pm »
Even i came across the same thing on my ubuntu12.04 now. Pretty new to building everything from source. :(

EDIT: If i download all the packages from here http://lgp203.free.fr/ubuntu/?showdetail=codeblocks10#codeblocks10-row and i install them using sudo dkpg -i will codeblocks work properly? Also will the nightly be able to update itself from the repo?
« Last Edit: June 05, 2012, 07:13:20 pm by neo1691 »

Offline Freem

  • Almost regular
  • **
  • Posts: 219
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #11 on: June 05, 2012, 10:59:56 pm »
All Ubuntu users will have the same problem.
Debian testing (and more recent debians ) users too. (At least, they will need to use one package from debian stable... not so hard to do. Maybe it is as simple as that for Ubuntu too?)

If you download the package from a non official package, people here will not be able to give you a hint on "will it works correctly?".
But it seems it works fine, at least for Pasgui.

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #12 on: June 07, 2012, 08:50:53 am »
Okay i downloaded all the packages and tried to install them, here is the only error that i got

Code: [Select]
Errors were encountered while processing:
 codeblocks-wxcontrib-headers_10.05svn8024-0ubuntu1~precise_all.deb
 codeblocks-contrib
]

When i ran codeblocks from terminal here is what failed to load

Code: [Select]
neo1691@Innovator:~/Downloads/Codeblocks packages$ codeblocks
Initialize EditColourSet .....
Initialize EditColourSet: done.
ToDoList: loaded
AutoVersioning: loaded
HelpPlugin: loaded
ProjectsImporter: loaded
OpenFilesList: loaded
CodeStat: loaded
CodeCompletion: loaded
AStylePlugin: loaded
cbKeyBinder: loaded
ClassWizard: loaded
Valgrind: loaded
RegExTestbed: loaded
BYOGames: loaded
ToolsPlus: loaded
lib_finder: loaded
cbDragScroll: loaded
SpellChecker: loaded
wxSmithAui: loaded
Profiler: loaded
wxSmithContribItems: loaded
FilesExtensionHandler: loaded
copystrings: loaded
BrowseTracker: loaded
IncrementalSearch: loaded
MouseSap: loaded
ReopenEditor: loaded
Debugger: loaded
wxSmith: loaded
wxSmithMime: loaded
CppCheck: loaded
DoxyBlocks: loaded
Compiler: loaded
EnvVars: loaded
CB_Koders: loaded
NassiShneidermanPlugin: loaded
ThreadSearch: loaded
Autosave: loaded
SymTab: loaded
Abbreviations: loaded
Cccc: loaded
EditorTweaks: loaded
ScriptedWizard: loaded
Cscope: loaded
HeaderFixup: loaded
CodeSnippets: loaded
HexEditor: loaded
Exporter: loaded
Todo List plugin activated
AutoVersioning plugin activated
Help plugin plugin activated
Foreign projects importer plugin activated
Open files list plugin activated
Code statistics plugin activated
Code completion plugin activated
Source code formatter (AStyle) plugin activated
Keyboard shortcuts plugin activated
Class wizard plugin activated
Valgrind plugin activated
Regular expressions testbed plugin activated
BYO Games plugin activated
ToolsPlus plugin activated
Updating class browser...
Class browser updated.
Library finder plugin activated
DragScroll plugin activated
SpellChecker plugin activated
wxSmith - Aui plugin activated
Code profiler plugin activated
wxSmith - Contrib Items plugin activated
Files extension handler plugin activated
Copy Strings to clipboard plugin activated
BrowseTracker plugin activated
IncrementalSearch plugin activated
MouseSap plugin activated
ReopenEditor plugin activated
Debugger plugin activated
wxSmith plugin activated
wxSmith - MIME plugin plugin activated
CppCheck plugin activated
DoxyBlocks plugin activated
Added compiler "GNU GCC Compiler"

(codeblocks:8854): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 18 and height -17
Added compiler "Intel C/C++ Compiler"
Added compiler "SDCC Compiler"
Added compiler "Tiny C Compiler"
Added compiler "GDC D Compiler"
Added compiler "LLVM D Compiler"
Added compiler "Digital Mars D Compiler"
Added compiler "GNU Fortran Compiler"
Added compiler "G95 Fortran Compiler"
Added compiler "GNU ARM GCC Compiler"
Added compiler "GNU AVR GCC Compiler"
Added compiler "GNU GCC Compiler for PowerPC"
Added compiler "GNU GCC Compiler for TriCore"
Compiler plugin activated
Environment variables plugin activated
Koders query plugin activated
NassiShneidermanPlugin plugin activated
ThreadSearch plugin activated
Autosave plugin activated
Symbol Table Plugin plugin activated
Abbreviations plugin activated
Cccc plugin activated
Editor Tweaks plugin: Building menu
Editor Tweaks plugin: making the menu 14
EditorTweaks plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Fortran application'
Project wizard added for 'Fortran library'
Project wizard added for 'Fortran DLL'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Lightfeather project'
Project wizard added for 'Matlab project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'SDL project'
Project wizard added for 'SFML project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
Project wizard added for 'MCS51 Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'C/C++ header'
File(s) wizard added for 'Fortran source'
Scripted wizard plugin activated
Cscope plugin activated
Header Fixup plugin activated
Code snippets plugin activated
HexEditor plugin activated
Source Exporter plugin activated

(codeblocks:8854): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'

(codeblocks:8854): Gtk-CRITICAL **: IA__gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

(codeblocks:8854): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'

(codeblocks:8854): Gtk-CRITICAL **: IA__gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
Loading toolbar...
Initializing plugins...
      

EDIT: Here is the codeblocks log

Code: [Select]
Scanning for lexers in /usr/share/codeblocks/lexers/...
Found 43 lexers
Loading lexer_pascal
Loading lexer_ruby
Loading lexer_prg
Loading lexer_nsis
Loading lexer_postscript
Loading lexer_sql
Loading lexer_rc
Loading lexer_masm
Loading lexer_bibtex
Loading lexer_properties
Loading lexer_OgreMaterial
Loading lexer_haskell
Loading lexer_smalltalk
Loading lexer_gm
Loading lexer_bash
Loading lexer_make
Loading lexer_cg
Loading lexer_ada
Loading lexer_caml
Loading lexer_lua
Loading lexer_f77
Loading lexer_hitasm
Loading lexer_lisp
Loading lexer_vhdl
Loading lexer_OgreCompositor
Loading lexer_css
Loading lexer_A68k
Loading lexer_html
Loading lexer_perl
Loading lexer_matlab
Loading lexer_vbscript
Loading lexer_verilog
Loading lexer_angelscript
Loading lexer_xml
Loading lexer_cpp
Loading lexer_batch
Loading lexer_squirrel
Loading lexer_latex
Loading lexer_python
Loading lexer_diff
Loading lexer_glsl
Loading lexer_d
Loading lexer_fortran
Configured 0 tools
Scanning for plugins in /home/neo1691/.codeblocks/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in /usr/lib/codeblocks/plugins
Tools Plus Plugin: Registering shell type Piped Process Control
/usr/lib/codeblocks/plugins/libFileManager.so: not loaded (missing symbols?)
Loaded 46 plugins
Loading:
ToDoList
AutoVersioning
HelpPlugin
ProjectsImporter
OpenFilesList
CodeStat
CodeCompletion
AStylePlugin
cbKeyBinder
ClassWizard
Valgrind
RegExTestbed
BYOGames
ToolsPlus
lib_finder
cbDragScroll
SpellChecker
SpellChecker: Thesaurus files '/usr/share/codeblocks/SpellChecker/th_de_CH.idx' not found!
wxSmithAui
Profiler
wxSmithContribItems
FilesExtensionHandler
copystrings
BrowseTracker
IncrementalSearch
MouseSap
ReopenEditor
Debugger
wxSmith
wxSmithMime
CppCheck
DoxyBlocks
Compiler
EnvVars
CB_Koders
NassiShneidermanPlugin
ThreadSearch
Autosave
SymTab
Abbreviations
Cccc
EditorTweaks
ScriptedWizard
Cscope
HeaderFixup
CodeSnippets
HexEditor
Exporter
Running startup script
Script plugin registered: Find Broken Files plugin
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'


EDIT2: I had to remove codeblocks completely remove codeblocks from synaptic as the package manager was broken
« Last Edit: June 07, 2012, 09:03:07 am by neo1691 »

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #13 on: June 07, 2012, 11:36:12 am »
I removed yet there is code blocks installed in ubuntu. (Dont know why)

Now i ran a simple Hello world program to test it, and got an error.

CODE:

Code: [Select]
#include <stdio.h>

main ()
{
    printf("Hello CB");
    return 0;
}

ERROR:
Code: [Select]
gcc    -c "/home/neo1691/Programming/IDE's Tests/hello.c" -o "/home/neo1691/Programming/IDE's Tests/hello.o"
s: 1: s: Syntax error: Unterminated quoted string
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings (0 minutes, 0 seconds)
 

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12001
    • Travis build status
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #14 on: June 07, 2012, 11:48:56 am »
Does it build from the command line?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #15 on: June 07, 2012, 11:56:36 am »
Yes it does.
Also tried geany

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6636
    • My Best Post
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #16 on: June 07, 2012, 03:36:15 pm »
Did you try it without a single quote in the path?


/home/neo1691/Programming/IDE's Tests/


Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #17 on: June 07, 2012, 05:19:28 pm »
Did you try it without a single quote in the path?


/home/neo1691/Programming/IDE's Tests/


Tim S.
I had to remove codeblocks as everytime i booted in ubuntu it gave an error regarding usr/share/codeblocks

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #18 on: June 07, 2012, 06:43:08 pm »
Did you try it without a single quote in the path?


/home/neo1691/Programming/IDE's Tests/


Tim S.
I had to remove codeblocks as everytime i booted in ubuntu it gave an error regarding usr/share/codeblocks
What error ?
Normally codeblocks does nothing during boot.

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #19 on: June 07, 2012, 06:49:43 pm »
Whenever i booted into ubuntu there was an error saying "Internal error occoured, send the error details to  [Something-like-that]", in that under the details tab i found that usr/share/codeblocks line..

I dont remember much, should have taken a screenshot though.

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #20 on: June 18, 2012, 04:16:23 pm »
Quick update: pasgui repository works perfectly with ubuntu 12.04!!

Offline JosephMudloff

  • Single posting newcomer
  • *
  • Posts: 2
Re: Can't install codeblocks-contrib on ubuntu 12.04
« Reply #21 on: May 07, 2015, 04:17:55 am »
I THINK I HAVE A *MUCH* EASIER (and elegant) SOLUTION, for those who are coming across this for the first time.
   
I know this is an older thread, but it's still relevant since Ubuntu 12.04 LTS (Precise) is still supported (server version, at least), and versions 10.x and 12.x of CODE::BLOCKS are still available. In fact, 13.x will NOT install on Ubuntu Precise without a LOT of system customization, so if you want v13.x, install it on a more recent Ubuntu version.

I had the same conflict as HeReSY, and I resolved the problem *without* having to recompile or rebuild anything, using the CODE::BLOCKS .deb files available from the project's SourceForge page (not a fork or private repo):

http://sourceforge.net/projects/codeblocks/files/Binaries/12.11/

Note, the downloads they provide (at the time of this writing, at least) are zipped .tar.bz2 files that contain all of the .DEB files (except for libhunspell, the problem child here). PAY ATTENTION to which master archive file you're downloading, as there 4 different versions for Debian: both testing and stable, plus debug and regular versions of both of those.


To qualify this solution, be informed that the system I'm using for this is 32-bit, installed from scratch -- not upgraded. I haven't tried this on a 64-bit system. Nor will I, any time soon, so you can be the first kid on your block to append this forum thread with your results!

Also, in HeReSY's original post, it's unclear if the trouble was on a from-scratch install or a dist-upgrade. In the first post of this topic, (s)he states,
Quote
"Now i upgraded my pc with the newest Ubuntu version 12.04."
But, that's ambiguous. As a side note (based on the past experiences of myself and others), when moving to a new version of Ubuntu, a strong recommendation is to perform a fresh install rather than a dist-upgrade.


To briefly explain the cause of the original problem here, the version of libhunspell for Ubuntu Precise is 1.3.x, and as mentioned in the initial post of this thread (by forum member HeReSY), the codeblocks-contrib package requires 1.2 >= 1.2.11 (currently) -- 1.3 won't work.

*** HOWEVER ***
You ~can~ (yes, can) install the required older version 1.2.11 *without* removing v1.3; they can both exist on the same Ubuntu Precise system.

VERY IMPORTANT: The only libhunspell-1.2 version from Ubuntu is 1.2.8, so you have to use the one for Debian (which is v1.2.11). Easiest way: download the .DEB file:

32-bit
https://packages.debian.org/squeeze/i386/libhunspell-1.2-0/download

64-bit
https://packages.debian.org/squeeze/amd64/libhunspell-1.2-0/download


Then, simply use dpkg to install it:

$ sudo dpkg -i /path/to/the/DEB/file.deb

For me, that went off without a hitch. Additionally, I had PURGED (apt-get purge) the CODE::BLOCKS v10.5 packages that I originally installed from the Ubuntu Precise apt repositories. This also includes libwxSmith stuff, too (but not wx-2.x -- keep that/those, if they're already installed).
   
Anything that is provided as a .DEB file from the SourceForge CODE::BLOCKS archive(s) should be uninstalled/purged from your Ubuntu Precise installation before you begin. That will save you a LOT of headaches.

Also, install the build-essential metapackage (and anything else your system needs for development) BEFORE you start. It may not be necessary, but 1.) YOU'RE INSTALLING A PROGRAMMING DEVELOPMENT IDE (duh), and 2.) If/as you DO run into trouble, it'll be a lot easier to figure out a solution.

So, after installing the older required 1.2 version of libhunspell (*without* uninstalling the v1.3 you currently have), move on to the CODE::BLOCKS .DEB files, using dpkg again, as above.


*** ANOTHER HOWEVER ***
The order in which they're installed will make a little bit of a difference. And my apologies up front, I can't remember what finally got me through the whole thing. But...

...there was one (again, sorry, don't remember which, perhaps one of the libwxSmith packages) that failed, and another CODEBLOCKS .deb that gets reported as a broken package if one of the other ones isn't installed first. Just use common sense (like, make sure wx-2.8 and/or 2.6 and/or 3.whatever [at least one of those] are installed first, along with your basic development tools), and then use trial and error... and don't get freaked out too much if you run into a dpkg failure. If one package fails, move on to another one and get back to it. You're not going to hoark your system with this, just keep plugging away until they all get installed, which they eventually should.

One last side note -- something that I haven't been able to resolve yet, unfortunately. Once everything is installed, some of the CONTRIB stuff is configured incorrectly somewhere. The basic problem is that if you go to use (a contrib) thingie, like the tree list control or FlatNotebook, you get errors either when adding it to the form interface (like in the case of the TreeList), or at build/compile time, as with wxFlatNotebook. Part of the trouble is that the contrib stuff winds up in

/usr/include/codeblocks/wxContribItems/...
and
/usr/lib/codeblocks/wxContribItems/...

However, part of the CODE::BLOCKS program is looking for the wxSmithContribItems directory (note the SMITH in there). I got part of it resolved (sloppily) by doing a [$ sudo cp -prv] to provide the system with a clone of each, using each name. I thought it best not to try at first with symbolic links, since that could lead to further problems. Partial success! Meaning, no errors when adding to the form, and fewer errors when doing a build-and-run.
   
But even after doing that, the original header files still declare #include<wx/thingie/[headerfile].h> or #include<wx/[headerfile].h>... so, at compile time, I still get errors (only not as many, yay!) because "wx/" is a relative path appended to a base include or search path (I'm guessing), which doesn't correctly include the location of these contrib files. And, manually editing the #include statements in the header files would certainly NOT be an ideal solution.

So, I just wanted to provide a heads-up that something is wrong with the contrib stuff (not yet sure if it's codeblocks-contrib, codeblocks-wxcontrib or both). And, not sure if it's a glitch from the CODE::BLOCKS dev team, the Debian package maintainer(s) or the contributors. Regardless, it certainly wasn't thoroughly tested.  ???
   
However, there are only 7 GUI widgets on the Contrib tab in CODE::BLOCKS v12.11 out of the box, and these seem to be the only things affected. Additionally, most seem to be just enhanced implementations of some of the widgets available on the Standard tab. So, the meat & potatoes are awesome, but the cranberry sauce is putrid.

At any rate, I'm not going to promise to follow up on this once I get it fixed, *if* I get it fixed, because only a small percentage of posts that promise, "I'll post more [bull$hit] when I find out more..." actually fulfill the promise. And, I've got TONS of other things with which to wrestle. So, if someone else who is at least half as tenacious as I am can get a little farther on the contrib widgets, hopefully they'll share their insights here.

Again, though, it's just those Contrib items that I've found troublesome, the rest of it is tip-top.

In my case, at least. LUBBS me sum CODE::BLOCKS !$!!
   
Good luck!

Joseph
« Last Edit: May 07, 2015, 07:25:09 am by JosephMudloff »