- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
9 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you need to provide more information. Can you attach the buildlog.htm and the .vfproj file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have added the buildlog & project file.
Hope this helps.
David
Hope this helps.
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have /iface:cvf turned on in Release but not Debug. Turn it off in Release. This may solve some of the problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, that was the problem.
David
David

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page