- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My Fortran project consists of several source files. When I use the Debug option to build the project, I do not encounter any problem. However, when I switch to the Release option and try to build, I get Link Error 2001 of unresolved external symbols in some subroutines.
The errors specify the subroutines, but do not specify the symbol, variable, or statement. I have the following two questions:
1. Why there are no errors when the Debug option is used to build, while there are link errors when switching to the Release option with exactly the same files and same project properties?
2. How to identify the symbol, variable, or statement in the subroutine that leads to the errors.
Many thanks for your help
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problems seem a little strange but from the information specified it would be speculation as to the cause. Doing a full build in bothe debug and release and looking at the two build log html files might give some clues. Posting the files could be useful as differences the the commands used and error messages are probably key. You could also build with the \verbose link option which gives a running listing what the linker is doing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the suggestion. However, this did not help solving the problem.
Providing a specific answer to Question # 2 may help identifying the source of the problem. Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We need to full text of the error message, and preferably the entire buildlog.htm file

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