Assistance with compile

Good day,
I have source code which colleagues have easily compiled with other compilers. I am doing something basic wrong I think. I am hoping I can get assistance. I receive the message: ‘cannot open file kernel32.dll’. The source code is not big and could send if useful (and an uplad instruction is provided). Its Fortran.
Thank you
Alastair

I think I have found the issue. Responding to self in case others have the same issue. The Windows SDK looks to be improperly installed. Running on another computer with a PG install that has worked ok gives a working exe.