..:: PCSX2 Forums ::..

Full Version: Compile Guide
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(03-16-2009, 02:07 PM)vsub Wrote: [ -> ]Does some of those deppends on bzip2?
GSdx,ZeroSPU2,LilyPad,SPU-X,pcsx2

Also I get some errors messages when I'm compiling GSdx but GSdx is compiling succesfully

error messages or warning messages ? Smile if its warning , you should get around 33 warning if you compile the suite , just ignore
then you get warning and no errors^^ if you'd get errors it wouldn't compile correct

can someone helpo me I try to use PGO for pcsx2 but somehow i can't succeed
I build an instrument no problem there
I run the Instrument but after the run I have no pcsx2!1.pgc like i should have... I have a pcsx2.pgd file n everything
if I try to optimize it too says the pgc file is missing so nothing has been merged into the code

tried several revs and I deleted the solution and intellisense files too to check but that did not help
Akaruz Wrote:error messages or warning messages ? Smile if its warning , you should get around 33 warning if you compile the suite , just ignore

Only warnings and they are 15.I'm using the Express Edition of VC++ 2008

Code:
1>.\GSTextureCacheSW.cpp(302) : warning C4018: '>' : signed/unsigned mismatch
1>.\GSDrawScanline.cpp(119) : warning C4018: '<' : signed/unsigned mismatch
1>.\GSDrawScanline.cpp(120) : warning C4018: '<' : signed/unsigned mismatch
1>.\GSDrawScanline.cpp(145) : warning C4244: '=' : conversion from 'UINT64' to 'unsigned short', possible loss of data
1>.\GSDrawScanline.cpp(146) : warning C4018: '<' : signed/unsigned mismatch
1>.\GSState.cpp(1057) : warning C4018: '<' : signed/unsigned mismatch
1>.\GSState.cpp(1083) : warning C4018: '>=' : signed/unsigned mismatch
1>.\GSState.cpp(1100) : warning C4018: '>' : signed/unsigned mismatch
1>.\GSState.cpp(1107) : warning C4018: '<' : signed/unsigned mismatch
1>.\GSLocalMemory.cpp(1429) : warning C4244: '=' : conversion from 'DWORD' to 'WORD', possible loss of data
1>.\GSLocalMemory.cpp(1446) : warning C4244: '=' : conversion from 'DWORD' to 'BYTE', possible loss of data
1>.\GSLocalMemory.cpp(1463) : warning C4244: '=' : conversion from 'unsigned long' to 'BYTE', possible loss of data
1>.\GSLocalMemory.cpp(1480) : warning C4244: '=' : conversion from 'DWORD' to 'BYTE', possible loss of data
1>.\GSLocalMemory.cpp(1497) : warning C4244: '=' : conversion from 'unsigned long' to 'BYTE', possible loss of data
1>.\GSLocalMemory.cpp(1514) : warning C4244: '=' : conversion from 'unsigned long' to 'BYTE', possible loss of data
@vsub : its normal ignore them , gsdx = 15 warnings , full suite = 33 warnings , its all working as intended Wink

btw on revision 797 , it seems lilypad managed to crash any savegame state ( old and new ) it seems its because it attempts to save pad2 even if you dont have any or you have it disabled on the plugin ( for what i recall on the previous version it would only save the pad1 not 1 and 2
Hi,I'm newbie.I tried compile r830 by using VS2008 pro,but I can't compile plugin.So when I built I get this error,

Error 1 fatal error LNK1181: cannot open input file 'd3dx10.lib' CDVDolio CDVDolio
Error 2 error C3861: 'XInputEnable': identifier not found e:\New Folder\plugins\xpad\xpad.cpp 618 xpad
Error 3 error C3861: 'XInputEnable': identifier not found e:\New Folder\plugins\xpad\xpad.cpp 646 xpad
Error 4 fatal error C1083: Cannot open include file: 'dinput.h': No such file or directory e:\New Folder\plugins\LilyPad\DirectInput.cpp 6 LilyPad
Error 5 fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory e:\New Folder\plugins\zerospu2\Windows\dsound51.cpp 25 ZeroSPU2
Error 6 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\new folder\plugins\gsdx\stdafx.h 44 GSdx
Error 7 fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory e:\New Folder\plugins\spu2-x\src\Windows\SndOut_DSound.cpp 26 SPU2-X
Error 8 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\New Folder\plugins\zerogs\dx\Windows\Conf.cpp 2 ZeroGS
Error 9 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\New Folder\plugins\zerogs\dx\GSmain.cpp 19 ZeroGS
Error 10 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\New Folder\plugins\zerogs\dx\Mem.cpp 19 ZeroGS
Error 11 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\New Folder\plugins\zerogs\dx\Regs.cpp 20 ZeroGS
Error 12 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\New Folder\plugins\zerogs\dx\targets.cpp 20 ZeroGS
Error 13 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\New Folder\plugins\zerogs\dx\Windows\Win32.cpp 2 ZeroGS
Error 14 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\New Folder\plugins\zerogs\dx\x86.cpp 22 ZeroGS
Error 15 fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory e:\New Folder\plugins\zerogs\dx\zerogs.cpp 20 ZeroGS
Error 16 fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory e:\New Folder\plugins\spu2-x\src\Windows\SndOut_XAudio2.cpp 25 SPU2-X

I was setup Direct SDK too Sad
you must set the path to the include, and lib folder in vs2008's options. Smile

EDIT: *link removed due to it being wrong Tongue*

EDIT2: woops wrong link, here's the right one
http://forums.pcsx2.net/thread-2373-post...l#pid22996
Sorry,I don't usualy use this soft Sad so,can you tell me how to set that, please Smile
Ah,I see your link,sorry i haven't seen that early.Sorry because spam.Thanks....
I was set the folder of include and lib.Now,my error decrease to 7.Can you tell me why ? Smile

Error 3 fatal error LNK1181: cannot open input file 'd3dx10.lib' CDVDolio CDVDolio
Error 4 fatal error LNK1181: cannot open input file 'd3dx10.lib' xpad xpad
Error 5 fatal error LNK1181: cannot open input file 'dsound.lib' ZeroSPU2 ZeroSPU2
Error 6 fatal error LNK1181: cannot open input file 'dinput8.lib' LilyPad LilyPad
Error 12 fatal error LNK1181: cannot open input file 'dsound.lib' SPU2-X SPU2-X
Error 19 fatal error LNK1181: cannot open input file 'ddraw.lib' ZeroGS ZeroGS
Error 30 fatal error LNK1181: cannot open input file 'd3dx10.lib' GSdx GSdx

OOP,sorry for 2 post ....

Hurray,I get it work now.Mistake here is I set wrong direct of lib .Thanks for help Smile
Just a quick question but I think I know the answer.
Is this normal...sometimes I have to rebuild pcsx2 because I get errors when I try to compile newer versions
It's common and normal to get errors like "could not open vc90.pdb" and junk, which are fixed by issuing a Rebuild or Clean/Build. It's a long-time bug in Visual Studio, since 2002 or something. It's not as bad as it used to be (in VS2002 I'd have to rebuild all constantly on my projects at the time), but it still tends to crop up when updating from svn and/or changing build targets and stuff.