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

VS2005 IVF Environment Macro

HKort
Beginner
465 Views

Good morning everybody,

I am coding a DLL in C with some Fortran subroutines. Linking demands access to ifconsol.lib. To make this accessible I have to add the IVF Lib path to the VC++ directory list. So far no problem.

Now, I am using multiple versions of the IVF compiler. My question is whether there is a macrofor the IVF install directory that changes with the selection of the IVF compiler version in the Visual Studio options? This way I would not have to change the VC++ directory entry all the time. I tried $(IFortInstallDir)Lib (as used in the Fortran options section), but this does not work.

Thanks for any help in advance.

Haje

0 Kudos
2 Replies
Steven_L_Intel1
Employee
465 Views
Unfortunately, the Fortran macros are not visible in the C++ project environment. Microsoft did a good job erecting a wall between different languages.
0 Kudos
HKort
Beginner
465 Views

Hey Steve,

thanks for the quick reply. That's too bad, I was hoping I was just doing something stupid.Woulda way to get around this be to have the IVF options dialog write the install pathof the selected compiler to another system environment variable? Or can't these be accessed by VC either? (Just checking if this is worth a feature request. ;) )

Haje

0 Kudos
Reply