- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a module in a library and within that library I have different subroutine (MYSUB)using that module. I get the following error message when I compile my fortran subroutine:
"error #7002: Error in opening the compiled module file. Check INCLUDE paths."
I noticed that if I have the module compiled first then MYSUB will compile OK.
My questions:
- is there a way to control the order of the routines that get compiled in the library to ensure the module gets compile first?
- Is there something that can be done to remove this dependency?
"error #7002: Error in opening the compiled module file. Check INCLUDE paths."
I noticed that if I have the module compiled first then MYSUB will compile OK.
My questions:
- is there a way to control the order of the routines that get compiled in the library to ensure the module gets compile first?
- Is there something that can be done to remove this dependency?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sometimes this can happen if you have a circular dependency on modules, which confuses the build system. You might try, as an experiment, creating a new project, adding all the sources, and seeing if that will build.

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