(02-17-2011, 05:36 AM)shuffle2 Wrote: [ -> ]FWIW: Here are the correct paths to add to VC++ Directories:
For Microsoft.Cpp.Win32.user
Executable Directories: $(DXSDK_DIR)Utilities\Bin\x86
Include Directories: $(DXSDK_DIR)Include
Library Directories: $(DXSDK_DIR)Lib\x86
For Microsoft.Cpp.x64.user
Executable Directories: $(DXSDK_DIR)Utilities\Bin\x64
Include Directories: $(DXSDK_DIR)Include
Library Directories: $(DXSDK_DIR)Lib\x64
You also should NOT have to:
Change PlatformToolset value
Launch VS2010 in a strange way
Edit the property sheet files manually
If you do those things...you're doin it rong.
I can not find the file Microsoft.Cpp.x64.user
Alternatively, you can create a patch
Exemple Plugin_VideoDX11 win32
Quote:Index: Source/Plugins/Plugin_VideoDX11/Plugin_VideoDX11.vcxproj
===================================================================
--- Source/Plugins/Plugin_VideoDX11/Plugin_VideoDX11.vcxproj (révision 7184)
+++ Source/Plugins/Plugin_VideoDX11/Plugin_VideoDX11.vcxproj (copie de travail)
@@ -112,7 +112,11 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ExecutablePath>$(DXSDK_DIR)Utilities\bin\x86;$(ExecutablePath)</ExecutablePath>
+ <IncludePath>$(DXSDK_DIR)Include;$(IncludePath)</IncludePath>
+ <LibraryPath>$(DXSDK_DIR)Lib\x86;$(LibraryPath)</LibraryPath>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
No, you do NOT add this to any of dolphin's files.
See example picture...that's all you have to do.
ok thank you godisgovernment
I could not find this file
(02-17-2011, 06:40 AM)morka Wrote: [ -> ]I could not find this file
With any project open go to view, property manager. First object under any of the folders.
Quote:if there have an Error for x64
error LNK1181: cannot open input file 'iphlpapi.lib'\dolphin-emu\Source\Core\DolphinWX\LINK
add lib C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\x64
I'm getting this error, where do I have to add that?
EDIT: I changed the plataform toolset to WIndows7.1SDK (had forgotten) and now that eror is gone and it starts linking but then I get the error
"mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "..\..\..\Binary\x64\Dolphin.exe". The operation failed."
What the hell is that?
EDIT2: nevermind, that happened just once lols
W00t I can compile Dolphin again ^^
Thanks!!!
(02-17-2011, 05:36 AM)shuffle2 Wrote: [ -> ]FWIW: Here are the correct paths to add to VC++ Directories:
For Microsoft.Cpp.Win32.user
Executable Directories: $(DXSDK_DIR)Utilities\Bin\x86
Include Directories: $(DXSDK_DIR)Include
Library Directories: $(DXSDK_DIR)Lib\x86
For Microsoft.Cpp.x64.user
Executable Directories: $(DXSDK_DIR)Utilities\Bin\x64
Include Directories: $(DXSDK_DIR)Include
Library Directories: $(DXSDK_DIR)Lib\x64
You also should NOT have to:
Change PlatformToolset value
Launch VS2010 in a strange way
Edit the property sheet files manually
If you do those things...you're doin it rong.
You wrong.
Sorry I use VS2010 about half a year now, compiled many Dolphin rev on it and my open source project. Even found rounding bug (RE1 /fp:fast bug) about 2 moths before you switched to VS2010.
Best is to use Windows 7.1 SDK - it fix some my x64 problems, also that property sheet CANNOT be edited trough IDE, read MSDN forums and MSBuild4 manual.
Also directx paths can be added to IDE user property sheets to all projects (trough IDE, it's called: Microsoft.Cpp.x64.user and Microsoft.Cpp.x86.user). Set it once and forget ...
Btw, Express do have SDK ? I do not use Express edition of 2010 but older DO NOT have any SDK, so you must use Windows 7.1 SDK ...
PS: Visual Studio 2010 RTM is not stable to build x64 apps, it must be hotfixed. Please read:
http://support.microsoft.com/kb/2280741
http://support.microsoft.com/kb/2485545
hotfixes here:
http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=33355
http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=31433
I reccomend to use all VS10-KBxxxxx-x86.exe hotfixes from Connect site.
Are this hotfixes safe? I mean, will they fuck with my settings or something like that?
You're on crack.
I already explained how to edit that property sheet - so I have no idea what you're complaining about there.
I use vs2010 ultimate and windows sdk 7.1. My environment didn't require any idiotic tampering. If you feel the need to ruin your own environment, that's fine - but don't post incorrect instructions for other people to follow.