• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 41 42 43 44 45 ... 117 Next »

How To: compile Dolphin with Intel C++ Composer XE on Windows
View New Posts | View Today's Posts

Poll: Did you find this Tutorial Helpful?
Yes, Very useful and informative!
No, All of the information went over my head and I didn't understand a word of it.
I have no idea what's going on or why I'm here. Where am I again?
[Show Results]
 
 
Pages (25): « Previous 1 ... 16 17 18 19 20 ... 25 Next »
Jump to page 
Thread Rating:
  • 14 Vote(s) - 4.43 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
How To: compile Dolphin with Intel C++ Composer XE on Windows
02-17-2011, 07:16 PM
#171
cradfire
Unregistered
 
is there a way to compile sse4 optimized without Intel C++ Composer?
Reply
02-18-2011, 01:14 AM (This post was last modified: 02-18-2011, 01:14 AM by lamedude.)
#172
lamedude Offline
Senior Member
****
Posts: 360
Threads: 7
Joined: Jan 2011
I tried MinGW once but it didn't work.
Website Find
Reply
02-19-2011, 12:23 AM (This post was last modified: 03-17-2011, 04:18 PM by Lectrode.)
#173
Lectrode Offline
1 Kid, 1 Laptop... yeah we're screwed =P
****
Posts: 559
Threads: 3
Joined: May 2010
(02-15-2011, 01:04 PM)boogerlad Wrote: virtualbox.
(02-15-2011, 11:18 PM)ryancollins Wrote: I also use virtualbox it is awesome Exclamation
Trying it. So far it seems like a good program, although it has some bugs.

(02-17-2011, 07:16 PM)cradfire Wrote: is there a way to compile sse4 optimized without Intel C++ Composer?
Yep, that's why I changed the name from How to compile with SSE to how to compile with ICC XE.
According to the Official Windows Build:
"If you want to compile with hand coded SSSE3 and SSE4 optimization code, add _M_SSE=0x402 to the macro definition. You can add the macro definition from 'VideoCommon' -> Right click -> 'Property' -> 'C/C++' -> 'Preprocessor' -> 'Preprocessor Definition'. Don't forget to add separators ';' between the macro definitions."

I've never tried it that way, but apparently that's how you would do it.
NOTE: It's not the same as using ICC XE to automatically make SSE code!
[Image: sig.png]

[Image: 1339673.png]
Website Find
Reply
03-17-2011, 03:04 PM
#174
XCSampson
Unregistered
 
Hi, I have been trying to compile some x64 builds, I keep running into the error no matter what build I am trying to compile. "Error 529 error #2277: invalid definition of __m128; use #include "xmmintrin.h" instead C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xmmintrin.h Line 56 Column 1 Dolphin".

Furthermore, regardless of what settings I alter(SSE optimizations etc) I receive the same error. Same with when I don't change any settings. I am relatively new at this stuff; just wanted to give a shot at this. I have followed the tutorial and have all SDK's etc installed. I appreciate the support from all members in this thread in advancing the optimization of the Dolphin builds, they have greatly increased performance on my laptop. If things were to compile without errors my goal is to create SSE4.1 optimized builds.

Thanks in advance! Especially to Lectrode for writing the tutorial!

EDIT: I can compile 32bit builds successfully. The problem with the 64 bit builds persists.

64 bit errors:
error MSB6001: Invalid command line switch for "icl.exe". Parameter "path" cannot have zero length. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\PlatformToolsets\Intel C++ Compiler XE 12.0\Microsoft.Cpp.x64.Intel C++ Compiler XE 12.0.targets Line 204 Column 6 Project wxAdv28

error #2277: invalid definition of __m128; use #include "xmmintrin.h" instead C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xmmintrin.h Line 56 Column 1 Project Common


error #10298: problem during post processing of parallel object compilation C:\Desktop\Checkout\7226\Source\Core\Common\icl Project Common
Reply
04-11-2011, 07:40 PM (This post was last modified: 04-11-2011, 07:43 PM by lannyboy.)
#175
lannyboy Offline
Member
***
Posts: 221
Threads: 6
Joined: Mar 2009
(03-17-2011, 03:04 PM)XCSampson Wrote: Hi, I have been trying to compile some x64 builds, I keep running into the error no matter what build I am trying to compile. "Error 529 error #2277: invalid definition of __m128; use #include "xmmintrin.h" instead C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xmmintrin.h Line 56 Column 1 Dolphin".

Furthermore, regardless of what settings I alter(SSE optimizations etc) I receive the same error. Same with when I don't change any settings. I am relatively new at this stuff; just wanted to give a shot at this. I have followed the tutorial and have all SDK's etc installed. I appreciate the support from all members in this thread in advancing the optimization of the Dolphin builds, they have greatly increased performance on my laptop. If things were to compile without errors my goal is to create SSE4.1 optimized builds.

Thanks in advance! Especially to Lectrode for writing the tutorial!

EDIT: I can compile 32bit builds successfully. The problem with the 64 bit builds persists.

64 bit errors:
error MSB6001: Invalid command line switch for "icl.exe". Parameter "path" cannot have zero length. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\PlatformToolsets\Intel C++ Compiler XE 12.0\Microsoft.Cpp.x64.Intel C++ Compiler XE 12.0.targets Line 204 Column 6 Project wxAdv28

