User forums > Help
I think I might be retarded...
oBFusCATed:
What about contrib/SpellChecker?
Please learn to use the search tool of your file manager!
eanema:
Found it!
But now when I try and build it I receive an error message. Any thoughts on what the problem is and how this might be fixed?
Making all in wxspellchecker
make[1]: Entering directory `/home/me/Desktop/codeblocks/trunk/src/plugins/contrib/SpellChecker/wxspellchecker'
/bin/bash ../../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I./include -I./.. -I../../../../../src/sdk/wxscintilla/include -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -DHUNSPELL_STATIC -MT HunspellInterface.lo -MD -MP -MF .deps/HunspellInterface.Tpo -c -o HunspellInterface.lo `test -f '../HunspellInterface.cpp' || echo './'`../HunspellInterface.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I./include -I./.. -I../../../../../src/sdk/wxscintilla/include -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -DHUNSPELL_STATIC -MT HunspellInterface.lo -MD -MP -MF .deps/HunspellInterface.Tpo -c ../HunspellInterface.cpp -fPIC -DPIC -o .libs/HunspellInterface.o
../HunspellInterface.cpp:19:33: error: hunspell/hunspell.hxx: No such file or directory
../HunspellInterface.cpp: In member function ‘virtual int HunspellInterface::InitializeSpellCheckEngine()’:
../HunspellInterface.cpp:66: error: invalid use of incomplete type ‘struct Hunspell’
../HunspellInterface.h:46: error: forward declaration of ‘struct Hunspell’
../HunspellInterface.cpp: In member function ‘virtual int HunspellInterface::UninitializeSpellCheckEngine()’:
../HunspellInterface.cpp:75: warning: possible problem detected in invocation of delete operator:
../HunspellInterface.cpp:75: warning: invalid use of incomplete type ‘struct Hunspell’
../HunspellInterface.h:46: warning: forward declaration of ‘struct Hunspell’
../HunspellInterface.cpp:75: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
../HunspellInterface.cpp: In member function ‘virtual wxArrayString HunspellInterface::GetSuggestions(const wxString&)’:
../HunspellInterface.cpp:203: error: invalid use of incomplete type ‘struct Hunspell’
../HunspellInterface.h:46: error: forward declaration of ‘struct Hunspell’
../HunspellInterface.cpp: In member function ‘virtual bool HunspellInterface::IsWordInDictionary(const wxString&)’:
../HunspellInterface.cpp:224: error: invalid use of incomplete type ‘struct Hunspell’
../HunspellInterface.h:46: error: forward declaration of ‘struct Hunspell’
../HunspellInterface.cpp: In member function ‘virtual wxString HunspellInterface::GetCharacterEncoding()’:
../HunspellInterface.cpp:458: error: invalid use of incomplete type ‘struct Hunspell’
../HunspellInterface.h:46: error: forward declaration of ‘struct Hunspell’
make[1]: *** [HunspellInterface.lo] Error 1
make[1]: Leaving directory `/home/me/Desktop/codeblocks/trunk/src/plugins/contrib/SpellChecker/wxspellchecker'
make: *** [all-recursive] Error 1
eanema:
also, is there any build instructions around somewhere? The readme doesn't have anything about compiling...
oBFusCATed:
If I remember correctly, building it against 10.05 won't work.
Why don't you install a nightly build?
What distro are you using?
MortenMacFly:
--- Quote from: eanema on January 30, 2012, 03:26:25 pm ---also, is there any build instructions around somewhere?
--- End quote ---
As it uses relative paht's (as you see from the log) it mus be at the right folder / position (under "contrib") and/or you need fix the path setup (compiler / linker include paths).
But surely you could also just try a nightly. 10/05 is ooooold.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version