- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hello
Can anyone help?
I have a c dll calling a fortran static lib.
Upon compile; LINK : fatal error LNK1104;Cannot open file 'ifconsol.lib
What can I do to fix this?
Thanks
Ken
- Etiquetas:
- Intel® Fortran Compiler
Enlace copiado
9 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
In Visual Studio, select Tools..Options..Projects..VC++ Directories. To the list for Library files, add C:Program FilesIntelCompilerFortran9.0IA32Lib and C:Program FilesCommon FilesIntelShared Filesia32Lib (adjust paths as needed.)
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Steve,
There is no shared files/ia2/lib there is a shared files/ia32. There is only an msdia71.dll in that file. Is something missing?
I did have the other ia32.lib set in the tools vc++ projects.
I am wondering if the argument passing has changed from CVF? I thought there was some mention of that but I can't find any dics on it.
I updated 319184 in premeir support on the argument issue. Thought you were out.
What do you think?
Thanks
Ken
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I did write "ia32" under SharedFiles. Basically, look at the first few entries under Tools..Options..Intel Fortran..Library Files and make sure those appear for C++. (You'll have to spell out the full path - $IFORTInstallDir won't be recognized for C++.
Yes, argument passing conventions did change. Please read this whitepaper on CVF migration.
If you have the compiler IA32lib folder listed, you won't get the error you mentioned.
Yes, argument passing conventions did change. Please read this whitepaper on CVF migration.
If you have the compiler IA32lib folder listed, you won't get the error you mentioned.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I don't see the c:program filescommon filesintelcompilerfortran9.0Shared files folder in any of my directories.
I've added the other directories to the lib list, but I still get Fatal error cannot open "Ifconsol" error!!
HELP!!!
I've added the other directories to the lib list, but I still get Fatal error cannot open "Ifconsol" error!!
HELP!!!
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
The path you give is not what I wrote above.
Are you building from the command line or from Visual Studio?
Are you building from the command line or from Visual Studio?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Oops, I meant I can't seem to find C:Program FilesCommon FilesIntelShared Files. All I see in that directory is a folder called registeration and support.
I am building from command line.
I am building from command line.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I'd guess that you don't have the compiler installed properly, then. But ifconsol.lib isn't there and unless you're asking for paralllel processing support, the files in the Common Files folder aren't of interest. Are you using the "Build Environment For IA-32 Applications" shortcut to start the command session?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Remind you, he's linking Fortran static library with C main program. Thus, the LIB= environment variable must contain "C:Program filesIntel...Lib" folder -- it will be set if the build is done from "Build Environment For IA-32 Applications" though (unless this environment lacks some environment data needed for C compilation, which I doubt).
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
We don't know what he's doing - gman01 is not the original poster in this thread. You are correct, though, that the Fortran build environment provides all the settings needed to use MSVC as well.
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla