[GRASS5] Problems compiling grass51/57 on cygwin
Buchan Milne
bgmilne at cae.co.za
Tue Sep 30 12:46:00 EDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I need just a basic grass51/57 on cygwin (since I do actualy work on
linux, but for a simulation I need it running on Windows), so I tried to
build from my cvs snapshot from the weekend that built fine with all
options on my linux boxes, but I still ran into problems.
Firstly, it seems 'make mix' has problems on Cygwin (due to problems
with symbolic links it sees).
Secondly, I got the common cygwin error "undefined reference to
WinMain at 16". Googling for this seemed to indicate that the "-shared"
option needs to be passed for linking, so I added this in
include/Make/Shlib.make (I guess there should be a better solution).
The build then at least procedes further and links some libraries, but I
then get a whole bunch of errors in lib/gis/env.c (starting with
G_GISRC_MODE_FILE undeclared), which I haven't as yet been able to resolve.
Is anyone else seeing these issues (or do I need to update my Cygwin
installation - it was running the binary dist of 5.0.0 quite well though)?
It would help if the documentation (ie INSTALL) mentioned at least the
first issue (if it's not irrelevant).
Finally, I would also be interested in a binary Cygwin build (I
essentially just need to be able to compile something similar to
v.net.path ...) if anyone has one.
Regards,
Buchan
- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/ebNIrJK6UGDSBKcRAkZSAJ9XboZmuAigNIrssfyYlVnm93vZywCffpf/
QGjQopRA2TwzgSl0MYgBcfE=
=am6Y
-----END PGP SIGNATURE-----
*****************************************************************
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to info at cae.co.za for a copy.
*****************************************************************
More information about the grass-dev
mailing list