- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am getting the following warning on linking a static library (which works well with console apps) into a (inprocess) com-dll.
warning LNK4098: defaultlib "libc.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
I have asked this before and the answer has been that the run-time libraries used are not matching.
1. Where can I find these run-time libraries among the project settings?
2. What libraries should I use so that this library is not so darn picky about what type of application is calling it? Or is it not possible?
Thanks in adv.
Tim
warning LNK4098: defaultlib "libc.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
I have asked this before and the answer has been that the run-time libraries used are not matching.
1. Where can I find these run-time libraries among the project settings?
2. What libraries should I use so that this library is not so darn picky about what type of application is calling it? Or is it not possible?
Thanks in adv.
Tim
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use
/libdir:noauto
on the static library's project.
/libdir:noauto
on the static library's project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page