User forums > Help

Plugins that failed to load: libcompiler.so - Solved

<< < (2/3) > >>

thomas:

--- Quote ---dberry@opteron:~/cb/trunk$ ./bootstrap
/usr/share/aclocal/mozilla-thunderbird-nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
--- End quote ---
Something is seriously screwed up in your system...


--- Quote ---main.cpp: In member function âvoid MainFrame::CreateMenubar()â
--- End quote ---
Also, it seems your terminal and your compiler use different character encodings.

Gibbon:

--- Quote from: thomas on May 18, 2006, 01:24:20 pm ---Something is seriously screwed up in your system...
--- End quote ---

Not anymore :D


--- Quote from: thomas on May 18, 2006, 01:24:20 pm ---Also, it seems your terminal and your compiler use different character encodings.

--- End quote ---

I'm ssh'd in from a laptop - working from the terminal works ok.

Still can't compile however---


--- Code: ---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

--- End code ---

Michael:
Hello,

Do you have any character encoding problem? Look at here:


--- Quote ---printdlg.h:16: error: âPrintColourModeâ does not name a type

--- End quote ---

This is not normal.

Best wishes,
Michael

Gibbon:

--- Quote from: Michael on May 18, 2006, 02:44:08 pm ---Do you have any character encoding problem? Look at here:

--- End quote ---

No - as mentioned, I was ssh'ing into the box - when I compile from a local terminal I still get the same errors:


--- Code: ---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

--- End code ---

Will this help


--- Code: ---dberry@opteron:~/cb/trunk$ gcc --version
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

--- End code ---


--- Code: ---Linux opteron 2.6.12-10-k7-smp #1 SMP Fri Apr 28 14:17:26 UTC 2006 i686 GNU/Linux

--- End code ---


--- Code: ---dberry@opteron:~/cb/trunk$ echo $PATH
/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games

--- End code ---

Thanks.

thomas:
Did you try a clean rebuild, including removing all precompiled headers etc? It does not seem to find things like EditorColourSet, so it may be that it still uses an old precompiled header.

Also, this is a bit strange, but that could be an artefact due to copying from your terminal, too:
g++ [...] -I/usr/lib/wx/include/gtk2-unicod e-release-2.6 [...] -I../../src/s dk/wxscintilla/include -I../../src/sdk [...] -I../../sr c/src/wxAUI
If you have those odd space chars on the original console too, then the compiler will of course not find one include file.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version