Closed iantaylor-NOAA closed 1 year ago
Unable to duplicate errors. I get a clean compile with rtools43.
Thanks for trying, @johnoel. I'll update you as we learn anything more about this.
Okay, I was able to duplicate the errors. I will figure this one out.
rebuilt and update zip file for windows. please rerun actions to see if it works.
Thank you @johnoel, I appreciate the quick turnaround. We'll try it out.
Thank you Johnoel. Windows is now compiling stock synthesis successfully in the github action here.
Good work. Thanks to all.
Also, updated .exe installer.
Hi @johnoel, The github actions used to compile stock synthesis started failing which @e-gugliotti-NOAA traced back to a change in the Rtools installation we rely on getting updated behind the scenes from Rtools42 to Rtools43. She was able to revert to the earlier Rtools so the build is working again, but it would be good to understand the source of the problem and get it sorted out for the future.
The working version uses gcc version 10.3.0 (as discussed in #282--thank you for all the work to get that working). The github action is here, including info on the gcc version.
The failing build (link here) uses "gcc version 12.2.0 (GCC)" and fails with the following error:
I installed Rtools43 on my Windows computer and was able to replicate the error. However, it builds just fine using the gcc that came with ADMB 13.1, where the only difference I see is that running
gcc -v
with the ADMB version returnsgcc version 12.2.0 (Rev6, Built by MSYS2 project)
while that command with the Rtools version returnsgcc version 12.2.0 (GCC)
.Do you have any idea what's going on? The errors are mostly related to the function
ad_comm::change_datafile_name()
so perhaps there's some change in how that function is being used which could solve the problem instead.Tagging @rick-methot-NOAA as well.