Hi
Just compiled from SVN - which all worked - but I run I get the following messages:
Manager initialized
Configured 0 tools
Scanning for plugins in /usr/local/share/codeblocks/plugins...
Found 9 plugins
Plugins that failed to load: libcompiler.so
Loading: AStylePlugin Autosave ClassWizard CodeCompletion Debugger FilesExtensionHandler PluginWizard Wizard ToDoList
The file appears to exist
:/usr/local/share/codeblocks/plugins$ ll
total 17232
-rwxr-xr-x 1 root root 1048 2006-05-17 23:29 libastyle.la
-rwxr-xr-x 1 root root 1361363 2006-05-17 23:29 libastyle.so
-rwxr-xr-x 1 root root 1060 2006-05-17 23:29 libautosave.la
-rwxr-xr-x 1 root root 399899 2006-05-17 23:29 libautosave.so
-rwxr-xr-x 1 root root 1078 2006-05-17 23:29 libclasswizard.la
-rwxr-xr-x 1 root root 518356 2006-05-17 23:29 libclasswizard.so
-rwxr-xr-x 1 root root 1096 2006-05-17 23:29 libcodecompletion.la
-rwxr-xr-x 1 root root 3936839 2006-05-17 23:29 libcodecompletion.so
-rwxr-xr-x 1 root root 1060 2006-05-17 23:29 libcompiler.la
-rwxr-xr-x 1 root root 3913099 2006-05-17 23:29 libcompiler.so
-rwxr-xr-x 1 root root 1078 2006-05-17 23:29 libdebuggergdb.la
-rwxr-xr-x 1 root root 3543639 2006-05-17 23:29 libdebuggergdb.so
-rwxr-xr-x 1 root root 1120 2006-05-17 23:29 libdefaultmimehandler.la
-rwxr-xr-x 1 root root 638041 2006-05-17 23:29 libdefaultmimehandler.so
-rwxr-xr-x 1 root root 1084 2006-05-17 23:29 libpluginwizard.la
-rwxr-xr-x 1 root root 842118 2006-05-17 23:29 libpluginwizard.so
-rwxr-xr-x 1 root root 1090 2006-05-17 23:29 libprojectwizard.la
-rwxr-xr-x 1 root root 1313821 2006-05-17 23:29 libprojectwizard.so
-rwxr-xr-x 1 root root 1036 2006-05-17 23:29 libtodo.la
-rwxr-xr-x 1 root root 1075601 2006-05-17 23:29 libtodo.so
What can I do to get the compiler working. I'm not able to even open a project without this plugin !
Thanks
You were right - I already had a older version installed - the svn version must have been referencing the older libraries.
I'm now running the 9th May version - but would still like to build from source.
Now I get the following errors:
Checked out revision 2472.
dberry@opteron:~/cb/trunk$ ./bootstrap
/usr/share/aclocal/mozilla-thunderbird-nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
dberry@opteron:~/cb/trunk$ ./configure > /tmp/cb.log
dberry@opteron:~/cb/trunk$ make >> /tmp/cb.log
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
printdlg.h:16: error: âPrintColourModeâ does not name a type
main.cpp: In member function âvoid MainFrame::CreateMenubar()â:
main.cpp:607: error: âEditorColourSetâ was not declared in this scope
main.cpp:607: error: âthemeâ was not declared in this scope
main.cpp:607: error: âclass EditorManagerâ has no member named âGetColourSetâ
main.cpp: In member function âvoid MainFrame::OnFilePrint(wxCommandEvent&)â:
main.cpp:1906: error: âclass PrintDialogâ has no member named âGetPrintColourModeâ
main.cpp: In member function âvoid MainFrame::OnEditHighlightMode(wxCommandEvent&)â:
main.cpp:2244: error: âEditorColourSetâ was not declared in this scope
main.cpp:2244: error: âthemeâ was not declared in this scope
main.cpp:2244: error: âclass EditorManagerâ has no member named âGetColourSetâ
make[3]: *** [main.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Something is seriously screwed up in your system...
Not anymore :D
Also, it seems your terminal and your compiler use different character encodings.
I'm ssh'd in from a laptop - working from the terminal works ok.
Still can't compile however---
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/sdk -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -I../../src/sdk/wxscintilla/include -I../../src/sdk -I../../src/sdk/wxFlatNotebook -I../../src/src/wxAUI -DENABLE_BINRELOC -DAPP_PREFIX="\"/usr/local\"" -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -O2 -ffast-math -g -O2 -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
printdlg.h:16: error: âPrintColourModeâ does not name a type
main.cpp: In member function âvoid MainFrame::CreateMenubar()â:
main.cpp:607: error: âEditorColourSetâ was not declared in this scope
main.cpp:607: error: âthemeâ was not declared in this scope
main.cpp:607: error: âclass EditorManagerâ has no member named âGetColourSetâ
main.cpp: In member function âvoid MainFrame::OnFilePrint(wxCommandEvent&)â:
main.cpp:1906: error: âclass PrintDialogâ has no member named âGetPrintColourModeâ
main.cpp: In member function âvoid MainFrame::OnEditHighlightMode(wxCommandEvent&)â:
main.cpp:2244: error: âEditorColourSetâ was not declared in this scope
main.cpp:2244: error: âthemeâ was not declared in this scope
main.cpp:2244: error: âclass EditorManagerâ has no member named âGetColourSetâ
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/home/dberry/cb/trunk/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dberry/cb/trunk/src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dberry/cb/trunk/src'
make: *** [all-recursive] Error 1
Do you have any character encoding problem? Look at here:
No - as mentioned, I was ssh'ing into the box - when I compile from a local terminal I still get the same errors:
make[3]: Entering directory `/home/dberry/cb/trunk/src/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/sdk -I/usr/lib/wx/include/gtk2-unicod e-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFF SET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -I../../src/s dk/wxscintilla/include -I../../src/sdk -I../../src/sdk/wxFlatNotebook -I../../sr c/src/wxAUI -DENABLE_BINRELOC -DAPP_PREFIX="\"/usr/local\"" -I/usr/lib/wx/includ e/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK_ _ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA - O2 -ffast-math -g -O2 -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/incl ude/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE S -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC - MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1 ; fi
printdlg.h:16: error: ‘PrintColourMode’ does not name a type
main.cpp: In member function ‘void MainFrame::CreateMenubar()’:
main.cpp:607: error: ‘EditorColourSet’ was not declared in this scope
main.cpp:607: error: ‘theme’ was not declared in this scope
main.cpp:607: error: ‘class EditorManager’ has no member named ‘GetColourSet’
main.cpp: In member function ‘void MainFrame::OnFilePrint(wxCommandEvent&)’:
main.cpp:1906: error: ‘class PrintDialog’ has no member named ‘GetPrintColourMod e’
main.cpp: In member function ‘void MainFrame::OnEditHighlightMode(wxCommandEvent &)’:
main.cpp:2244: error: ‘EditorColourSet’ was not declared in this scope
main.cpp:2244: error: ‘theme’ was not declared in this scope
main.cpp:2244: error: ‘class EditorManager’ has no member named ‘GetColourSet’
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/home/dberry/cb/trunk/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dberry/cb/trunk/src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dberry/cb/trunk/src'
make: *** [all-recursive] Error 1
Will this help
dberry@opteron:~/cb/trunk$ gcc --version
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
Linux opteron 2.6.12-10-k7-smp #1 SMP Fri Apr 28 14:17:26 UTC 2006 i686 GNU/Linux
dberry@opteron:~/cb/trunk$ echo $PATH
/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games
Thanks.
Actually it should be just fine if you do:
make clean && make
That was it - works fine now.
Compiled with no problems - ran it and got the
/usr/local/bin/codeblocks: error while loading shared libraries: libcodeblocks.so.0: cannot open shared object file: No such file or directory
But that was fixed by running ldconfig again.
Thanks