Win-Cygwin Compile errors + Patch
Real-time 3D visualization of space
Status: Beta
Brought to you by:
cjlaurel
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...
astro.cpp patch
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.