News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

r12878 fails to compile via SpellChecker_wx31_64.cbp or SpellChecker_wx32_64.cbp

Started by everSome, August 28, 2022, 03:33:21 AM

Previous topic - Next topic

everSome

Made the following change to both of the aforementioned files in order to get SpellCheckerPlugin.cpp to compile.

diff --git a/src/plugins/contrib/SpellChecker/SpellChecker_wx31_64.cbp b/src/plugins/contrib/SpellChecker/SpellChecker_wx31_64.cbp
--- a/src/plugins/contrib/SpellChecker/SpellChecker_wx31_64.cbp
+++ b/src/plugins/contrib/SpellChecker/SpellChecker_wx31_64.cbp
@@ -74,7 +74,7 @@
               <Add option="-Winvalid-pch" />
               <Add option="-DCB_PRECOMP" />
               <Add option="-DcbDEBUG" />
-               <Add directory="hunspell/src" />
+               <Add directory="hunspell/src/hunspell" />
               <Add directory="wxspellchecker/include" />
               <Add directory="../../../include" />
               <Add directory="../../../include/tinyxml" />
diff --git a/src/plugins/contrib/SpellChecker/SpellChecker_wx32_64.cbp b/src/plugins/contrib/SpellChecker/SpellChecker_wx32_64.cbp
--- a/src/plugins/contrib/SpellChecker/SpellChecker_wx32_64.cbp
+++ b/src/plugins/contrib/SpellChecker/SpellChecker_wx32_64.cbp
@@ -74,7 +74,7 @@
               <Add option="-Winvalid-pch" />
               <Add option="-DCB_PRECOMP" />
               <Add option="-DcbDEBUG" />
-               <Add directory="hunspell/src" />
+               <Add directory="hunspell/src/hunspell" />
               <Add directory="wxspellchecker/include" />
               <Add directory="../../../include" />
               <Add directory="../../../include/tinyxml" />

Otherwise it couldn't find hunspell.h
Is anyone else having this problem?

gd_on

Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).