<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi, based on the response from Johnny Jazeix, that Jasem forwarded to me (since apparently I wasn’t signed up for ode-windows and didn’t realize it), I was able to figure out this issue.<div class=""><br class=""></div><div class="">The problem is that cfitsio depends upon lib curl, and on mingw, lib curl apparently defines tbyte so there is a conflict.  If lib curl is not installed it complains about that, so I had installed it which caused the build error.  I found this online based on what Johnny said.  In there also was the solution, if zlib is installed apparently it doesn’t need lib curl.  So I removed lib curl, installed zlib and cfitsio built fine!</div><div class=""><br class=""></div><div class="">Thank you very much!<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 29, 2020, at 12:17 PM, Robert Lancaster <<a href="mailto:rlancaste@gmail.com" class="">rlancaste@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">HI Hannah and craft team,<div class=""><br class=""></div><div class="">I was trying to set up a craft environment in a windows virtual machine yesterday to test some code I have been working on to use <a href="http://astrometry.net/" class="">astrometry.net</a>.  When I was setting it up, following the instructions on this page, <a href="https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows" class="">https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows</a>, I ran into an error I did not expect.  There was a build error for CFITSIO.  I didn’t expect that because CFITSIO is a very commonly used package and it is a requirement for Kstars which I know is built by craft on both windows and Mac very often.  So I don’t see why CFITSIO would have an error, since I thought that package was already working very well.  So I figure there must be something wrong with the way I set things up, or with some craft settings maybe?</div><div class=""><br class=""></div><div class="">Here was the error it encountered: C:/CraftRoot/build/_/8a54fcf/cfitsio-3.47/fitsio.h:220:22: error: expected identifier or '(' before numeric constant.     #define TBYTE        11</div><div class=""><br class=""></div><div class="">I have also attached a craft log.</div><div class=""><br class=""></div><div class="">I would appreciate any help you could provide,</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">Rob</div><div class=""><br class=""></div><div class=""></div></div><span id="cid:0BD30CF4-F8BD-4652-B8D2-4A01026C847B@fios-router.home"><log-C_CraftRoot.txt></span><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""></div></div></div></blockquote></div><br class=""></div></body></html>