- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
- Balises:
- Intel® Fortran Compiler
Lien copié
11 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Would you please attach the .vfproj file for your project? Something is set incorrectly in the debug configuration.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hmm. Nothing I can see wrong there. Next please attach the Buildlog.htm from a rebuild of the Debug configuration.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Ok. The main program is the file HSprv.f90
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Would you please attach that file? The linker doesn't think it has the main program.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks, I will wait for the new update.
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable