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
thanks, i already read the post by hyakki and fixed it. thanks again for the extra help though Smile
I am getting flooded with this...
Code:
6>gencl.c(20): warning #556: a value of type "void *" cannot be assigned to an entity of type "cl_int={signed int} (__cdecl *)(cl_platform_id, cl_device_type={cl_bitfield={cl_ulong={unsigned __int64}}}, cl_uint={unsigned int}, cl_device_id *, cl_uint={unsigned int} *)"
6>        if(!clGetDeviceIDs_ptr) clGetDeviceIDs_ptr = getFunction("clGetDeviceIDs");

I followed the steps one by one is there something that I am missing?

It also ended with this.

Code:
24>  InputConfigDiag.cpp
24>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xmmintrin.h(56): error #2277: invalid definition of __m128; use #include "xmmintrin.h" instead
24>    typedef long long __m128;
24>                      ^
24>  
24>icl : error #10298: problem during post processing of parallel object compilation
24>icl : error #10298: problem during post processing of parallel object compilation
24>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(204,5): error MSB6001: Invalid command line switch for "icl.exe". Parameter "path" cannot have zero length.
24>
24>Build FAILED.
24>
24>Time Elapsed 00:00:06.97
========== Rebuild All: 10 succeeded, 14 failed, 0 skipped ==========

I did have some trouble with step 7, if I highlight everything but languages and svn one I do not have in list, was not there when I downloaded today, I do not get the c/c++ option or linker, but if I do properties indavidually I do? tried to google to see if that is something i could change.

I do apologise my programming skills are on the very low side. (last class was understanding complex data types)
http://forums.dolphin-emu.org/showthread.php?tid=9549&page=116
(09-10-2011, 09:01 AM)jennifermr1976 Wrote: [ -> ]I do apologise my programming skills are on the very low side. (last class was understanding complex data types)

Doesn't sound low to me XD
(09-10-2011, 03:03 AM)gabriel21st Wrote: [ -> ]thanks, i already read the post by hyakki and fixed it. thanks again for the extra help though Smile

oh yea. hahahaha... i just realised Big Grin he posted earlier Smile
(09-10-2011, 09:01 AM)jennifermr1976 Wrote: [ -> ]I am getting flooded with this...
Code:
6>gencl.c(20): warning #556: a value of type "void *" cannot be assigned to an entity of type "cl_int={signed int} (__cdecl *)(cl_platform_id, cl_device_type={cl_bitfield={cl_ulong={unsigned __int64}}}, cl_uint={unsigned int}, cl_device_id *, cl_uint={unsigned int} *)"
6>        if(!clGetDeviceIDs_ptr) clGetDeviceIDs_ptr = getFunction("clGetDeviceIDs");

I followed the steps one by one is there something that I am missing?

It also ended with this.

Code:
24>  InputConfigDiag.cpp
24>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xmmintrin.h(56): error #2277: invalid definition of __m128; use #include "xmmintrin.h" instead
24>    typedef long long __m128;
24>                      ^
24>  
24>icl : error #10298: problem during post processing of parallel object compilation
24>icl : error #10298: problem during post processing of parallel object compilation
24>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(204,5): error MSB6001: Invalid command line switch for "icl.exe". Parameter "path" cannot have zero length.
24>
24>Build FAILED.
24>
24>Time Elapsed 00:00:06.97
========== Rebuild All: 10 succeeded, 14 failed, 0 skipped ==========

I did have some trouble with step 7, if I highlight everything but languages and svn one I do not have in list, was not there when I downloaded today, I do not get the c/c++ option or linker, but if I do properties indavidually I do? tried to google to see if that is something i could change.

I do apologise my programming skills are on the very low side. (last class was understanding complex data types)

I guess you messed up with your configuration. Copy and paste with the following configuration...

FOR X86:
executable directories
$(ICInstallDir)\bin\ia32\;$(DXSDK_DIR)Utilities\bin\x86;$(VCInstallDir)bin;$(WindowsSdkDir)bin\NETFX 4.0 Tools;$(WindowsSdkDir)bin;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;$(ProgramFiles)\HTML Help Workshop;$(FrameworkSDKDir)\bin;$(MSBuildToolsPath32);$(VSInstallDir);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH)

include directories
$(ICInstallDir)\compiler\include\;$(DXSDK_DIR)Include;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include

library directories
$(ICInstallDir)\compiler\lib\ia32\;$(DXSDK_DIR)Lib\x86;$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib;


FOR X64
executable directories
$(ICInstallDir)bin\ia32_Intel64;$(DXSDK_DIR)Utilities\bin\x64;$(VCInstallDir)bin\x86_amd64;$(VCInstallDir)bin;$(WindowsSdkDir)bin\NETFX 4.0 Tools;$(WindowsSdkDir)bin;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;$(ProgramFiles)\HTML Help Workshop;$(FrameworkSDKDir)\bin;$(FrameworkSDKDir)\lib\win64;$(MSBuildToolsPath32);$(FxCopDir);$(PATH);

include directories
$(ICInstallDir)compiler\include;$(ICInstallDir)compiler\include\Intel64;$(DXSDK_DIR)Include;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;

library directories
$(ICInstallDir)compiler\lib\Intel64;$(DXSDK_DIR)Lib\x64;$(VCInstallDir)lib\amd64;$(VCInstallDir)atlmfc\lib\amd64;$(WindowsSdkDir)lib\x64;
another question, srry if I am bothersome about this, Intel has an update but will it destroy being able to compile dolphine? this is what it says
Code:
tel(R) Composer XE 2011 installation can continue, but take note

  Intel(R) C++ Composer XE 2011 Integration(s) in Microsoft Visual Studio* is already installed.
If you proceed to install, the Intel C++ Composer XE 2011 IDE integration(s) will be uninstalled and the Intel(R) Composer XE 2011 IDE integration will be installed. You will be able to select the Intel C++ Composer XE 2011 product from that integration; however, you will be unable to use the Intel(R) C++ Compiler 11.0 within the Visual Studio IDE (if it is currently installed).

  Intel Parallel Debugger Extension is already installed.
If you proceed, the existing Intel Parallel Debugger Extension will be uninstalled and replaced with the version from Intel(R) Composer XE 2011.
(09-10-2011, 02:38 PM)jennifermr1976 Wrote: [ -> ]another question, srry if I am bothersome about this, Intel has an update but will it destroy being able to compile dolphine? this is what it says
Code:
tel(R) Composer XE 2011 installation can continue, but take note

  Intel(R) C++ Composer XE 2011 Integration(s) in Microsoft Visual Studio* is already installed.
If you proceed to install, the Intel C++ Composer XE 2011 IDE integration(s) will be uninstalled and the Intel(R) Composer XE 2011 IDE integration will be installed. You will be able to select the Intel C++ Composer XE 2011 product from that integration; however, you will be unable to use the Intel(R) C++ Compiler 11.0 within the Visual Studio IDE (if it is currently installed).

  Intel Parallel Debugger Extension is already installed.
If you proceed, the existing Intel Parallel Debugger Extension will be uninstalled and replaced with the version from Intel(R) Composer XE 2011.

just go ahead. this is just a warning message to uninstall the previous version of icc v11 and to install icc v12.
Thank you so much Lannyboy ^_^ I am almost there.

========== Build: 22 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

I can work with this, the 14 failed from before was a bit to much.
btw, anyone here been able to build with AVX? my AVX build crashes immediately upon starting dolphin :\
My guess is your not using Win7 SP1.
gaaaah, that's right, i forgot to reinstall that after i formatted my computer a couple months ago..
why doesn't windows update download that? windows XP downloaded service packs via windows update....
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