- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I used intel visual fortran 9 for windows port CVF 6 project in VC.net 2003. I got the following link error.
libhsprsg.lib(cntl.obj) : error LNK2019: unresolved external symbol _BEEPQQ@8 referenced in function _CNTL_CLEANUP
libhsprsg.lib(envget.obj) : error LNK2019: unresolved external symbol _GETENVQQ@16 referenced in function _ENVGET
libhsprsg.lib(readlibs.obj) : error LNK2019: unresolved external symbol _GETENV@16 referenced in function _READLIBS
libhsprsg.lib(iob_readin.obj) : error LNK2019: unresolved external symbol _GETENV@16 referenced in function _IOB_READIN
libhsprsg.lib(envget.obj) : error LNK2019: unresolved external symbol _GETENVQQ@16 referenced in function _ENVGET
libhsprsg.lib(readlibs.obj) : error LNK2019: unresolved external symbol _GETENV@16 referenced in function _READLIBS
libhsprsg.lib(iob_readin.obj) : error LNK2019: unresolved external symbol _GETENV@16 referenced in function _IOB_READIN
my project setting is:
call conversion: CVF
use portable library: yes.
call conversion: CVF
use portable library: yes.
If we set "call conversion" to "Default", The link error are ok. but I wish to using "CVF" (because it will have much errors when using "Default"). How do I do to clean such link error?
Best Regards!
- Balises:
- Intel® Fortran Compiler
Lien copié
3 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Make sure you have
USE IFPORT
(or USE DFPORT)
in your source file.
That MOD file will make sure the correct external names are generated for these portability functions.
- Lorri
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks Lorri, I will try it. Our project is porting from VC6.0 + CVF6 to VC.net 2003 + IVF9. I remembered we used the "USE DFPORT" in CVF6, when porting to IVF9, I removed it, so get the link error. I will try it. Thanks!
Best Regards!
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks Lorri!
David
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