- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a project that builds fine in the Release mode. But it won't in Debug mode. I think the settings are identical ( except for directory names etc.). We are using 10.0.027 in VS2005. There are a lot of modules in the project. If we do a clean and build. The first pass gets a bunch of errors that it couldn't find some modules, mostly because of the order it compiles the sources. All of the modules have been created after the first build. A second build then gets 1 error and an abort and it says 2 errors. The error is "Error in opening directory for generated module interfaces: procesproces___Win32_Debug"
It is interesting to note that the directory we have listed is actually ....procesproces___Win32_Debug. which it has no trouble putting the .mod files in during the first build. Note that the release build has the same .... in the directory used for intermediate and output files. Why the error doesn't list the .... is puzzling. Any help on how we can get a release build to work would be appreciated.
Thanks,
Dave
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately I don't think we can send out the source code for this project. Can you comment on why the error message doesn't include the complete relative path name specified? I find that part most disturbing. Also why would not be able to open a directory?
Thanks,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am also puzzled by your comment that it did not build things in the right order. My experience is that this is usually caused by circular dependencies among the source files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is the requested info. Thanks for your help.
/nologo /Zi /Od /gen-interfaces /free /warn:interfaces /iface:cref /iface:mixed_str_len_arg /module:"....procesproces___Win32_Debug" /object:"....procesproces___Win32_Debug" /traceback /check:bounds /libs:static /threads /dbglibs /c
Release:
/nologo /O3 /free /iface:cref /iface:mixed_str_len_arg /module:"....procesproces___Win32_Release" /object:"....procesproces___Win32_Release" /traceback /libs:static /threads /c
plus additional Options (for both):
/names:lowercase
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This appears to be related to the gemerated interface checking. You can turn that off in the Debug configuration under Diagnostics. There are two settings, one for generating interfaces and the other for checking them. Set them both to No.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Setting both generating interfaces and checking them to No seems to have fixed the problem.
Thanks for your help!

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