Hi! Sorry, I haven't even come to run Codeblocks, because i am constantly encountering errors (currently that if try to run codeblocks, it says it cant find libcodeblocks.so.0)
I am Running Ubuntu 6.10 Edgy, and i have gcc version 4.1.2
When I ran make, I got a few errors concerning Extra Qualification.
for example these:
./editormanager.h:129: error: extra qualification 'EditorManager::' on member 'GetTree'
./managedthread.h:14: error: extra qualification 'ManagedThread::' on member 'ManagedThread'
./managedthread.h:15: error: extra qualification 'ManagedThread::' on member 'ManagedThread'
./xtra_classes.h:21: error: extra qualification 'wxSplitPanel::' on member 'wxSplitPanel'
./xtra_classes.h:24: error: extra qualification 'wxSplitPanel::' on member 'wxSplitPanel'
./xtra_classes.h:36: error: extra qualification 'wxSplitPanel::' on member 'RefreshSplitter'
./xtra_classes.h:38: error: extra qualification 'wxSplitPanel::' on member 'wxSplitPanel'
I searched the right source files for the line where the error occured, and I found that although the member functions were defined in the right namespace, the functions where named with the namespace (dunno how to express myself...)
example:
codeblocks-1.0rc2/src/sdk/editormanager.h:129
EditorManager::wxTreeCtrl *GetTree();
I simply removed "EditorManager::" and all the other qualifications where an error occured, and then at least the make script worked.
I'm quite a noob concerning C++, but wouldn't it be more sensible to simply leave out the extra qualifications?
Where did you get the source from? Because these errors were fixed in svn head a really long time ago.
PS: Could anyone update the project files in svn to the new version? Thanks ;)
It was the .tgz source from
http://www.codeblocks.org/downloads.shtml
The download link is
http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2.tgz?download
These are the sources of the RC2 release - which is more than one year old.
The current sources should be obtained through svn as described here (http://www.codeblocks.org/source_code.shtml).
Ok, i got the right sources now and I compiled it (with a few error messages less) and it works.
You know, normally if I want to download a program and install it from source, i go to google, search for the program, hit the site that seems to be the most official (www.codeblocks.org seemed quite official) and search for something like download. I didn't see a hint there that the source might be old...
But anyway, thanks for help
Did you read the Download (http://www.codeblocks.org/downloads.shtml) page by change? You know, the large paragraph at the top ;).
Well erm no, I should have obviously.
Thanks anyway, it seems to work now.