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

libguide40.lib error during build

Mccombs_Tech_Supppor
2,085 Views

Hi!

We have a problem with one of our faculty members. He has a machine with a brand new Windows 7 build, with VS2010 Pro clean install, and the Visual Fortran Composer XE for Windows with IMSL - all latest versions and clean install.

When trying to build one of his projects, he receives the following messages:

Error 1 error #11018: Cannot open libguide40.lib ipo

Error 2 fatal error LNK1181: cannot open input file 'libguide40.lib' LINK



I've tried all of the steps outlined here http://software.intel.com/en-us/articles/troubleshooting-fortran-integration-issues-with-visual-studio/ and all of the files were present, modules installed, and versions correct.

What am I missing?

Thanks in advance!
0 Kudos
1 Solution
6 Replies
Steven_L_Intel1
Employee
2,085 Views
Remove the reference to libguide40.lib in the project. This is not an integration issue, but rather relying on an obsolete OpenMP library that is no longer supplied. libiomp5md.lib should be used instead. Also, please make sure that the IMSL installed is the current one from the Intel Registration Center.

It may be that a simple rebuild of the project will resolve the problem.
0 Kudos
Mccombs_Tech_Supppor
2,085 Views
Steve, thank you for a quick response.

I can't imagine where that reference would be. The project is reduced to just one source file and no resource or header files. Nowhere in the source file does it reference this library. IMSL is the latest one from the registration center.

Thank you again!
0 Kudos
Steven_L_Intel1
Employee
2,085 Views
It could be in the project settings - look under Linker > Input > Additional Dependencies. Also, if not all of the Fortran sources have been recompiled, the object or library files may contain references to that library, which is why I suggested a "rebuild".
0 Kudos
Mccombs_Tech_Supppor
2,085 Views
Thank you, Steve. That worked.

After resolving a few other problems, I am now left with an IMSL problem that generates these errors:

Error 1 error #5102: Cannot open include file 'link_fnl_shared.h' C:\Fortran90Programs\Miscellaneous\TestProgramForFortranCompiler_2012-06-04.f90 16

Error 2 error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SVRGN_INT] C:\Fortran90Programs\Miscellaneous\TestProgramForFortranCompiler_2012-06-04.f90 28

Error 3 Compilation Aborted (code 1) C:\Fortran90Programs\Miscellaneous\TestProgramForFortranCompiler_2012-06-04.f90 1

From what I understand (I apologize if the questions I'm asking are too basic and dumb, but I'm not a developer pretty much at all), that there is some sort of a path that has to be included somewhere to where that link_fnl_shared.h is located.

I'm not sure where I would include that path and what it would be.

Thank you!

0 Kudos
Mccombs_Tech_Supppor
2,085 Views
Thank you, Steve, that worked perfectly.
0 Kudos
Reply