Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29276 Discussions

CVF(6.6a) excelread example - lost library

jodama
Beginner
706 Views
Thanks to those who answered a previous query of mine concerning excel spread sheet compatibility. I am working through a CVF(6.6a) example, viz "excelread", using windows (win32?) rather than the fortran command screen. The program compiles but when I add the library f90SQL.lib via the link settings screen (kernel32.lib is already there) the build execution process terminates with the message that the library f90SQL.lib cannot be found. I know its there - I saw it in the folders following installation of CVF(6.6a)- so why can it not be found?
0 Kudos
4 Replies
Steven_L_Intel1
Employee
706 Views
If you enter a library name on the Link settings page, the linker looks for it in the list of folders shown under Tools..Options..Directories..Show directories for..Library Files. I don't recall where F90SQL installs its libraries.

Rather than using the link settings, I prefer to add such libraries to my project as if they were source files. Just use Project..Add to Project..Files.., browse to the library, and add it. No worries about what folder it's in.

Steve
0 Kudos
ruzickak
Beginner
706 Views
Hi there,
I am using VF6.0
I have a set of my favourite routines collected in static library. I would like to link this library automatically to all my new programs instead of adding it every time via "Project..Add to Project..Files...". How can I do it?
Can you help me? thanks
0 Kudos
Jugoslav_Dujic
Valued Contributor II
706 Views
Not 100% -- you can add its directory to Tools/Options/Directiories/Library files, (which will save you mouse clicking or typing the path), but you will still have to add its file name for each individual project:

- either in Project/Settings/Link/Object-library modules
- or type a !DEC$OBJCOMMENT LIB: "MyLib.lib" anywhere in your project sources.

Jugoslav
0 Kudos
Steven_L_Intel1
Employee
706 Views
See also the "Saved Fortran Environment" feature (green tree icon in the IDE).

Steve
0 Kudos
Reply