After
./configure --with-contrib-plugins=all --prefix=/opt/codeblocks-svn
make failed with this error:
globals.cpp: In function `FileType FileTypeOf(const wxString&)':
globals.cpp:303: error: `GetFilesGroupsAndMasks' undeclared (first use this
function)
What happens if you modify the include part of globals.cpp from:
#ifndef CB_PRECOMP
[...]
#include "filemanager.h"
#endif
...to:
#ifndef CB_PRECOMP
[...]
#include "filemanager.h"
#include "projectmanager.h"
#endif
??? Does this resolve the compiler issue?!
Still not out of the woods. It got as far as lib_finder, then bailed out with a syntax error:
lib_finder.cpp: In member function `void
lib_finder::SetupTarget(CompileTargetBase*, const wxArrayString&)':
lib_finder.cpp:282: error: syntax error before `->' token
lib_finder.cpp:283: confused by earlier errors, bailing out
make[5]: *** [lib_finder.lo] Error 1
I looked at that line (in trunk/src/plugins/contrib/lib_finder/lib_finder.cpp) & the preceding one but I couldn't find the syntax error.
I just did a "make clean" from my C::B-source root-directory. Here's a snippet of the output:
Making clean in lib_finder
make[4]: Entering directory `/home/jens/codeblocks-build/codeblocks-1.0svn/src/plugins/contrib/lib_finder'
Making clean in lib_finder
make[5]: Entering directory `/home/jens/codeblocks-build/codeblocks-1.0svn/src/plugins/contrib/lib_finder/lib_finder'
rm -rf .libs _libs
rm -f *.lo
make[5]: Leaving directory `/home/jens/codeblocks-build/codeblocks-1.0svn/src/plugins/contrib/lib_finder/lib_finder'
Making clean in .
make[5]: Entering directory `/home/jens/codeblocks-build/codeblocks-1.0svn/src/plugins/contrib/lib_finder'
test -z "lib_finder.zip" || rm -f lib_finder.zip
test -z "liblib_finder.la" || rm -f liblib_finder.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[5]: Leaving directory `/home/jens/codeblocks-build/codeblocks-1.0svn/src/plugins/contrib/lib_finder'
make[4]: Leaving directory `/home/jens/codeblocks-build/codeblocks-1.0svn/src/plugins/contrib/lib_finder'
That means it really cleans up the lib_finder sub-dirs and a look in it shows me that there are no *.so *.lo or any other object files any more.
Don't know what went wrong for you.