error #2277: invalid definition of __m128; use #include "xmmintrin.h" instead C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xmmintrin.h Line 56 Column 1 Project Common


error #10298: problem during post processing of parallel object compilation C:\Desktop\Checkout\7226\Source\Core\Common\icl Project Common

set vc++ include directories beginning with $(ICInstallDir)\compiler\include\; and vc++ library directories beginning with $(ICInstallDir)\compiler\lib\ia32\; (for 32bits) and $(ICInstallDir)\compiler\lib\intel64\; (for 64bits).

this should solve your problem. the problem is because your environment never setup correctly.
Website Find
Reply
04-12-2011, 12:45 AM
#176
lannyboy Offline
Member
***
Posts: 221
Threads: 6
Joined: Mar 2009
hey, lectrode. i have them compiled with icc without problem except dx11. they are able to run games.
Website Find
Reply
04-12-2011, 12:57 PM
#177
Lectrode Offline
1 Kid, 1 Laptop... yeah we're screwed =P
****
Posts: 559
Threads: 3
Joined: May 2010
(04-12-2011, 12:45 AM)lannyboy Wrote: hey, lectrode. i have them compiled with icc without problem except dx11. they are able to run games.
Thx for the info. I'll try out the command line switches (/Qstd=c++0x /D "nullptr=0") once I have time. Should be within a day or so.
[Image: sig.png]

[Image: 1339673.png]
Website Find
Reply
04-14-2011, 08:18 AM (This post was last modified: 04-14-2011, 08:37 AM by Lectrode.)
#178
Lectrode Offline
1 Kid, 1 Laptop... yeah we're screwed =P
****
Posts: 559
Threads: 3
Joined: May 2010
Edited Tutorial to include Lannyboy's fixes. If I got anything wrong please let me know.
Thanks again for those! Smile

I will have latest revision compiled as soon as I can Smile
[Image: sig.png]

[Image: 1339673.png]
Website Find
Reply
04-17-2011, 09:29 AM
#179
Vlad Offline
Away
****
Posts: 263
Threads: 5
Joined: Sep 2009
Got this damn errors, i probably fcked up somewhere, any tips?

Error 1 error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 SVNRevGen
Error 2 error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. C:\Kompilacijeee\Majmunski delfin\Externals\zlib\TRACKER zlib
Error 3 error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. C:\Kompilacijeee\Majmunski delfin\Externals\wxWidgets\build\msw\TRACKER wxBase28
Error 4 error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. C:\Kompilacijeee\Majmunski delfin\Externals\wxWidgets\build\msw\TRACKER wxCore28
Error 5 error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. C:\Kompilacijeee\Majmunski delfin\Externals\SOIL\TRACKER SOIL
Specs:
OS: Windows 8.1 Pro x64
CPU: Intel i7 4790k @ 4.4GHz
MB: ASUS Z97-Pro
VGA: ASUS Strix GeForce GTX 970
RAM: Kingston 16GB DDR3 @ 1600 MHz
HDD's: OCZ Agility 3 120GB / WD Caviar Green 1TB / Seagate Barracuda 3TB


.........................................................................................................
Find
Reply
04-17-2011, 11:11 AM (This post was last modified: 04-17-2011, 11:36 AM by lannyboy.)
#180
lannyboy Offline
Member
***
Posts: 221
Threads: 6
Joined: Mar 2009
(04-17-2011, 09:29 AM)vlakipn Wrote: Got this damn errors, i probably fcked up somewhere, any tips?

Error 1 error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 SVNRevGen
Error 2 error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. C:\Kompilacijeee\Majmunski delfin\Externals\zlib\TRACKER zlib
Error 3 error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. C:\Kompilacijeee\Majmunski delfin\Externals\wxWidgets\build\msw\TRACKER wxBase28
Error 4 error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. C:\Kompilacijeee\Majmunski delfin\Externals\wxWidgets\build\msw\TRACKER wxCore28
Error 5 error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. C:\Kompilacijeee\Majmunski delfin\Externals\SOIL\TRACKER SOIL

1) go to your property manager

2) open dolphin project

3) expand release | win32 (for x86) or release | x64 for (x64)

4) right click to microsoft.cpp.win32.user (for x86) or microsoft.cpp.x64.user (for x64), then select properties.

5) expand common properties -> vc++ directories

6) [color=#FF0000]always begin with[/color] (don't put these paths at the end of the line, icc will read to vc++ libraries and headers)

x86:
vc++ executable directories: $(ICInstallDir)bin\ia32;
vc++ include directories: $(ICInstallDir)compiler\include;
vc++ reference directories: $(ICInstallDir)compiler\lib\ia32;

x64
vc++ executable directories: $(ICInstallDir)bin\ia32_Intel64;
vc++ include directories: $(ICInstallDir)compiler\include;
vc++ reference directories: $(ICInstallDir)compiler\lib\Intel64;

7) once done. press ok button.

8) right click to it and press save microsoft.cpp.win32.user (for x86) or save microsoft.cpp.x64.user (for x64).

=end=
Website Find
Reply
« Next Oldest | Next Newest »
Pages (25): « Previous 1 ... 16 17 18 19 20 ... 25 Next »
Jump to page 


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode