- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Software Setup: Windows 7 Ultimate Service Pack 1
Visual Studio Professional 2012 Version 11.0.6.61030.00 Update 4
Intel Parallel Studio XE 2013 Version 14.0.3.202 Build 20140422
The following error was encountered while compiling a project with:
Configuration: Active(Debug)
Platform: Active(Win32)
error LNK2019: unresolved external symbol _IARGC referenced in function _COMMANDLINEARGUMENTS
error LNK2019: unresolved external symbol _GETARG referenced in function _COMMANDLINEARGUMENTS
The error does not occur when the Configuration is set to: Release
Any suggestions?
John
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you want the legacy functions from before fortran 2003, try use ifport. Better change to standard equivalents.If
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was able to compile the project by switch from the Debug Multithread DLL Runtime Library to the Debug Multithread Runtime Library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We support IARGC and GETARG as intrinsics, so if you declare them as EXTERNAL, remove the EXTERNAL. But I am puzzled that you are seeing a difference - maybe something else is going on. Can you attach a ZIP of your solution folder with a small program showing the problem?
Even better as a long-term solution, use the Fortran standard intrinsics COMMAND_ARGUMENT_COUNT and GET_COMMAND_ARGUMENT.
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