..:: PCSX2 Forums ::..

Full Version: Compile Guide
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
no it's correct
well i have it set for both include and lib files and still i get the
1>LINK : fatal error LNK1104: cannot open file 'dsound.lib' every time it may be because i have 64 bit or i installed the wrong DirectX im not sure which
ok here's the link to the DX SDK then.
http://www.microsoft.com/downloads/info....yLang%3den
thats the exact one i downloaded from the forum but maybe if i reinstall it it may work
Make you have correct directory settings for library files. For example : $(DXSDK_DIR)lib\x86 instead of just $(DXSDK_DIR)lib.
I am trying to build the debug-version and it builds, but every time when I start a game I'm getting some errormessages and the emulator crashes to desktop. Sad Why does it do that?
So, everything was working fine and then when I update PCSX2 to a newer revision and try to recompile here's what I get Smile
Code:
1>------ Rebuild All started: Project: pcsx2, Configuration: Release Win32 ------
1>Deleting intermediate and output files for project 'pcsx2', configuration 'Release|Win32'
1>Performing Pre-Build Event...
1>SubWCRev 1.5.7, Build 15182 - 64 Bit
1>Usage: SubWCRev WorkingCopyPath [SrcVersionFile DstVersionFile] [-nmdf]
1>Params:
1>WorkingCopyPath    :   path to a Subversion working copy.
1>SrcVersionFile     :   path to a template file containing keywords.
1>DstVersionFile     :   path to save the resulting parsed file.
1>-n                 :   if given, then SubWCRev will error if the working
1>                       copy contains local modifications.
1>-m                 :   if given, then SubWCRev will error if the working
1>                       copy contains mixed revisions.
1>-d                 :   if given, then SubWCRev will only do its job if
1>                       DstVersionFile does not exist.
1>-f                 :   if given, then SubWCRev will include the
1>                       last-committed revision of folders. Default is
1>                       to use only files to get the revision numbers.
1>                       this only affects $WCREV$ and $WCDATE$.
1>-e                 :   if given, also include dirs which are included
1>                       with svn:externals, but only if they're from the
1>                       same repository.
1>-x                 :   if given, then SubWCRev will write the revisions
1>                       numbers in HEX instead of decimal
1>-X                 :   if given, then SubWCRev will write the revisions
1>                       numbers in HEX with '0x' before them
1>Switches must be given in a single argument, e.g. '-nm' not '-n -m'.
1>SubWCRev reads the Subversion status of all files in a working copy
1>excluding externals. If SrcVersionFile is specified, it is scanned
1>for special placeholders of the form "$WCxxx$".
1>SrcVersionFile is then copied to DstVersionFile but the placeholders
1>are replaced with information about the working copy as follows:
1>$WCREV$      Highest committed revision number
1>$WCDATE$     Date of highest committed revision
1>$WCDATE=$    Like $WCDATE$ with an added strftime format after the =
1>$WCRANGE$    Update revision range
1>$WCURL$      Repository URL of the working copy
1>$WCNOW$      Current system date & time
1>$WCNOW=$     Like $WCNOW$ with an added strftime format after the =
1>Placeholders of the form "$WCxxx?TrueText:FalseText$" are replaced with
1>TrueText if the tested condition is true, and FalseText if false.
1>$WCMODS$     True if local modifications found
1>$WCMIXED$    True if mixed update revisions found
1>The strftime format strings for $WCDATE=$ & $WCNOW=$ must not be longer
1>than 64 characters, and must not produce output greater than 128 characters.
1>\PCSX2\pcsx2\windows\VCprojects\vsprops\svnrev_unknown.h was unexpected at this time.
1>Project : error PRJ0002 : Error result 255 returned from 'C:\Windows\System32\cmd.exe'.

Nothing changed as far as configurations as far as I can see; I'm sure something did though. I'm afraid I need your expertise again :\ thanks in advance!

PS. Happens for each and every project regardless of what I chose :\. Quite annoying really. I've tried to uninstall / reinstall and that's changed nothing either.
(02-19-2009, 01:23 AM)kf0916 Wrote: [ -> ]Can someone tell me what is wrong with this warning message. Thanks.
I got this message but all the dll and exe seems work fine...

Warning 1 Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release cl ZeroPAD
Warning 2 warning C4244: 'argument' : conversion from 'LPARAM' to 'LONG', possible loss of data c:\2\plugins\zeropad\Windows\win.cpp 140 ZeroPAD
Warning 3 warning C4312: 'type cast' : conversion from 'long' to 'HWND' of greater size c:\2\plugins\zeropad\Windows\win.cpp 143 ZeroPAD
...
Warning 40 warning C4244: '=' : conversion from 'unsigned long' to 'BYTE', possible loss of data c:\2\plugins\GSdx\GSLocalMemory.cpp 1514 GSdx
Warning 41 warning C4706: assignment within conditional expression c:\2\plugins\gsdx\baseclasses\wxutil.cpp 420 GSdx
Warning 42 warning C4706: assignment within conditional expression c:\2\plugins\gsdx\baseclasses\schedule.cpp 120 GSdx

