[go: up one dir, main page]

Menu

#259 Win-Cygwin Compile errors + Patch

open
nobody
5
2011-08-30
2011-08-28
Max Funk
No

I compiled the celestia trunk successfully in cygwin, as follows
$ autoreconf -iv
$ export LIBS='-liconv -lintl'
$ ./configure --with-glut
$ make, make install

An error had to be fixed in astro.cpp. I append the patch.

I would suggest to write the command "autoreconf -iv" in
the INSTALL file.

I could not figure out, why the two libraries libiconv, libintl
are not included automatically...

Discussion

  • Max Funk

    Max Funk - 2011-08-28

    astro.cpp patch

     
  • Max Funk

    Max Funk - 2011-08-30

    I found... libintl.a must be included in src/celestia/Makefile.am as $(LIBINTL)
    (according to the gettext documentation).
    However, the automatically linked library does not contain function dgettext().
    So, I still need to include it manually with 'export LIBS...' as described above.

    Perhaps someone could apply the patch for astro.cpp? I think, it cannot damage anything else.

     
  • Max Funk

    Max Funk - 2011-08-30
    • summary: Win-Cygwin [Patch] --> Win-Cygwin Compile errors + Patch
     

Log in to post a comment.