Emulator Issues #864
closedwxAdv28, wxBase28, and wxCore28 builds may interfere with each other on Visual Studio
0%
Description
- Use a multi-core CPU to build the Visual Studio solution.
- Visual Studio may attempt to build wxAdv28, wxCore28, and wxBase28
simultaneously. It might only do this in the Professional edition. - Sometimes, more than one of those projects will try to create
"....\lib\vc_lib\msw\wx\msw\rcdefs.h" at the same time, resulting in this
error: "The process cannot access the file because it is being used by
another process."
Solution: Set up the Project Dependencies so that they never build at the
same time.
Updated by marcus about 15 years ago
- Status changed from New to Accepted
- Relates to usability set to Yes
- Issue type set to Bug
- Priority set to Normal
- Category set to build
- Operating system Windows added
Yeah, I get this occasionally. I don't have much experience with build settings in
MSVS, could you make a patch to fix it?
Updated by Nolan.Check about 15 years ago
I'm not sure what the project dependencies should be, though. Does wxAdv28 depend on
wxBase28, and does wxBase28 depend on wxCore28? If so, I've attached a patch. This is
the first time I've ever made a patch...
Updated by lpfaint99 about 15 years ago
just curious, how often do you rebuild the wx projects? It really is unnecessary
unless we update wx to a newer version or are compiling a different build for the
first time
Updated by marcus about 15 years ago
I used to always do a 'rebuild all', but after someone changed it to do the revision
number stuff in just a 'build all', I started doing that instead.
I'll test that patch.
Updated by Nolan.Check about 15 years ago
I guess I was wrong. Here are the real dependencies:
- wxAdv28 requires wxCore28 and wxBase28
- wxCore28 requires wxBase28
I've attached a new patch. It applies to r2974.