- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
コピーされたリンク
9 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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!!!
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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).
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.