 |
|
| .NET DotNet Forum Index » Visual C++ Forum » Where is DEFAULTLIB defined... |
|
Page 1 of 1 |
|
| Author |
Message |
| Ed... |
Posted: Mon Oct 12, 2009 8:32 pm |
|
|
|
Guest
|
Hi, guys,
When I use VC 2008 to build programs, compiler reports libirc.lib not
found during the link phase.
And I found libirc.lib is one of DEFAULTLIB.
So where is DEFAULTLIB defined? I didn't manually define it in my
project.
Thanks. |
|
|
| Back to top |
|
|
|
| Ben Voigt [C++ MVP]... |
Posted: Tue Oct 13, 2009 5:34 pm |
|
|
|
Guest
|
"Ed" <seahalo at (no spam) gmail.com> wrote in message
news:9ad9ed9d-b080-456f-95aa-8cdbf81b85d0 at (no spam) i4g2000prm.googlegroups.com...
Quote: Hi, guys,
When I use VC 2008 to build programs, compiler reports libirc.lib not
found during the link phase.
And I found libirc.lib is one of DEFAULTLIB.
So where is DEFAULTLIB defined? I didn't manually define it in my
project.
The compiler adds a couple things depending on your project settings:
libcmt or libcmtd, controlled by Use debug or release runtime library
mfc*, controlled by Use MFC in a static library, DLL, or no use of MFC
kernel32.lib, user32.lib, etc (if you didn't compile with /clr)
But, any header file can also add things using #pragma comment. Since
libirc isn't one I've ever heard of, I'm pretty sure the compiler isn't
doing it and that means one of your header files is.
|
|
|
| Back to top |
|
|
|
|
|
All times are GMT - 5 Hours
The time now is Tue Dec 01, 2009 4:57 pm
|
|