Closed rehogan closed 11 months ago
Can you try modifying the code at line 66 of Iocgns_Utils.C:
#if defined(__IOSS_WINDOWS__) || defined(__CYGWIN__)
const char *strcasestr(const char *haystack, const char *needle)
{
std::string lneedle(Ioss::Utils::lowercase(needle));
std::string lhaystack(Ioss::Utils::lowercase(haystack));
auto pos = lhaystack.find(lneedle);
return pos != std::string::npos ? haystack + pos : nullptr;
}
#endif
Add the || defined(__CYGWIN__)
to the end of the existing #if defined
test.
I will try to get access to a cygwin system, but that might work for now...
The above change and the CMAKE_CXX_EXTENSIONS
change have now been comitted to the repository.
There is also an option in install-tpl.sh
script to turn off netCDF building if you have a system-installed netCDF NETCDF=NO HDF5=NO CGNS=NO ./install-tpl.sh
Thanks Greg. Best I could tell it builds fine with your mods. We appreciate your help! Hope you are doing well. Roy
Roy Hogan
Please pardon brevity and typos, sent from cell phone.
From: Greg Sjaardema @.> Sent: Thursday, October 5, 2023 8:31:04 AM To: sandialabs/seacas @.> Cc: Roy Hogan @.>; Author @.> Subject: Re: [sandialabs/seacas] Build with Cygwin and gnu compilers (Issue #400)
Closed #400https://github.com/sandialabs/seacas/issues/400 as completed.
— Reply to this email directly, view it on GitHubhttps://github.com/sandialabs/seacas/issues/400#event-10564723069, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABJ42MYJUDTD2YNBB57MRNLX53ACRAVCNFSM6AAAAAA4UOY3FKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQGU3DINZSGMYDMOI. You are receiving this because you authored the thread.Message ID: @.***>
Hi Greg,
Thanks for your prompt reply. I appreciate it. Made a little progress, but now have new issue. I’ll summarize what I have been able to make work.
make-Iocgns.log