- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I get this error message when linking my program
Unresolved external symbol _main_ (in the file libifcoremt.lib, or libifcoremdd.lib depending on the librairy options)
The probem does not appear in release mode... Any idea where does the problem come from ?
PS : I am using the version v12.0.0.104
I get this error message when linking my program
Unresolved external symbol _main_ (in the file libifcoremt.lib, or libifcoremdd.lib depending on the librairy options)
The probem does not appear in release mode... Any idea where does the problem come from ?
PS : I am using the version v12.0.0.104
Link Copied
11 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would you please attach the .vfproj file for your project? Something is set incorrectly in the debug configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmm. Nothing I can see wrong there. Next please attach the Buildlog.htm from a rebuild of the Debug configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok - this is a bit different from what you posted before.
This error means that none of the sources that were compiled include a main program. Which source do you think has the main program?
This error means that none of the sources that were compiled include a main program. Which source do you think has the main program?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok. The main program is the file HSprv.f90
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would you please attach that file? The linker doesn't think it has the main program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Puzzling. How about attaching the HSprv.obj from the Debug folder? or if you don't mind, ZIP the project and attach it ti a reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gerald,
Thanks for the project. There were some routines missing (CHARSEPA, for example), but I commented out the calls to that and was able to build the Debug configuration using Update 1 to Visual Fortran Composer XE 2011. Update 2 should be available later this week. I did get an error building with the original release, which is what you are using.
I suggest that you download and install Update 2 when it becomes available and do a Rebuild (not just a Build) of the project. If you are in a hurry, go ahead and download update 1 and install that, but it's a big file and you may want to wait a couple of days for Update 2.
Thanks for the project. There were some routines missing (CHARSEPA, for example), but I commented out the calls to that and was able to build the Debug configuration using Update 1 to Visual Fortran Composer XE 2011. Update 2 should be available later this week. I did get an error building with the original release, which is what you are using.
I suggest that you download and install Update 2 when it becomes available and do a Rebuild (not just a Build) of the project. If you are in a hurry, go ahead and download update 1 and install that, but it's a big file and you may want to wait a couple of days for Update 2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I will wait for the new update.

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