sundials icon indicating copy to clipboard operation
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

Open swsyoon opened this issue 4 years ago • 0 comments

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

swsyoon avatar Sep 01 '20 13:09 swsyoon