There's nothing really wrong with the warnings, it will run fine. The compiler is just complaining about how data is being cast from one data type to another. Depending how the data is used, this probably shouldn't affect much, otherwise the dev's probably would have conformed to the warnings. Tongue2
This is really starting to annoy me; I'm following the instructions perfectly step-by-step and I get the same bloody messages everytime! "error PRJ0019: A tool returned an error code from 'Performing Post-Build Event' " WTH?

Update 10:00AM (MST) Uh, so, I guess all I had to do is make a folder called "d:/pcsx2" at the root of the HDD. Crap! Now, how can compile the new SPU-X plugin?
(02-20-2009, 04:35 AM)darkt123 Wrote: [ -> ]So, everything was working fine and then when I update PCSX2 to a newer revision and try to recompile here's what I get Smile
Code:
1>------ Rebuild All started: Project: pcsx2, Configuration: Release Win32 ------
1>Deleting intermediate and output files for project 'pcsx2', configuration 'Release|Win32'
1>Performing Pre-Build Event...
1>SubWCRev 1.5.7, Build 15182 - 64 Bit
1>Usage: SubWCRev WorkingCopyPath [SrcVersionFile DstVersionFile] [-nmdf]
1>Params:
1>WorkingCopyPath    :   path to a Subversion working copy.
1>SrcVersionFile     :   path to a template file containing keywords.
1>DstVersionFile     :   path to save the resulting parsed file.
1>-n                 :   if given, then SubWCRev will error if the working
1>                       copy contains local modifications.
1>-m                 :   if given, then SubWCRev will error if the working
1>                       copy contains mixed revisions.
1>-d                 :   if given, then SubWCRev will only do its job if
1>                       DstVersionFile does not exist.
1>-f                 :   if given, then SubWCRev will include the
1>                       last-committed revision of folders. Default is
1>                       to use only files to get the revision numbers.
1>                       this only affects $WCREV$ and $WCDATE$.
1>-e                 :   if given, also include dirs which are included
1>                       with svn:externals, but only if they're from the
1>                       same repository.
1>-x                 :   if given, then SubWCRev will write the revisions
1>                       numbers in HEX instead of decimal
1>-X                 :   if given, then SubWCRev will write the revisions
1>                       numbers in HEX with '0x' before them
1>Switches must be given in a single argument, e.g. '-nm' not '-n -m'.
1>SubWCRev reads the Subversion status of all files in a working copy
1>excluding externals. If SrcVersionFile is specified, it is scanned
1>for special placeholders of the form "$WCxxx$".
1>SrcVersionFile is then copied to DstVersionFile but the placeholders
1>are replaced with information about the working copy as follows:
1>$WCREV$      Highest committed revision number
1>$WCDATE$     Date of highest committed revision
1>$WCDATE=$    Like $WCDATE$ with an added strftime format after the =
1>$WCRANGE$    Update revision range
1>$WCURL$      Repository URL of the working copy
1>$WCNOW$      Current system date & time
1>$WCNOW=$     Like $WCNOW$ with an added strftime format after the =
1>Placeholders of the form "$WCxxx?TrueText:FalseText$" are replaced with
1>TrueText if the tested condition is true, and FalseText if false.
1>$WCMODS$     True if local modifications found
1>$WCMIXED$    True if mixed update revisions found
1>The strftime format strings for $WCDATE=$ & $WCNOW=$ must not be longer
1>than 64 characters, and must not produce output greater than 128 characters.
1>\PCSX2\pcsx2\windows\VCprojects\vsprops\svnrev_unknown.h was unexpected at this time.
1>Project : error PRJ0002 : Error result 255 returned from 'C:\Windows\System32\cmd.exe'.

Nothing changed as far as configurations as far as I can see; I'm sure something did though. I'm afraid I need your expertise again :\ thanks in advance!

PS. Happens for each and every project regardless of what I chose :\. Quite annoying really. I've tried to uninstall / reinstall and that's changed nothing either.

Well i got the same problem, do you have your \PCSX2 root compilation directory in a directory that contains some spaces ? e.g "Program files" or else ?
If yes, make another one in a root partition directory e.g "C:\PCSX2" or with a path without spaces, download the project again and try to recompile it. I also had this problem with cmd.exe command, and it seems it doesn't like paths with spaces Tongue Since then, no more problems for me. Hope it will help you Happy