Menu

#1608 Error building Code::Blocks with autotools on Windows: conditional "HAVE_HUNSPELL" was never defined.

Undefined
fixed
Christo
AutoTools (4)
Bug_Report
2026-06-14
2026-06-14
lcs
No

In svn 13862, after running ./bootstrap and ./configure --prefix=/d/App/codeblocks/ --enable-silent-rules --disable-pch --with-contrib-plugins=all,-Valgrind, I got the following error:

checking which (if any) contrib plugins to build... all -Valgrind
checking for wx-config... /ucrt64/bin/wx-config
checking for wxWidgets version >= 3.0.0... yes (version 3.3.2)
checking for wxWidgets static library... yes
checking for wxWidgets platform... wxMSW
checking for windres... windres
checking for hunspell... yes
checking gcc version... 16.1.0
yes (version 3.3.2)
configure: (Re)setting libs for wxWidgets 3.3.2
checking for PIC flags... "-fPIC -DPIC"
configure: Configuring Code::Blocks...
configure: SVN revision 25.03svn13862 (2026-06-13 11:15:17)
checking that generated files are newer than configure... done
configure: error: conditional "HAVE_HUNSPELL" was never defined.
Usually this means the macro was only invoked conditionally.

I'm using Windows 11 25H2, and the build environment is MSYS2 UCRT64.

Discussion

  • Christo

    Christo - 2026-06-14
    • labels: --> AutoTools
    • assigned_to: Christo
     
  • Christo

    Christo - 2026-06-14
     
  • Christo

    Christo - 2026-06-14

    Fix committed https://sourceforge.net/p/codeblocks/code/13863/

    @lincs could you please verify?

     

    Last edit: Christo 2026-06-14
    • lcs

      lcs - 2026-06-14

      The issue has been fixed. Thank you for your work.

       
      👍
      1
  • Christo

    Christo - 2026-06-14
    • status: open --> fixed
     

Log in to post a comment.

Auth0 Logo