Dolphin, the GameCube and Wii emulator - Forums

Full Version: How To: compile Dolphin with Intel C++ Composer XE on Windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
(07-18-2010, 03:59 AM)Xtreme2damax Wrote: [ -> ]Yeah, nothing has changed and I'm receiving compile errors for the 64-bit build all of [a] sudden.

It might help if you posted the errors you're getting. Are all of the components failing to build or just a few?

You could also try starting fresh with a new folder and doing all of the SVN Fixes.

mightyfc

ARGH! i keep getting 19 successfull 11 failed and 3 skipped trying to build 58xx

with error 32>LINK : fatal error LNK1181: cannot open input file 'wxmsw28u_core.lib'

wich seem to have something to do with Plugin_VideoOGL

i have doublechecked that the fixes to use the c++ compiler was correctly done and they are.

theres something else here thats not right

and yes ive set the OGL plugin and all starting with WX to "not using precompiled headers"
(07-18-2010, 05:04 AM)mightyfc Wrote: [ -> ]ARGH! i keep getting 19 successfull 11 failed and 3 skipped trying to build 58xx

with error 32>LINK : fatal error LNK1181: cannot open input file 'wxmsw28u_core.lib'

wich seem to have something to do with Plugin_VideoOGL

i have doublechecked that the fixes to use the c++ compiler was correctly done and they are.

theres something else here thats not right

and yes ive set the OGL plugin and all starting with WX to "not using precompiled headers"

Same, mind listing your errors so I can see if they are the same as mine?
Lectrode:
your SSE compile guide is great
thank you very much ~
(07-18-2010, 05:04 AM)mightyfc Wrote: [ -> ][19 successfull 11 failed and 3] [58xx]
with error 32>LINK : fatal error LNK1181: cannot open input file 'wxmsw28u_core.lib'

