- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello;
I ported a project over from CVF 6.6 which had COMMON blocks in include files.
For example: COM1.CMN, and the source files had INCLUDE "COM1.CMN" statements to refer to it.
I keep getting a compile message "could not find INCLUDE file" even though it definitely was in the project and I can see it in the Solution Visualizer. I tried putting in the Header files part, the Resource files, and along with the othe source code blocks. Nothing woked.
Does it nees a special extension? Maybe .CMN doesn't work any more.
Is there some special treatment to get the Intel compiler to recognize those? It worked fine with CVF. I had all the files under the same folder, but my impression is that's not really necessary.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There's nothing special about .CMN. As with CVF, the compiler looks for INCLUDE files in the same folder as the source file (by default) and any folders listed under "Additional include directories". Having the include file show as a project source does not do anything for the compiler (though it's handy for you to see and edit the file.)
What is the exact compiler version you are using? (One way to tell - look at the first line of C:Program FilesIntelCompilerFortran9.1DocsNotesfsupport.txt and read the Package ID.)
What is the exact compiler version you are using? (One way to tell - look at the first line of C:Program FilesIntelCompilerFortran9.1DocsNotesfsupport.txt and read the Package ID.)

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