Project

General

Profile

Actions

Emulator Issues #1557

closed

Build Order is broken

Added by Speeddymon over 14 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. Download a clean SVN HEAD copy
  2. Load up VC++ 2008 Express
  3. Build Solution

What is the expected output? What do you see instead?
'29 succeeded, 0 failed, 1 skipped' is expected
'28 succeeded, 1 failed, 1 skipped' is seen, or something close to that.

Searching for the compile error shows a link error due to wxmsw28u_core.lib
being not found

What version of the product are you using? On what operating system?
R4438 x64 on XP x64

Please provide any additional information below.

I am able to get it to build properly and successfully by telling VC
Express to compile the wx* projects, then copying the 4 libs they make to
the VC Express lib folder, then doing a rebuild solution. I do not know the
VC Express build order system well enough to fix this issue properly (by
changing the build order) in the solution myself.

Actions #1

Updated by mikeya84 over 14 years ago

Downloaded a clean svn head copy
Windows 7 build 7100, quadcore AMD, using Visual Studio 2008

my results:

R4438
x64 release - Build: 27 succeeded, 0 failed, 0 up-to-date, 0 skipped
x64 release_JITIL - Build: 2 succeeded, 0 failed, 25 up-to-date, 0 skipped

I assume you've built prior versions before, but with my limited knowledge on the
subject I'd have to say double check that all the SDKs and lib/include dirs are in order

Actions #2

Updated by Speeddymon over 14 years ago

VC++ Express, not Visual Studio 2008

Actions #3

Updated by lpfaint99 over 14 years ago

  • Status changed from New to Accepted

probably related to the sln split that has since been reverted
if I remember I'll fix it tonight

Actions #4

Updated by Speeddymon over 14 years ago

You got an instant messenger I can bug you on to remember? ;-)

Actions #5

Updated by lpfaint99 over 14 years ago

build order looks ok here, testing again

Actions #6

Updated by Speeddymon over 14 years ago

To further bolster the point that this is valid, I was doing some regression testing,
I am able to build r4461 through at least r4479 without having to do the workaround.
I'll try to see what rev causes this today, since it seems to be only affecting me at
the moment. :-/

Actions #7

Updated by javimi.wan.kenobi over 14 years ago

I think is related, everytime I rebuild the solution VS says:

========== Rebuild All: 29 succeeded, 1 failed, 1 skipped ==========

Error 67 fatal error LNK1181: cannot open input file 'wxmsw28u_core.lib'
Plugin_VideoSoftware

I've to build that project manually, then everything is fine.

Actions #8

Updated by Speeddymon over 14 years ago

As a long shot since it is working for everyone on VS except for you javimi, try to
delete the whole local SVN copy on your computer and check it out clean, then try to
build solution and see if it works then.

Actions #9

Updated by lpfaint99 over 14 years ago

probably related to your setting for parallel builds
(Tools > Options > Projects and Solutions > Build and Run > maximum number of
parallel project builds

Actions #10

Updated by javimi.wan.kenobi over 14 years ago

You're right, 4 fails, with 3 or less it builds fine with a quad core. Compilation
takes more time but at least it finishes without errors. Thanks ;)

Actions #11

Updated by Speeddymon over 14 years ago

Weird, I have a quad core as well.. I'll try that in a bit and report back

Actions #12

Updated by Anonymous over 14 years ago

hum...software plugin has some seriously funky linker options ><

Actions #13

Updated by Anonymous over 14 years ago

http://pastie.org/664558
makes it a little more sane IMO. Should I commit/do more/?

Actions #14

Updated by Speeddymon over 14 years ago

Checking the tri core compile now, then going to try quad core with your patch and
will let you know.

Actions #15

Updated by Speeddymon over 14 years ago

Tri core compile succeeded without the patch, testing quad core compile with the patch

Actions #16

Updated by Speeddymon over 14 years ago

With the patch, with quad core, I'm getting a lot of errors and failures:

31>LINK : fatal error LNK1181: cannot open input file '..\common\x64\release\common.lib'
31>Build log was saved at
"file://d:!Development\Dolphin-SVN\Source\Core\DolphinWX\x64\Release\BuildLog.htm"
31>Dolphin - 1 error(s), 2 warning(s)
========== Rebuild All: 17 succeeded, 13 failed, 1 skipped ==========

Complete log file attached

Actions #17

Updated by Anonymous over 14 years ago

2>d:!development\dolphin-svn\source\core\common\src\OpenCL.h(33) : fatal error C1083:
Cannot open include file: 'CL/cl.h': No such file or directory

...this causes common not to be built. Sorry, I was compiling with OpenCL enabled at
the time. Please open OpenCL.h in COmmon and change the #if 1 to #if 0

Actions #18

Updated by Speeddymon over 14 years ago

I should have known it was something simple, I just haven't had a chance to look
through the code yet to learn where everything is. :-) Recompiling it now.

Actions #19

Updated by Speeddymon over 14 years ago

Works for me! Thanks!

========== Rebuild All: 30 succeeded, 0 failed, 1 skipped ==========

Actions #20

Updated by Anonymous over 14 years ago

  • Status changed from Accepted to Fixed
Actions #21

Updated by MofoMan2000 over 14 years ago

Ah, I had no idea there was an issue for this. I was getting this problem whenever
trying to build with an msbuild /M command line but it compiled fine for me in
VS2008. Glad to see it's been worked on, I'll try to build later.

Actions

Also available in: Atom PDF