Searching on the web for similar error it looks like this happens when
the fortran environment is not properly installed.
Are you able to make a small “Hello World” example on your machine ?
just a simple Fortran test to see if your fortran environment is correct ?
[quote=“Sinkus”]C:\root\macros\libmyf77.so : fatal error LNK1107: invalid or corrupt file: cannot read at 0x420
So somehow the fortran library has been wrongly compiled. However, I tried all suggested possibilities. I would be very thankful for some advice.[/quote]Indeed, the “.so” files are Linux binaries. You need to recompile your fortran library natively on a Windows machine, to get the proper .lib and/or .dll binaries, compatible with Windows…