- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I d have a main program that controls how the differet subroutines are called.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

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