- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I am using Intel Visual Fortran Compiler Integration for Microsoft Visual Studio* .NET 2003, 11.1.3471.2003, Copyright (C) 2002-2010 Intel Corporation. to compile a fortran 77 program that include additional external libraries.
I am getting the message 'entry point must be defined.
My project include the source files ( *.f) and other resources files ( *.int).
Can any one help to solve this problem,
thanks,
fele
コピーされたリンク
4 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
You are trying to link a number of .OBJ files none of which contains the main program. Every Fortran program must have one subprogram called "PROGRAM " (or a nameless subprogram).
You cannot link a number of subroutines and functions together to build an executable program in the absence of the main program.
You cannot link a number of subroutines and functions together to build an executable program in the absence of the main program.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I d have a main program that controls how the differet subroutines are called.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
My source codes are in c:\codes directory. I have main
program that begins with Program x----then end with end program x.
I have externally built libraries and they are in the same directory
(c:\codes). So do interface subroutines (*.int) are under c:\codes.
My project console is under c:\codes\consol1
under linker>general> additional library directories> I put
c:\codes
Under linker >input>additional dependency> I put abc.lib; def.lib
It seems to the problem is with syntax. I am first time user of this compiler. I
appreciate if you comment on this.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Make sure that you have added all the required source and include files to our Main program project .
Then add your library files .LIB also then compile and link and see what happens.
That should work.
Then add your library files .LIB also then compile and link and see what happens.
That should work.
