- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi All,
I'm learning how to create a Fortran DLL that's callable from C. I use the example at www.compaq.com/fortran/examples/vc-example1.html
The example won't compile. There's an error in the following line:
WRITE(INT_STR,'(15.5)')INT_ARG
The error is:
Error. A dot [.] is invalid in a format list in this context.
Any advice will be very much appreciated.
Thanks,
Lance
I'm learning how to create a Fortran DLL that's callable from C. I use the example at www.compaq.com/fortran/examples/vc-example1.html
The example won't compile. There's an error in the following line:
WRITE(INT_STR,'(15.5)')INT_ARG
The error is:
Error. A dot [.] is invalid in a format list in this context.
Any advice will be very much appreciated.
Thanks,
Lance
- 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é
You mis-typed the FORMAT - that's I5.5, not 15.5. I recognize that it's a bit hard to tell the difference on the web page.
Steve
Steve
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks Steve,
I tried your correction. I also tried '(A)'. The project builds. However, when I attempt to run the executable, I receive:
The dynamic link library DFORRTD.DLL could not be found in the specified path.
Any suggestions?
Thanks,
Lance
I tried your correction. I also tried '(A)'. The project builds. However, when I attempt to run the executable, I receive:
The dynamic link library DFORRTD.DLL could not be found in the specified path.
Any suggestions?
Thanks,
Lance
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I'll bet you're running the DLL on a system that doesn't have CVF installed. Build the DLL in a "release configuration", and install the CVF run-time redistributables package on the other system. (If you don't build a release configuration, you'll get the same error, as the debug RTLs are not redistributable.)
Steve
Steve
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks Steve. That worked. I appreciate your prompt and accurate assistance...
Lance
Lance

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