[Anjuta-list] Anjuta, wxWindows and wxGLCanvas, how?



Hi,

I've just started using Anjuta and have created a wxWindows project. The
problem is, I need the wxGLCanvas widget, but I can't seem to work out
how to insert it.

I have tried modifying aclocal.m4 to have the following:

      WX_LIBS=`$WX_CONFIG_WITH_ARGS --gl-libs --libs`
      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --gl-libs --libs`

instead of:

      WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs`

But the configure doesn't complete:

**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
 
processing .
Creating ./aclocal.m4 ...
Running gettextize...  Ignore non-fatal messages.
  autopoint --force
Creating directory m4
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/isc-posix.m4
Copying file m4/lcmessage.m4
Copying file m4/progtest.m4
Making ./aclocal.m4 writable ...
Running libtoolize...
You should update your `aclocal.m4' by running aclocal.
Running aclocal  ...
aclocal: configure.in: 16: macro `AM_OPTIONS_WXCONFIG' not found in
library
aclocal: configure.in: 17: macro `AM_PATH_WXCONFIG' not found in library
Running autoheader...
Running automake --gnu  ...
Running autoconf ...
Running ./configure ...
loading cache ./config.cache
checking for non-GNU ld... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for a BSD compatible install... (cached) /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for strerror in -lcposix... (cached) no
checking for c++... (cached) g++
checking whether the C++ compiler (g++  ) works... yes
checking whether the C++ compiler (g++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached)                 -fPIC
checking if gcc PIC flag                 -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
checking for wx-config... (cached) /opt/wxGTK-2.4.0/bin/wx-config
checking for wxWindows version >= 2.3.2... yes (version 2.4.0)
checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.7... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unsigned long long... (cached) yes
checking for shared library run path origin... (cached) done
checking for ranlib... (cached) ranlib
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking whether we are using the GNU C Library 2.1 or newer... (cached)
yes
checking whether integer division by zero raises SIGFPE... (cached) yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... (cached) no
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... (cached) yes
checking for fgets_unlocked... (cached) yes
checking for getc_unlocked... (cached) yes
checking for getcwd... (cached) yes
checking for getegid... (cached) yes
checking for geteuid... (cached) yes
checking for getgid... (cached) yes
checking for getuid... (cached) yes
checking for mempcpy... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for stpcpy... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... (cached) yes
checking for tsearch... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for iconv... (cached) yes
checking for iconv declaration... (cached)
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking for bison... (cached) bison
checking version of bison... 1.35, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
sed: file conftest.s1 line 63: Unterminated `s' command
creating intl/Makefile
sed: file conftest.s1 line 63: Unterminated `s' command
creating po/Makefile.in
sed: file conftest.s1 line 63: Unterminated `s' command
creating include/Makefile
sed: file conftest.s1 line 63: Unterminated `s' command
creating src/Makefile
sed: file conftest.s1 line 63: Unterminated `s' command
creating config.h
config.h is unchanged
creating po/POTFILES
creating po/Makefile
Now type `make' to compile the package.

Now, I'm not used to using autoconf, I usually just create my own
makefiles, so I don't know what to do about this.

Can anyone point me in the right direction?

Thanks,
Luke.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]