Hello
I have a problem with OPTLINK
When I try to link an .obj file I can't link to GDI32.lib
[I'm trying to compile a Win32 GUI program called winmain.cpp]
link winmain.obj gdi32.lib
produces
LINK : fatal error LNK1181: cannot open input file 'gdi32.lib'
(GDI32.lib is placed both in dmc\lib and in the same directory as
winmain.cpp)
What do I do wrong?
|
|
0
|
|
|
|
Reply
|
core99 (35)
|
10/1/2003 7:22:51 PM |
|
"core99" <core99@delite.dk> wrote in message news:3f7b298c$0$24663$edfadb0f@dread14.news.tele.dk...
> Hello
> I have a problem with OPTLINK
>
> When I try to link an .obj file I can't link to GDI32.lib
>
> [I'm trying to compile a Win32 GUI program called winmain.cpp]
> link winmain.obj gdi32.lib
>
> produces
> LINK : fatal error LNK1181: cannot open input file 'gdi32.lib'
>
> (GDI32.lib is placed both in dmc\lib and in the same directory as
> winmain.cpp)
>
> What do I do wrong?
>
>
Try to ask at Digital Mars C++ Forum :
news://news.digitalmars.com/c%2B%2B (news://news.digitalmars.com/c++)
=====================================
Alex Vinokur
mailto:alexvn@connect.to
http://mathforum.org/library/view/10978.html
=====================================
|
|
0
|
|
|
|
Reply
|
alexvn (98)
|
10/2/2003 5:17:23 AM
|
|