Project

General

Profile

Actions

Emulator Issues #864

closed

wxAdv28, wxBase28, and wxCore28 builds may interfere with each other on Visual Studio

Added by Nolan.Check about 15 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Build
% Done:

0%

Operating system:
Windows
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
Yes
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

  1. Use a multi-core CPU to build the Visual Studio solution.
  2. Visual Studio may attempt to build wxAdv28, wxCore28, and wxBase28
    simultaneously. It might only do this in the Professional edition.
  3. 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.

Actions #1

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?

Actions #2

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...

Actions #3

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

Actions #4

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.

Actions #5

Updated by XTra.KrazzY about 15 years ago

  • Status changed from Accepted to Fixed
Actions #6

Updated by marcus about 15 years ago

Thanks, looks like I forgot that :)

Actions #7

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.

Actions #8

Updated by marcus about 15 years ago

Fixed.

Actions

Also available in: Atom PDF