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

How do a make a Release configuration

davidgraham
Beginner
839 Views
I have always just had a Debug configuration but realise it would be better to issue a Release configuration to users.
I selected "Release" and tried to build but got an error as my include files were not found.

In Project Properties - Configuration Properties - Fortran - General - the Additional Include Directories is set up correctly.

What could be wrong?

Thanks,
David

0 Kudos
9 Replies
Steven_L_Intel1
Employee
839 Views
Are you sure the Additional Include Directories were properly set for the Release configuration? Normally, when you change project properties, the changes are only done for the configuration currently active.
0 Kudos
davidgraham
Beginner
839 Views
I think they are correct.
The .f90 files are in the project root directory, the include files are in subdirectories in that root. The 'Debug' directory is not in the Additional Include Directories statement.
David
0 Kudos
Steven_L_Intel1
Employee
839 Views
I think you need to provide more information. Can you attach the buildlog.htm and the .vfproj file?
0 Kudos
SergeyKostrov
Valued Contributor II
839 Views
Hi David,

Quoting davidgraham
I have always just had a Debug configuration but realise it would be better to issue a Release configuration to users.
I selected "Release" and tried to build but got an error as my include files were not found.

In Project Properties - Configuration Properties - Fortran - General - the Additional Include Directories is set up correctly.

What could be wrong?

You need to review project settings for the Release configuration. Some options, like Include or Libpaths, must be identical.

Best regards,
Sergey
0 Kudos
davidgraham
Beginner
839 Views
I have added the buildlog & project file.
Hope this helps.
David
0 Kudos
Steven_L_Intel1
Employee
839 Views
Your Include file settings are not the same across Debug and Release configuration:

Debug:
\DavidG\Grade\GradeSource\grade\gcb;\DavidG\Grade\GradeSource\grade\graphics;\DavidG\Grade\GradeSource\grade\iface

Release:
\DavidG\GradeSource\grade\gcb;\DavidG\GradeSource\grade\graphics;\DavidG\GradeSource\grade\iface

It looks to me as if you omitted one level of directory (\Grade\) for the Release setting.
0 Kudos
davidgraham
Beginner
839 Views
Thanks, I hadn't spotted that difference.
I am getting just a few errors with Seed, Random, DlgWnd2ID etc.
Iv'e looked at the differnce between the two configurations but can't see where the problem is.
I have attached the files again.
Thanks,
David
0 Kudos
Steven_L_Intel1
Employee
839 Views
You have /iface:cvf turned on in Release but not Debug. Turn it off in Release. This may solve some of the problems.
0 Kudos
davidgraham
Beginner
839 Views
Thanks, that was the problem.
David
0 Kudos
Reply