Results 1 to 3 of 3

Thread: "Field has incomplete type" while compiling

  1. #1
    Join Date
    Apr 2008
    Beans
    44
    Distro
    Ubuntu 12.04 Precise Pangolin

    "Field has incomplete type" while compiling

    Hello all,

    I want to compile the software 'Maitreya' (http://www.saravali.de/maitreya/). But when I compile, I am getting the error
    In file included from Ashtakavarga.cpp:25:
    Conf.h:71: error: field ‘color_fg’ has incomplete type
    Conf.h:71: error: field ‘color_fg2’ has incomplete type
    Conf.h:71: error: field ‘color_fg3’ has incomplete type
    Conf.h:71: error: field ‘color_bg’ has incomplete type
    Conf.h:71: error: field ‘color_bg2’ has incomplete type
    Conf.h:71: error: field ‘color_marked’ has incomplete type
    Conf.h:71: error: field ‘color_benefic’ has incomplete type
    Conf.h:71: error: field ‘color_malefic’ has incomplete type
    make[4]: *** [Ashtakavarga.o] Error 1
    make[4]: Leaving directory `/home/joyce/Desktop/Astro/maitreya/src/jyotish'
    make[3]: *** [all] Error 2
    make[3]: Leaving directory `/home/joyce/Desktop/Astro/maitreya/src/jyotish'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/joyce/Desktop/Astro/maitreya/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/joyce/Desktop/Astro/maitreya'
    make: *** [all] Error 2
    Can someone please tell me what to do? Thanks

  2. #2
    Join Date
    Apr 2008
    Beans
    7

    Re: "Field has incomplete type" while compiling

    $ sudo apt-get update
    $ sudo apt-get install checkinstall build-essential dh-make devscripts fakeroot patch diff patchutils lintian autotools-dev
    $ sudo apt-get install libwxbase2.8-0 libwxbase2.8-dev libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx2.8-i18n bison
    $ cd maitreya-5.0.1
    $ ./configure
    $ make

    [Now you install the MaitreyaSymbols.ttf font from src/fonts]

    $ sudo make install
    $ maitreya
    Last edited by almodovaris; February 22nd, 2009 at 04:59 PM.

  3. #3
    Join Date
    Apr 2008
    Beans
    44
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: "Field has incomplete type" while compiling

    almodovaris,

    Thanks a lot for the reply. But I had managed to compile it on Window and check my modification. I will compile it on Ubuntu again this weekend.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •