ld: cannot find -lgdi32
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nimrod |
New
|
Medium
|
Andreas Rumpf |
Bug Description
What should I do?
>ver
Microsoft Windows XP [Version 5.1.2600]
>nimrod --version
Nimrod Compiler Version 0.8.8 (2010-03-14) [Windows: i386]
Copyright (c) 2004-2010 by Andreas Rumpf
>nimrod c --app:gui hellowin.nim
Hint: used config file 'C:\Program Files\nimrod\
Hint: system [Processing]
Hint: hellowin [Processing]
Hint: windows [Processing]
"C:\Program Files\nimrod\
"C:\Program Files\nimrod\
"C:\Program Files\nimrod\
"C:\Program Files\nimrod\
"C:\Program Files\nimrod\
ld: cannot find -lgdi32
Error: execution of an external program failed
The shipped GCC lacks gdi32.lib, because it has been stripped down for the Nimrod distribution. Please copy the attached file to $nimrod\ dist\mingw\ lib and see if this fixes the bug.