- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
