- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have just moved my development environment to a new (Windows XP) machine,and I am having trouble building one solution.
The solution in question built successfullyon my old (Windows XP) machine with MS Visual Studio 2010 and IVF 2011.9.
I copied the solution to the new machine (using the same folder locations).
with a debug build...
When I select the option Rebuild SolutionI get a large number of build errors. These errors arise because a fortran module is usedbeforethe file containing the module hasbeen compiled. In other words it appears that Visual Studio is trying to compile the files in the wrong order.
If I manually compile each source file that contains a module then the solution is able to build. If there was still an option to "update dependencies" I wouldtry that.
With a release build...
If i run the resulting exe from the development environment I always get the message that the project is out-of date.
If I opt to build the solution it recompiles everysource code file(even though they have not been changed since the last build) but ultimately builds successfully.
I tried installing ivf 2011.11 but I get the same problem.
The solution in question built successfullyon my old (Windows XP) machine with MS Visual Studio 2010 and IVF 2011.9.
I copied the solution to the new machine (using the same folder locations).
with a debug build...
When I select the option Rebuild SolutionI get a large number of build errors. These errors arise because a fortran module is usedbeforethe file containing the module hasbeen compiled. In other words it appears that Visual Studio is trying to compile the files in the wrong order.
If I manually compile each source file that contains a module then the solution is able to build. If there was still an option to "update dependencies" I wouldtry that.
With a release build...
If i run the resulting exe from the development environment I always get the message that the project is out-of date.
If I opt to build the solution it recompiles everysource code file(even though they have not been changed since the last build) but ultimately builds successfully.
I tried installing ivf 2011.11 but I get the same problem.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Often this is caused by a circular module dependency, but not always. Try removing all the files from the project and then re-adding them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks very much Steve...after a long hunt I found the circular module depndency. The solution is now building with no problems.
It took a while to find the problem in my solution becuase of its size.Itlooks like the sort of task thatcould be automated without too much effort. Is there any chance of IVF including a check for the presence of this type of problem in a solution?
It took a while to find the problem in my solution becuase of its size.Itlooks like the sort of task thatcould be automated without too much effort. Is there any chance of IVF including a check for the presence of this type of problem in a solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will submit a feature request to see if we can give an error in this situation.

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