Author Topic: Error while building codeblocks in unix-style  (Read 9422 times)

Offline anandamu16

  • Multiple posting newcomer
  • *
  • Posts: 96
Error while building codeblocks in unix-style
« on: April 10, 2017, 08:55:20 am »
Hi,

I am trying to build codeblocks in linux style on windows. For this I am using cygwin with all autotools library installed.
When I do ./bootstrap it gives me the below error.

Quote
configure.ac:93: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:94: error: possibly undefined macro: AM_PATH_WXCONFIG

Can anybody help?

Environment: Windows, Codeblocks 16.01 src code, Cygwin (with required libs and packages installed)

Online Commaster

  • Almost regular
  • **
  • Posts: 171
Re: Error while building codeblocks in unix-style
« Reply #1 on: April 10, 2017, 09:17:21 am »
You forgot to install/build wxWidgets in your cygwin.

Or run your bootstrap like this:
Code
ACLOCAL_FLAGS="-I /path/to/built/wxWidgets/share/aclocal" ./bootstrap
« Last Edit: April 10, 2017, 09:19:26 am by Commaster »