sundials
sundials copied to clipboard
Example file build error -LNK1107 invalid or corrupt file: cannot read at 0x340 ida_example C:\Program Files (x86)\sundials\lib\sundials_arkode.dll
I was able to build/install sundials 5.3.0 in VS 2019 on windows 10 system. I followed instruction on the website.
https://computing.llnl.gov/projects/sundials/faq
However when I tried to run one of examples, idaRoberts_dns.c, I got the error:
LNK1107 invalid or corrupt file: cannot read at 0x340 ida_example C:\Program Files (x86)\sundials\lib\sundials_arkode.dll
I checked the library path and confirmed the dll file in the folder. Also I added additional include directories, set sundials library dependencies in VS project.
Can you help how to fix this issue ?
Thanks