Re: decipher version information
Keith Marshall <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.user |
|---|---|
| Organization | MinGW.org Project |
| Message-ID | <[email protected]> |
On 24/06/19 19:48, Eli Zaretskii wrote: >> From: sunwukong <[email protected]> >> Date: Mon, 24 Jun 2019 11:39:51 -0700 >> >> Can anyone help with deciphering my version information? Some of >> this makes me wonder if this is the source of my non compile > > You have GCC 8.2.0-3, the latest MinGW release. I see nothing wrong > with your versions. What led you to believe the versions are somehow > the source of a problem? How can we possibly be expected to deduce what might be the source of the OP's problem, when we aren't shown: - the exact command used to compile - any error messages produced by the compiler? All we've be shown so far, is a chunk of (incomplete) source code, and we've been asked if we might try to compile it; since it is incomplete, we can't even begin to do so, but I would question this: >>> #include <C:\mingw\bin\Gnomonic.hpp> >>> #include <C:\mingw\bin\Geodesic.hpp> That's just wrong! The angle brackets tell GCC to search the system include paths for the headers, but they aren't there; they are in the absolute path C:\mingw\bin, but since that path doesn't begin with a "/", GCC may not even recognize it as an absolute path, so will affix system path prefixes, until it exhausts all possibilities, without finding them. What I suspect is intended, is that these headers are in the same directory as the program which includes them, so correct syntax would be: #include "gnomonic.hpp" #include "geodesic.hpp" and for $DEITY's sake: - stop using C:\MinGW\bin as a working directory; - get out of the habit of using mixed case file names for program code; (it may not matter on Windows, but it is sure to bite, if cross-compiling on a case-sensitive platform); - if your header references _must_ include directory name separators, get into the habit of using the "/", as $DEITY intended, in preference to the "\" favoured by the demons of Redmond. -- Regards, Keith. Public key available from keys.gnupg.net Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F _______________________________________________ MinGW-Users mailing list [email protected] This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.osdn.me/mailman/listinfo/mingw-users Also: mailto:[email protected]?subject=unsubscribe
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJdESxBAAoJEMCtNsY0flo/VIQQAI1jYO1AT9WHxrCmFsreY69/ iYjXIcJVCX27JA6pmy2wR/kMcR4Ezz+zmt1N6GlVK5X+7vpWifqPm3FthzfFoJdi YDer7VkHpH8UQHlP5P3WZGPKNyqwIk56TFa9nNcC4k9RG+e9F5Wb6IGLk4p+rNaZ DcyBG6WbLEsgoVvLm7SSqajDc3mnYoZ9l5a3AppWrlLQVmDZJeWms64nPPZMZ/x+ hnm4+eY4JR0y5I4LWPw5fKwIOPwoXrNrL6PYCfDcbGhmQSaJrDr1KvZZW2KxNfBM H2V1GGkDb65xWkGus1JY/HI6lyKVSLAA3iCf+Rp1kWELWqrwblqsxKQzwdbS6rpj RDodwOpMeFtQIXazOZsbZTadR8TYEMtqNSEJqza6eafrGH4mC7o2mIVUUxWFPWqr Ra3KyuetH3Goq/Ek/LB4trIm2RmmBSd9lz6EhM57p09tY/5kjO70mBTdDREY4AzA cwRq26ElciwWpulcYp+4IGfNOQz0ZMsh5XNCuHW9DnlU3xkXjF17MCgtDpo/l1En XIsJtprtN24XMg3U1lz5Lek3zm9sfccYkQrTVJIzTeMHKOclMtO60srNOVdDhizL MaY4txTYWykZfSM7X/Fhw4zoF2DRQbM/BIveRbY0rjKaEpGBuC895hM44VtG16n1 uhKXQii+EKk1JDmtIIxw =OgmZ -----END PGP SIGNATURE-----