As I wanted to start developing wxWidget applications on Linux (C++) I downloaded wxGTK-2.6.2, compiled and installed it. Compiling samples from the shell works well with gcc -o test `wx-config --cxxflags` minifram.cpp `wx-config --libs`
Since I want to use an IDE I installed Anjuta. When creating a sample wxWidgets application from Anjuta's wizard the autogen.sh
script fails saying that "WX_LIBS" (when doing automake) is not defined in the "src/Makefile.am" (in fact it fails even earlier when doing aclocal). This variable is defined in the "configure.in" but seems to depend on the "AM_OPTIONS_WXCONFIG" and "AM_PATH_WXCONFIG" macros.
I found these macros in wxwin.m4
file which comes with wxGTK, so I copied the file to /usr/share/aclocal.
But the autogen.sh script still fails at the very beginning when executing "aclocal" with "aclocal: configure.in: 22: macro `AM_OPTIONS_WXRC' not found in library"
I can't find a definition for that macro and don't know what to do.
Please anyone help me.
Anjuta 1.24 (deb package)
wxWidgets 2.6.2 - GTK