- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using the Digital Visual Fortran Professional Edition for all of my programming needs. Currently, I am doing Agent Based Modeling, a type of social simulation modeling. I have written a lot of code that works fine but I have been having trouble using a library of subroutines that I typed out from Numerical Recipes a number years ago. Those subroutines are all written in F77, but they work just fine when I pull them into a project as source code.
Because that is not efficient, I have decided to put them into a library. But when I pull the library into the program via the "Project --- add files---" route, followed by compiling and linking, I get the linker warning shown below. Though the program seems to run correctly, I am uncomfortable with this situation.
Any thoughts on how to eliminate this warning? Please be detailed as I sometimes find the DVF documentation insufficient.
Thank you!
LINK : warning LNK4098: defaultlib "libcd.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
John
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Go to Project/Settings/Fortran/Libraries category for your .lib file and check "Disable default library search rules". Then rebuild the library & the calling exe.
See this threadand especially the MCLS link therein for an explanation.
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