- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hello ... first of all I am a total newbie so please be gental!
I am running a batch file which produces the following error message... link: fatal error lnk1181: cannot open input file msvcrt.lib
(see attachment for exact details of what I am doing)
It has been suggested that updating the LIB environment variable with the location of msvcrt.lib (C:Program FilesMicrosoft Visual Studio .NETVc7lib) should fix this but it doesn't...:robotsad: does anyone have any suggestions as to what I am doing wrong? Is there anything I need to restart once I have updated the system LIB variable?
As I said I am a total newbie so don't think I will have done the obvious...please provide a little background info if you get too technical.
Many thanks Pete.
PS if you need more details to answer properly just ask!
Message Edited by [email protected] on 04-26-2005 01:19 PM
- Balises:
- Intel® Fortran Compiler
Lien copié
4 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hmm. One problem I see is that you are explicitly linking to dformd.lib and dfport.lib. Those are CVF libraries not provided with Intel Fortran (and not compatible with it either.) I wonder if the message from the linker is naming the wrong file?
Another issue is that if you are linking to the DLL form of the libraries, you don't want msvcrt.lib.
My first approach would be to remove from the link line the libraries starting with msvcrt and through dfport. Then remove the -nodefaultlib switch. Try linking that way and see what happens.
Another issue is that if you are linking to the DLL form of the libraries, you don't want msvcrt.lib.
My first approach would be to remove from the link line the libraries starting with msvcrt and through dfport. Then remove the -nodefaultlib switch. Try linking that way and see what happens.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Steve - you have just melted my brain... but I can come back to that later...
To give you a little background the batch file is a beta add on provided by a software vendor. They did say that they only supported 8.0.050 and not 8.1. Would this alteryour statement that the CVF libraries are not compatiable with Intel Fortran, or does it mean just that, the CVF libraries are not compatiable with anyversion of intel fortran?
Many thanks for the prompt reply. I will have to ask more questions to fully understand your suggestions but first I'll have to do a bit (well alot)of background reading!
Cheers Pete.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
It does not alter my statement. Any code that uses the CVF libraries df* must be recompiled by Intel Fortran in order to be used with Intel Fortran 8 - 8.0 or 8.1, it doesn't matter. Why they insist on 8.0.050 is beyond me...
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Steve - Many thanks. we've now solved this problem... the default for the package the add on worked with (developed but the same company) was CVF. It took them two days to realise this and with a quick update of the regedit I'm around this problem.
I now have a seperate problem...:smileywink: but I'll put that under a new posting!
Cheers Pete
Message Edited by [email protected] on 04-27-2005 08:56 AM
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