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-14-2010, 10:14 PM)jakeslogan Wrote: [ -> ]can u build video plugins before r5808 using Intel C++ Compiler?(e.g r5807, r5806 video plugin,...) Some people and me are having trouble when enabling OpenCL using r5808 and later rev's video plugins, the r5807 and previous video plugins work fine with even the latest SVN build with OpenCL. While r5808 and later rev videoplugins crash dolphin just before OpenCL's initiation (the log show me that). I suspect that there's something related with the problem u're investigating.
Here are some changes in r5808.
http://code.google.com/p/dolphin-emu/source/detail?r=5808

PMd (Private Messaged)
Lectrode, I think there is no longer need to install NVIDIA GPU Computing SDK after r5809.
Because the OpenCl is link and build in the CLRun project.
Adding NVIDIA GPU Computing SDK paths in the Project and solution is no longer use.
Also, OpenCL is not working in x86 OS only after r5808 changes.
So, I think you should take the request...
(07-15-2010, 06:50 PM)blackJade Wrote: [ -> ]Lectrode, I think there is no longer need to install NVIDIA GPU Computing SDK after r5809.
Because the OpenCl is link and build in the CLRun project.
Adding NVIDIA GPU Computing SDK paths in the Project and solution is no longer use.
Also, OpenCL is not working in x86 OS only after r5808 changes.
So, I think you should take the request...

I had no intention of not taking the request. I PMd jakeslogan in order to keep this thread clean.

Also, thank you for the info. I shall test this shortly.
Lectrode, I have a way to get Software Renderer plugins compile successful.
First apply all the RVSN fixes and Not Using Precompiled Headers in wx as usual.
After that you need to build Software Renderer plugins independent.
Set the VideoCommon project,
Quote:C/C++->Optimization->Interprocedural Optimization->No.
build the Plugin_VideoSoftware only.
done.

The problem is due to the g_Config in the VideoConfig.h is the same in both VideoCommon and Plugin_VideoSoftware.
So, another solution is change all the g_Config into g_ConfigSW in the Plugin_VideoSoftware.
Then you can build it with Interprocedural Optimization on.
I will include the patch here.
(07-15-2010, 08:58 PM)blackJade Wrote: [ -> ]Lectrode, I have a way to get Software Renderer plugins compile successful.
First apply all the RVSN fixes and Not Using Precompiled Headers in wx as usual.
After that you need to build Software Renderer plugins independent.
Set the VideoCommon project,
C/C++->Optimization->Interprocedural Optimization->No.
build the Plugin_VideoSoftware only.
done.

Nice. I'm testing that right now. Also, tested thing from your previous post and you're right (updated tutorial)

EDIT:Alright! It works! Awesome job!

I was (and will continue) looking for the actual problem in the code. It'd be nice if we could still include that Interprocedural Optimization. It should work, but it doesn't like part of the code. What that is, I have no idea, but at least I can build the full thing again. Will update the tutorial as soon as I verify that building with SSE instructions works now that it works in general with ICC.

EDIT: Updated Tutorial

(07-15-2010, 08:58 PM)blackJade Wrote: [ -> ]The problem is due to the g_Config in the VideoConfig.h is the same in both VideoCommon and Plugin_VideoSoftware.
So, another solution is change all the g_Config into g_ConfigSW in the Plugin_VideoSoftware.
Then you can build it with Interprocedural Optimization on.
I will include the patch here.


EDIT: I like your second solution a lot better. Testing and will post results momentarily.

EDIT: Tested and works like a charm. Very nice. Updated Tutorial.

Just a side note, I did not need to build "Plugin_VideoSoftware" separately for either solution.
Hey thanks for this Lectrode! I will use this guide for sure Smile!
(07-17-2010, 02:09 AM)darkshadw Wrote: [ -> ]Hey thanks for this Lectrode! I will use this guide for sure Smile!

Glad to help Smile
Did something in the past five or ten revisions break compilation of the 64-bit build with the Intel C++ Compiler?
(07-17-2010, 04:55 PM)Xtreme2damax Wrote: [ -> ]Did something in the past five or ten revisions break compilation of the 64-bit build with the Intel C++ Compiler?

Don't think so. I just got done compiling R5889 with that StoreFromX64 and ZTP hack with no problems.

Compiling with ICC is very tricky, especially for the revisions after R5807. R5808 added 10 additional files to be edited in order for everything to compile successfully.

If you miss ANY of the "RSVN Fixes" it won't compile successfully.

What problems are you getting?

Oh, and if you built 32bit and changed the release type to 64bit, you'll have to re-apply all the settings such as "Not using Precompiled Headers" and the type of SSE you want.
Yeah, nothing has changed and I'm receiving compile errors for the 64-bit build all of the sudden.
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