..:: PCSX2 Forums ::..

Full Version: Windows - Compile Guide and Support
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 26 27 28 29 30 31 32 33 34 35 36
Does anyone know if VC++ 2010 Express still needs the Windows 2003 R2 Platform SDK?
EDIT:
Apparently yes, but SPU2-X doesn't compile
SndOut_XAudio2.cpp : fatal error C1853: 'Win32\Release\SPU2-X.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versasa
IIRC it no longer needs the Windows 2003 R2 Platform SDK(from where actually atlmfc files are effective).
For some weird reason it didn't want to compile Gsdx without it, but now SPU2-X doesn't work.
"precompiled header file is from a previous version of the compiler"

why use latest compiler with old SDK ? you need windows SDK 7.0 or 7.1 to fit VS2010

http://www.microsoft.com/downloads/en/de...3DC8C33A20
(02-19-2011, 01:34 PM)netcap Wrote: [ -> ]I guess you are a professinal programmer~~
Just the Windows equivalent of these guys.Smile
Quote:precompiled header file is from a previous version of the compiler
Right click SPU-X,properties,C/C++,precompiled headers, change to create or not using.
(02-20-2011, 09:47 AM)DaMan Wrote: [ -> ]Right click SPU-X,properties,C/C++,precompiled headers, change to create or not using.
That gave me this
Code:
3>SndOut_DSound.cpp(18): fatal error C1083: Cannot open include file: 'Global.h': No such file or directory
3>  SndOut_waveOut.cpp
3>SndOut_waveOut.cpp(18): fatal error C1083: Cannot open include file: 'Global.h': No such file or directory
3>  SndOut_XAudio2.cpp
3>SndOut_XAudio2.cpp(18): fatal error C1083: Cannot open include file: 'Global.h': No such file or directory
and when I tried Create it gave this
Code:
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\spu2replay.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>spu2replay.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\wavedump_wav.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>wavedump_wav.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\Timestretcher.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>Timestretcher.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\SndOut_DSound.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>SndOut_DSound.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\SndOut_waveOut.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>SndOut_waveOut.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\SndOut_XAudio2.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>SndOut_XAudio2.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\SndOut_Portaudio.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>SndOut_Portaudio.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegTable.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>RegTable.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\spu2freeze.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>spu2freeze.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\spu2sys.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>spu2sys.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\ADSR.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>ADSR.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\ReadInput.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>ReadInput.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\Reverb.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>Reverb.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\dsp.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>dsp.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\AboutBox.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>AboutBox.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\CfgHelpers.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>CfgHelpers.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\Config.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>Config.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\ConfigDebug.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>ConfigDebug.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\ConfigSoundtouch.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>ConfigSoundtouch.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RealtimeDebugger.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>RealtimeDebugger.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\UIHelpers.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>UIHelpers.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>LINK : warning C4727: PCH named d:\emulatory\pcsx2 svn\plugins\spu2-x\src\windows\win32\release\spu2-x.pch with same timestamp found in D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\PS2E-spu2.obj and D:\Emulatory\PCSX2 SVN\plugins\spu2-x\src\Windows\Win32\Release\RegLog.obj.  Using first PCH.
3>PS2E-spu2.obj : error LNK2005: ___@@_PchSym_@00@UvnfozglibUkxhcCLhemUkoftrmhUhkfCRcUhixUdrmwldhUdrmDCUivovzhvUivtoltOlyq@ already defined in RegLog.obj
3>     Creating library D:\Emulatory\PCSX2 SVN\bin\plugins\SPU2-X.lib and object D:\Emulatory\PCSX2 SVN\bin\plugins\SPU2-X.exp
3>D:\Emulatory\PCSX2 SVN\bin\plugins\SPU2-X.dll : fatal error LNK1169: one or more multiply defined symbols found

Also it looks like Gsdx and SPU2-X are still dependant on the atl and mfc from the platform 2003 SDK. The default ones are useless.
(02-19-2011, 08:58 PM)pcsx2fan Wrote: [ -> ]IIRC it no longer needs the Windows 2003 R2 Platform SDK(from where actually atlmfc files are effective).

Oops I remembered wrongly, Actually VC++ 2010 Express doesn't have and won't install atlmfc files.
In detail it doesn't install atlmfc folder into C:\Program Files\Microsoft Visual Studio 10.0\VC\
However you can copy a copy of atlmfc folder from VS2010 Professional installation to make a successful compilation, it is C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc

I tested in a newly installation of windows 7 x86 in VMware building GSdx and SPU2-X successfully, no Windows SDK but atlmfc folder I copied from VS2010 Professional installation.

Unfortunately I've no idea if it's license issue to herein distribute the atlmfc folder I copied from VS2010 Professional installation, it's no more than 30 MB after compressing by 7-zip though. Excl
Dammit. I should've figured it's some stupid limitation.
Well I got professional edition with 90 day trial and I just wanted to ask are ZeroGS and ZZOGL compilable on Windows? ZeroGS wants to include ddraw.lib which is no longer included in DX SDK from June 2010 and ZZOGL wants glext.h which isn't in Glew or CG.
Not that I care as they are unfinished anyway.
got error from the latest svn
tried redownload source, still error
using vs 2008 prof

Code:
Error    37    error LNK2001: unresolved external symbol ___xgetbv    GPUDrawScanlineCodeGenerator.obj    GSdx
Error    38    fatal error LNK1120: 1 unresolved externals    D:\dev\vb\pcsx2_src\bin\plugins\GSdx-SSE4.dll    GSdx
Error    39    error LNK2001: unresolved external symbol ___xgetbv    x86emitter.lib    pcsx2
Error    40    fatal error LNK1120: 1 unresolved externals    D:\dev\vb\pcsx2_src\bin\pcsx2.exe    1    pcsx2

*bump*
Answer was just a few posts before yours, update your VS2008 to SP1.
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 26 27 28 29 30 31 32 33 34 35 36