![]() |
|
MSVC++ 2008 v9.0 fatal error LNK1127: library is corrupt |
Serpent7
Member #11,275
August 2009
|
Hi. I'm using the files from http://cdn.allegro.cc/4.2.2/allegro-msvc90-4.2.2.zip . I keep getting this error, and only this error, when I go to build my project: 1>C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\alleg_s.lib : fatal error LNK1127: library is corrupt What could be causing this? The linker command is here, ask if you need more details: /OUT:"C:\Users\Ben\Documents\Visual Studio 2008\Projects\Sauria\Debug\Sauria.exe" /INCREMENTAL /NOLOGO /LIBPATH:"C:\Program Files\boost\boost_1_39\lib\\" /MANIFEST /MANIFESTFILE:"Debug\Sauria.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\Ben\Documents\Visual Studio 2008\Projects\Sauria\Debug\Sauria.pdb" /SUBSYSTEM:WINDOWS /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /ERRORREPORT:PROMPT kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Do you have SP1 installed for MSVC? |
Serpent7
Member #11,275
August 2009
|
Yes. |
Don Freeman
Member #5,110
October 2004
![]() |
Try to redownload it. Maybe your download manager/browser did not download the file correctly. -- |
Serpent7
Member #11,275
August 2009
|
Tried that three times, and now once more. No change. |
Don Freeman
Member #5,110
October 2004
![]() |
Sorry...never really used the alleg_s.lib. I always just use alleg.lib Can you compile allegro on your system? Try using just alleg.lib to see if it makes any difference. Others here will be able to help more than I can with this though... Edit: -- |
Serpent7
Member #11,275
August 2009
|
Using alleg.lib has apparently resolved the problem. Thank you; though I doubt this'll be the last you hear from me. :} |
Don Freeman
Member #5,110
October 2004
![]() |
The alleg_s.lib is for static linking. If you compiled your program for dynamic linking that would explain that. Some of the other libs you are using might not be compiled as static...that could have caused issues as well. I say go with what works! Any more questions just ask...someone will help. Might not always be right away, but someone usually chimes in within a day or so. Good luck! -- |
|