[color=#FF0000]First, make sure the Executables, Include, and Library directories are set correctly. I've done it quite a few times and I still mess up. You have to set Platform "Win32" for 32bit builds and Platform "x64" for 64bit builds.[/color]

The only difference I can think of between what I'm using and what I've written in the tutorial (besides a few special optimizations) is I still have the NVIDIA GPU Computing SDK linked in the Include and Library directories. After R5808 you shouldn't need them but you might try it and see if it fixes your problem.

You'll need to install either the 32bit version OR the 64bit version *Depending on what OS you have, NOT what you want to build.

All the directories you'll need should be under
C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK\OpenCL\common
or the equivalent for your computer.
You'll have to link "lib" and "inc" as well as their subdirectories.

Let us know if this works for youSmile

Xtreme2damax, you could also probably try this.Smile

Just a side note, I get 20 successful, 10 failed, and 2 skipped in R5889 if I don't do the SVN Fixes.

(07-18-2010, 09:08 AM)disraelie Wrote: [ -> ]Lectrode:
your SSE compile guide is great
thank you very much ~

No problemSmile
It's only the x64 build that is failing to compile. x86 compiles fine. I tried reverting the Vcproj files and re-applying the RSVN fixes but it made no difference. Something changed in the code for the latest revisions that the previous configuration isn't working or the x64 build is just totally broken.

Errors:

Error 788 fatal error LNK1181: cannot open input file 'wxmsw28u_core.lib' D:\My Documents\Emulator SVN\Dolphin\Source\Plugins\Plugin_VideoDX9\LINK

Error 3822 fatal error LNK1181: cannot open input file 'D:\My Documents\Emulator SVN\Dolphin\Externals\wxWidgets\build\msw\..\..\lib\vc_lib\x64\wxmsw28u_core.lib' D:\My Documents\Emulator SVN\Dolphin\Source\Plugins\Plugin_VideoSoftware\LINK

Error 209 fatal error LNK1104: cannot open file 'vc_mswu\wxCore28\x64\rgncmn.obj' D:\My Documents\Emulator SVN\Dolphin\Externals\wxWidgets\build\msw\LINK

Error 295 error #11017: Cannot open wxmsw28u_core.lib D:\My Documents\Emulator SVN\Dolphin\Source\Plugins\Plugin_VideoDX9\ipo

Error 296 error #11017: Cannot open D:\My Documents\Emulator SVN\Dolphin\Externals\wxWidgets\build\msw\..\..\lib\vc_lib\x64\wxmsw28u_core.lib D:\My Documents\Emulator SVN\Dolphin\Source\Plugins\Plugin_VideoDX9\ipo
(07-18-2010, 03:23 PM)Xtreme2damax Wrote: [ -> ]It's only the x64 build that is failing to compile. x86 compiles fine. I tried reverting the Vcproj files and re-applying the RSVN fixes but it made no difference. Something changed in the code for the latest revisions that the previous configuration isn't working or the x64 build is just totally broken.

What was the first revision you had this problem?

I still have not build anything past R5889 but I'll try the latest as soon as I finish the request I'm working on.

EDIT: I'm assuming you first encountered the problem in R5889 because that's the latest revision that was out when you first posted, which is odd because I built it once with the ZTP and SFX64 speed hacks and I'm almost done building it again with MH3 for this request I'm doing. No problems whatsoever.

I highly recommend checking your directories and starting again with a fresh checkout (re-apply any patches after you have downloaded it).

Maybe you could post pics of your directory settings? I'm almost positive that's where the problem is.

You also might want to make sure the WindowsSDK is linked in the directories as well.

If none of the above works, try just compiling wxCore28 and post the BuildLog.
Checkout_Folder\Externals\wxWidgets\build\msw\vc_mswu\wxCore28\x64\BuildLog.htm

Might as well also check to see if wxmsw28u_core.lib is in
Checkout_Folder\Externals\wxWidgets\lib\vc_lib\x64
Remove /MP in all the project command line to fix that...
Don't know why this thing only add in x64 release mode.

mightyfc

(07-18-2010, 03:23 PM)Xtreme2damax Wrote: [ -> ]It's only the x64 build that is failing to compile. x86 compiles fine. I tried reverting the Vcproj files and re-applying the RSVN fixes but it made no difference. Something changed in the code for the latest revisions that the previous configuration isn't working or the x64 build is just totally broken.

Errors:

Error 788 fatal error LNK1181: cannot open input file 'wxmsw28u_core.lib' D:\My Documents\Emulator SVN\Dolphin\Source\Plugins\Plugin_VideoDX9\LINK

Error 3822 fatal error LNK1181: cannot open input file 'D:\My Documents\Emulator SVN\Dolphin\Externals\wxWidgets\build\msw\..\..\lib\vc_lib\x64\wxmsw28u_core.lib' D:\My Documents\Emulator SVN\Dolphin\Source\Plugins\Plugin_VideoSoftware\LINK

Error 209 fatal error LNK1104: cannot open file 'vc_mswu\wxCore28\x64\rgncmn.obj' D:\My Documents\Emulator SVN\Dolphin\Externals\wxWidgets\build\msw\LINK

Error 295 error #11017: Cannot open wxmsw28u_core.lib D:\My Documents\Emulator SVN\Dolphin\Source\Plugins\Plugin_VideoDX9\ipo

Error 296 error #11017: Cannot open D:\My Documents\Emulator SVN\Dolphin\Externals\wxWidgets\build\msw\..\..\lib\vc_lib\x64\wxmsw28u_core.lib D:\My Documents\Emulator SVN\Dolphin\Source\Plugins\Plugin_VideoDX9\ipo

i get exactly the same errors, havent figures out why yet, i can compile just fine with without the c++ compiler but as soon as i switch and try to do sse3 i get these errors, havent tried compiling w32 yet tho, imma try that after i get home from work

all lib's and includes are correctly set for 64, i got the newest sdk from nvidia also, wich is also set correctly.

im really out of ideas
(07-18-2010, 09:58 PM)mightyfc Wrote: [ -> ]i get exactly the same errors, havent figures out why yet, i can compile just fine with without the c++ compiler but as soon as i switch and try to do sse3 i get these errors, havent tried compiling w32 yet tho, imma try that after i get home from work

all lib's and includes are correctly set for 64, i got the newest sdk from nvidia also, wich is also set correctly.

im really out of ideas

First try BlackJade's solution (Removing "/MP")

What was the first revision you had this problem?

Try compiling wxCore28 and post the BuildLog.
Checkout_Folder\Externals\wxWidgets\build\msw\vc_mswu\wxCore28\x64\BuildLog.htm

Might as well also check to see if wxmsw28u_core.lib is in
Checkout_Folder\Externals\wxWidgets\lib\vc_lib\x64
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25