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

Can't build from within environment

niels_veldhuijzen
614 Views

Dear Forum users,

Can you help me? When I try to build a project from within the visual environment, I get the strange message "ifort: error: directory '' does not exist". Compiling and linking from the command line is all right. What is happening here? I include the relevant files for you to see (ZIPped in a small 4KB file).

(By the way: what is the difference between a "project"and a "solution"?)

Yours sincerely,

Niels H. Veldhuijzen

Cito, Arnhem, The Netherlands

0 Kudos
3 Replies
Steven_L_Intel1
Employee
614 Views
Hi, Niels..

The problem you are having is that the Intermediate Directory in your project is not defined. Right click on the Fortran project, select Properties, then General. In the Output Directory and Intermediate Directory fields put in "Debug" without the quotes. Your release configuration is ok.

A Solution is a collection of projects which builds some sort of end-product, such as an executable or a DLL. In most cases, a solution will have just one project but if you have a large or multilanguage application you may need to have several projects in the solution. You can specify dependency information so that one project gets built before another which depends on it.
0 Kudos
niels_veldhuijzen
614 Views

Dear Steve,

Thank you. I removed the intermediate DEBUG folder because I always loose track of my executables! (In the CVF environment, it worked well.) But I'll reinstate the folder.

Kind regards,

Niels

0 Kudos
Steven_L_Intel1
Employee
614 Views
If you want the objects to be put somewhere else, fine, but the field for the intermediate folder has to have some folder path in it.
0 Kudos
Reply