- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am calling a .lib (built from vc++ 6) from my fortran files. When I built them, I have the following link prob:
Linking...
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
Anybody can help? thanks
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) Make sure that run-time libraries on project/Settings/Fortran and project/Settings/C++/Code Genaration are the same (e.g. "Single threaded")
2) If you have sources of the C library, make sure that either
a) the library is built with the same RTL setting as above, or,
b) (better) the library is built with /Zl switch (lowercase L), meaning that information of the used RTL will not be embedded during build of the lib, but specified later during build of an exe.
Jugoslav

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