- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dln3.lib(gas.obj) : error LNK2001: unresolved external symbol __pctype
dln3.lib(gas.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
I am having trouble resolving the above two errors at link time. gas.obj contains subroutines being called by Fortran source code. The names pctype and mb_cur_max are not specifically referenced in any line of code that was used to create gas.obj. I think that these names are at the Microsoft level as I have located several *.LIB and *.H files in the Visual studio folders that contain these names (by using a text string search with file find).
Any thoughts as to how to get around this type of error?
dln3.lib(gas.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
I am having trouble resolving the above two errors at link time. gas.obj contains subroutines being called by Fortran source code. The names pctype and mb_cur_max are not specifically referenced in any line of code that was used to create gas.obj. I think that these names are at the Microsoft level as I have located several *.LIB and *.H files in the Visual studio folders that contain these names (by using a text string search with file find).
Any thoughts as to how to get around this type of error?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think that this might be a mismatch of C run-time libraries between the main program and the library. For example, debug vs non-debug, static library vs dll, multuthreaded vs non-multithreaded.
Hope this helps,
Leo
I think that this might be a mismatch of C run-time libraries between the main program and the library. For example, debug vs non-debug, static library vs dll, multuthreaded vs non-multithreaded.
Hope this helps,
Leo
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