Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 Discussions

include and Input when compiling & linking

Mike896
Beginner
478 Views

Hi

I build a project which will include and link some libraries.

In compiling (Fortran->preprocessor->additional include directories),

The paths are seaparted by ';' (not blank).

In lnking(Linker->input->additinal dependencies)

The paths are separated by blank (but not ';').

Really confusing.

Is anyway to get away with this?

Mike

0 Kudos
3 Replies
Mike896
Beginner
478 Views
Hi

What is the difference between "Linker->General->Additional Library directories" and "Linker->Input->additional dependencies"?
I move the settings in the latter to those in the former, then the results show :
unresoved external symbol (lots of them).

Thank you for your reply in advance.

Mike
0 Kudos
Les_Neilson
Valued Contributor II
478 Views
Quoting - Mike896
Hi

What is the difference between "Linker->General->Additional Library directories" and "Linker->Input->additional dependencies"?
I move the settings in the latter to those in the former, then the results show :
unresoved external symbol (lots of them).

Thank you for your reply in advance.

Mike

Mike,
"Additional dependencies" is a list of libs against which your code is linked.
"Additional library directories" is a list of the directories to search where the above libs are to be found.
HTH

Les

0 Kudos
Steven_L_Intel1
Employee
478 Views

I agree this is confusing, but unfortunately this was Microsoft's design. On the Linker page, the text you enter is plopped directly into the link line, which wants spaces as separators. On the compiler page, you're entering a list which gets converted into individual options. You'll see this in other Microsoft dialogs as well,

0 Kudos
Reply