haizicqu
Mechanical
- Dec 18, 2009
- 2
I want to use some functions from ATLFOR.LIB. I added this lib file to my project and then build it. following error occur (If I add compiler's libraries, no such errors) :
--------------------Configuration: test11 - Win32 Debug--------------------
Linking...
..\..\DF98\LIB\ATLFOR.LIB : fatal error LNK1136: invalid or corrupt file
Error executing link.exe.
--------------------Configuration: test11 - Win32 Debug--------------------Linking.....\..\DF98\LIB\ATLFOR.LIB : fatal error LNK1136: invalid or corrupt fileError executing link.exe.
I checked the error, it said that ATLFOR.lib file either has a corrupt header or is zero size or abnormally small. However, other guys use this files two years ago successfully.
Does anybody know how to fix this error?
Also, I want to read the content of library files like ATLFOR.LIB. Does anybody know how to read a file as ATLFOR.LIB? I donot have any fortran code to rebuild the lib again. If I can have access to the content to the library files, I can rebuild them.
Thanks.
--------------------Configuration: test11 - Win32 Debug--------------------
Linking...
..\..\DF98\LIB\ATLFOR.LIB : fatal error LNK1136: invalid or corrupt file
Error executing link.exe.
--------------------Configuration: test11 - Win32 Debug--------------------Linking.....\..\DF98\LIB\ATLFOR.LIB : fatal error LNK1136: invalid or corrupt fileError executing link.exe.
I checked the error, it said that ATLFOR.lib file either has a corrupt header or is zero size or abnormally small. However, other guys use this files two years ago successfully.
Does anybody know how to fix this error?
Also, I want to read the content of library files like ATLFOR.LIB. Does anybody know how to read a file as ATLFOR.LIB? I donot have any fortran code to rebuild the lib again. If I can have access to the content to the library files, I can rebuild them.
Thanks.