(08-25-2009, 03:57 AM)azethoth Wrote: [ -> ]Hi i am trying to compile the lates svn and at the end it says build failed 24 errors.
i am using visual studio team suite edition. \
i dropped down the menu to release/sse2 than whent to the build menu and selected build solution as the guide indicated.
these are the errors i get and i also do not get an output of the pcsx2.exe in the /bin folder. i assume a lot of these erros are due to a missing plug ins directory but i cant seem to find a place to grab the source. this is my first atempt at this as the guide seemd pretty straightforward so forgive my noobishness. anyhelp would be appreciated.
Error 18 Error spawning 'rc.exe'. Project CDVDiso
Error 5 Error spawning 'mt.exe'. Project CDVDnull
Error 7 Error spawning 'rc.exe'. Project CDVDolio
Error 2 Error spawning 'mt.exe'. Project DEV9null
Warning 3 warning C4065: switch statement contains 'default' but no 'case' labels e:\pcsx - Copy\pcsx2\plugins\FWnull\FW.cpp 136 FWnull
Error 4 Error spawning 'rc.exe'. Project FWnull
Error 13 fatal error C1083: Cannot open include file: 'd3d11.h': No such file or directory e:\pcsx - copy\pcsx2\plugins\gsdx\stdafx.h 117 GSdx
Error 11 fatal error C1083: Cannot open include file: 'dinput.h': No such file or directory e:\pcsx - Copy\pcsx2\plugins\LilyPad\DirectInput.cpp 6 LilyPad
Error 29 Error spawning 'rc.exe'. Project pcsx2
Error 27 fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory e:\pcsx - Copy\pcsx2\plugins\spu2-x\src\Windows\SndOut_DSound.cpp 22 SPU2-X
Error 28 fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory e:\pcsx - Copy\pcsx2\plugins\spu2-x\src\Windows\SndOut_XAudio2.cpp 21 SPU2-X
Error 12 Error spawning 'rc.exe'. Project USBnull
Error 1 Error spawning 'mt.exe'. Project w32pthreads
Error 9 error C3861: 'XInputEnable': identifier not found e:\pcsx - Copy\pcsx2\plugins\xpad\xpad.cpp 646 xpad
Error 10 error C3861: 'XInputEnable': identifier not found e:\pcsx - Copy\pcsx2\plugins\xpad\xpad.cpp 674 xpad
Error 19 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\pcsx - Copy\pcsx2\plugins\zerogs\dx\Windows\Conf.cpp 2 ZeroGS
Error 20 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\pcsx - Copy\pcsx2\plugins\zerogs\dx\GSmain.cpp 19 ZeroGS
Error 21 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\pcsx - Copy\pcsx2\plugins\zerogs\dx\Mem.cpp 19 ZeroGS
Error 22 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\pcsx - Copy\pcsx2\plugins\zerogs\dx\Regs.cpp 20 ZeroGS
Error 23 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\pcsx - Copy\pcsx2\plugins\zerogs\dx\targets.cpp 20 ZeroGS
Error 24 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\pcsx - Copy\pcsx2\plugins\zerogs\dx\Windows\Win32.cpp 2 ZeroGS
Error 25 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\pcsx - Copy\pcsx2\plugins\zerogs\dx\x86.cpp 22 ZeroGS
Error 26 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\pcsx - Copy\pcsx2\plugins\zerogs\dx\zerogs.cpp 20 ZeroGS
Error 6 Error spawning 'rc.exe'. Project ZeroPAD
Error 8 fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory e:\pcsx - Copy\pcsx2\plugins\zerospu2\Windows\dsound51.cpp 25 ZeroSPU2
rc.exe is something that windows sdk has, dx lib is directx sdk.
youre using team edition, sure you'll love to burn money
Managed to build the new SVN (first time yey). Everything went fine except one error on gsdx, and I cant find any reference to this error on the forum. So here goes:
Code:
e:\pcsx2 svn\plugins\gsdx\stdafx.h(41) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
How do i fix that?
(08-25-2009, 09:13 PM)Ferocious Wrote: [ -> ]Managed to build the new SVN (first time yey). Everything went fine except one error on gsdx, and I cant find any reference to this error on the forum. So here goes:
Code:
e:\pcsx2 svn\plugins\gsdx\stdafx.h(41) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
How do i fix that?
atlbase.h is a part of the Windows SDK. Are you sure you have all the required stuff installed?
This isn't a problem directly related to PCSX2, but your build enviroment as a whole. Google around, searching for "atlbase.h" gets 18,000 hits.
Thanks for the help.
edit* damn thats a big download lol
Got pcsx2 compiling properly with no problem but I'm getting the following during the gsdx compile:
Code:
Error 30 error LNK2001: unresolved external symbol _cgGetLastErrorString GSDeviceOGL.obj GSdx
Error 31 error LNK2001: unresolved external symbol _cgGetLastListing GSDeviceOGL.obj GSdx
Error 32 error LNK2001: unresolved external symbol _cgDestroyContext GSDeviceOGL.obj GSdx
Error 33 error LNK2001: unresolved external symbol _cgGetErrorString GSDeviceOGL.obj GSdx
Error 34 error LNK2001: unresolved external symbol _cgSetErrorHandler GSDeviceOGL.obj GSdx
Error 35 error LNK2001: unresolved external symbol _cgCreateContext GSDeviceOGL.obj GSdx
Error 36 error LNK2001: unresolved external symbol _cgSetParameterSettingMode GSDeviceOGL.obj GSdx
Error 37 fatal error LNK1120: 7 unresolved externals F:\Development\PCSX2\\bin\plugins\GSdx-SSE4.dll GSdx
Any ideas? I should have all of the pre-reqs, DX SDK, GLEW, etc. properly installed...
(08-28-2009, 11:17 PM)Air Wrote: [ -> ]You missed one:
nVidia Cg Toolkit
Thanks Air! I had it installed, but it wasn't properly added to the paths as it needed to be... Got that taken care of and it fixed right up.
i become this errors
Code:
Fehler 2 error C3861: "XInputEnable": Bezeichner wurde nicht gefunden. c:\Users\Norman\Desktop\PCSX SVN\plugins\xpad\xpad.cpp 646 xpad
Fehler 3 error C3861: "XInputEnable": Bezeichner wurde nicht gefunden. c:\Users\Norman\Desktop\PCSX SVN\plugins\xpad\xpad.cpp 674 xpad
Fehler 4 fatal error LNK1181: Eingabedatei "d3dx10.lib" kann nicht geöffnet werden. CDVDolio CDVDolio
Fehler 5 fatal error C1083: Datei (Include) kann nicht geöffnet werden: "d3dx9.h": No such file or directory c:\Users\Norman\Desktop\PCSX SVN\plugins\zerogs\dx\Windows\Conf.cpp 2 ZeroGS
Fehler 6 fatal error C1083: Datei (Include) kann nicht geöffnet werden: "d3dx9.h": No such file or directory c:\Users\Norman\Desktop\PCSX SVN\plugins\zerogs\dx\GSmain.cpp 19 ZeroGS
Fehler 7 fatal error C1083: Datei (Include) kann nicht geöffnet werden: "d3dx9.h": No such file or directory c:\Users\Norman\Desktop\PCSX SVN\plugins\zerogs\dx\Mem.cpp 19 ZeroGS
Fehler 8 fatal error C1083: Datei (Include) kann nicht geöffnet werden: "d3dx11.h": No such file or directory c:\users\norman\desktop\pcsx svn\plugins\gsdx\stdafx.h 118 GSdx
Fehler 9 fatal error C1083: Datei (Include) kann nicht geöffnet werden: "d3dx9.h": No such file or directory c:\Users\Norman\Desktop\PCSX SVN\plugins\zerogs\dx\Regs.cpp 20 ZeroGS
Fehler 10 fatal error C1083: Datei (Include) kann nicht geöffnet werden: "d3dx9.h": No such file or directory c:\Users\Norman\Desktop\PCSX SVN\plugins\zerogs\dx\targets.cpp 20 ZeroGS
Fehler 11 fatal error C1083: Datei (Include) kann nicht geöffnet werden: "d3dx9.h": No such file or directory c:\Users\Norman\Desktop\PCSX SVN\plugins\zerogs\dx\Windows\Win32.cpp 2 ZeroGS
Fehler 16 fatal error C1083: Datei (Include) kann nicht geöffnet werden: "d3dx9.h": No such file or directory c:\Users\Norman\Desktop\PCSX SVN\plugins\zerogs\dx\x86.cpp 22 ZeroGS
Fehler 17 fatal error C1083: Datei (Include) kann nicht geöffnet werden: "d3dx9.h": No such file or directory c:\Users\Norman\Desktop\PCSX SVN\plugins\zerogs\dx\zerogs.cpp 20 ZeroGS
Fehler 18 fatal error LNK1181: Eingabedatei "dxguid.lib" kann nicht geöffnet werden. LilyPad LilyPad
Fehler 19 fatal error C1083: Datei (Include) kann nicht geöffnet werden: "xaudio2.h": No such file or directory c:\Users\Norman\Desktop\PCSX SVN\plugins\spu2-x\src\Windows\SndOut_XAudio2.cpp 21 SPU2-X
must i install directx sdk ?
i become the same errors with installed sdk from Mar09
now i have
this
Code:
Warnung 1 warning C4065: switch-Anweisung enthält 'default', aber keine case-Marken c:\Users\Norman\Desktop\PCSX SVN\plugins\FWnull\FW.cpp 136 FWnull
Fehler 2 fatal error LNK1181: Eingabedatei "d3dx10.lib" kann nicht geöffnet werden. CDVDolio CDVDolio
Fehler 3 fatal error C1083: Datei (Include) kann nicht geöffnet werden: "GL/glew.h": No such file or directory c:\users\norman\desktop\pcsx svn\plugins\gsdx\stdafx.h 134 GSdx
Fehler 4 fatal error LNK1181: Eingabedatei "d3dx10.lib" kann nicht geöffnet werden. xpad xpad
Fehler 5 fatal error LNK1181: Eingabedatei "dxguid.lib" kann nicht geöffnet werden. LilyPad LilyPad
Warnung 6 warning C4244: '=': Konvertierung von 'u64' in 'int', möglicher Datenverlust c:\Users\Norman\Desktop\PCSX SVN\plugins\CDVDiso\src\libiso.cpp 266 CDVDiso
Warnung 7 warning C4244: '=': Konvertierung von 'u64' in 'int', möglicher Datenverlust c:\Users\Norman\Desktop\PCSX SVN\plugins\CDVDiso\src\libiso.cpp 300 CDVDiso
Warnung 8 warning C4244: '=': Konvertierung von 'u64' in 'int', möglicher Datenverlust c:\Users\Norman\Desktop\PCSX SVN\plugins\CDVDiso\src\libiso.cpp 351 CDVDiso
Warnung 9 warning C4244: '=': Konvertierung von 'u64' in 'int', möglicher Datenverlust c:\Users\Norman\Desktop\PCSX SVN\plugins\CDVDiso\src\libiso.cpp 389 CDVDiso
Warnung 10 warning C4244: '=': Konvertierung von 'unsigned long' in 'u8', möglicher Datenverlust c:\Users\Norman\Desktop\PCSX SVN\plugins\zerogs\dx\Windows\Conf.cpp 73 ZeroGS
Fehler 11 fatal error LNK1181: Eingabedatei "ddraw.lib" kann nicht geöffnet werden. ZeroGS ZeroGS
Those warnings are normal, at least in the sense that such errors appear sometimes between SVN versions until someone goes back and cleans up the code a bit.
The fatal errors are from not defining the DirectX SDK Library folders in the options for VS. You have to add a folder for that besides the headers folder.
You do not need directX to compile PCSX2 binaries, you only need it for compiling the plugins.