Thread Rating:
  • 17 Vote(s) - 3.71 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile Guide
(09-07-2009, 09:30 PM)Air Wrote: You can also use NTFS compression on your entire SVN checkout folder. It's very effective, and in my experience doesn't affect compilation speed much. It reduces my 900-meg folder to roughly 380-430megs.

Ok I'll try but I don't know why I have some memories about the files are not been compressed after update and I have to compress them again(I think I tried this ones but it was long time ago and I don't remember the result very well)
Reply

Sponsored links

You need to make sure to select the topmost folder where the trunk of your repository is checked out, and apply the NTFS settings recursively when it asks. That'll ensure the NTFS compress option is set on the parent folders, and that any new files created by the build system will also get compressed.
Jake Stine (Air) - Programmer - PCSX2 Dev Team
Reply
Unable to build SVN 1782 with Legacy GUI when Using Intel C++ 11.1.038, built only the pcsx2 project, with default compiler settings.

Code:
4>Mpeg.cpp
4>Compiling with Intel(R) C++ 11.1.038 [IA-32]... (Intel C++ Environment)
4>tinyxml.cpp
4>tinystr.cpp
4>tinyxmlerror.cpp
4>tinyxmlparser.cpp
4>Compiling with Intel(R) C++ 11.1.038 [IA-32]... (Intel C++ Environment)
4>cheats.cpp
4>Warning #673: the initial sequence of preprocessing directives is not compatible with those of precompiled header file "Win32\Release\win32.pchi"
4>
4>browser.cpp
4>Warning #673: the initial sequence of preprocessing directives is not compatible with those of precompiled header file "Win32\Release\win32.pchi"
4>
4>Compiling with Intel(R) C++ 11.1.038 [IA-32]... (Intel C++ Environment)
4>WinMisc.cpp
4>Compiling with Intel(R) C++ 11.1.038 [IA-32]... (Intel C++ Environment)
4>SamplProf.cpp
4>CpuDlg.cpp
4>R:\PCSX2_SVN_Legacy_GUI_1782\pcsx2\Vif.h(193): warning #1011: missing return statement at end of non-void function "getVifRowRegs"
4>  }
4>  ^
4>
4>R:\PCSX2_SVN_Legacy_GUI_1782\pcsx2\Vif.h(234): warning #1011: missing return statement at end of non-void function "getVifColRegs"
4>  }
4>  ^
4>
4>R:\PCSX2_SVN_Legacy_GUI_1782\pcsx2\x86\ix86\ix86_inlines.inl(138): warning #2261: __assume expression with side effects discarded
4>                  jASSUME( Index.IsEmpty() );        // or die if we already have an index!
4>                  ^
4>
4>RDebugger.cpp
4>PatchBrowser.cpp
4>AboutDlg.cpp
4>ini.cpp
4>Debugreg.cpp
4>R:\PCSX2_SVN_Legacy_GUI_1782\pcsx2\Vif.h(193): warning #1011: missing return statement at end of non-void function "getVifRowRegs"
4>  }
4>  ^
4>
4>R:\PCSX2_SVN_Legacy_GUI_1782\pcsx2\Vif.h(234): warning #1011: missing return statement at end of non-void function "getVifColRegs"
4>  }
4>  ^
4>
4>Hyperlinks.cpp
4>HacksDlg.cpp
4>WinMain.cpp
4>Warning #673: the initial sequence of preprocessing directives is not compatible with those of precompiled header file "Win32\Release\win32.pchi"
4>
4>Debugger.cpp
4>McdConfigDlg.cpp
4>ConfigDlg.cpp
4>AdvancedDlg.cpp
4>R:\PCSX2_SVN_Legacy_GUI_1782\pcsx2\x86\ix86\ix86_inlines.inl(138): warning #2261: __assume expression with side effects discarded
4>                  jASSUME( Index.IsEmpty() );        // or die if we already have an index!
4>                  ^
4>
4>WinCompressNTFS.cpp
4>WinConsole.cpp
4>DebugMemory.cpp
4>WinThreads.cpp
4>R:\PCSX2_SVN_Legacy_GUI_1782\pcsx2\x86\ix86\ix86_inlines.inl(138): warning #2261: __assume expression with side effects discarded
4>                  jASSUME( Index.IsEmpty() );        // or die if we already have an index!
4>                  ^
4>
4>WinSysExec.cpp
4>R:\PCSX2_SVN_Legacy_GUI_1782\pcsx2\Vif.h(193): warning #1011: missing return statement at end of non-void function "getVifRowRegs"
4>  }
4>  ^
4>
4>R:\PCSX2_SVN_Legacy_GUI_1782\pcsx2\Vif.h(234): warning #1011: missing return statement at end of non-void function "getVifColRegs"
4>  }
4>  ^
4>
4>R:\PCSX2_SVN_Legacy_GUI_1782\pcsx2\x86\ix86/ix86_inlines.inl(138): warning #2261: __assume expression with side effects discarded
4>                  jASSUME( Index.IsEmpty() );        // or die if we already have an index!
4>                  ^
4>
4>Build log was saved at "file://R:\PCSX2_SVN_Legacy_GUI_1782\pcsx2\windows\VCprojects\Win32\Release\BuildLog.htm"
4>pcsx2 - 1 error(s), 207 warning(s)
========== Build: 3 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
durable PC since 2008
CPU : E7200 @ 2.53 GHz 1.04 V / OC 3.7 GHz 1.36 V (390*9.5, 4GB DDR2 780)
GPU : 8600GT (GDDR3, 256 MB) / OC (750 / 900)
BOARD : GA-EP31-DS3L (rev 1.0) broken and bought a second hand one replaced
PSU : 300 W
OS : Windows 7 Home Basic x86
Reply
There are no errors listed in the excerpt of log you pasted. There are only warnings. I need the error to know what needs to be fixed, and whatever error it is, it occurred earlier in the compile log.
Jake Stine (Air) - Programmer - PCSX2 Dev Team
Reply
Attach links to IC Update Log and Build Log automatically saved in HTML during compilation.
durable PC since 2008
CPU : E7200 @ 2.53 GHz 1.04 V / OC 3.7 GHz 1.36 V (390*9.5, 4GB DDR2 780)
GPU : 8600GT (GDDR3, 256 MB) / OC (750 / 900)
BOARD : GA-EP31-DS3L (rev 1.0) broken and bought a second hand one replaced
PSU : 300 W
OS : Windows 7 Home Basic x86
Reply
Code:
------ Build started: Project: wxCore28, Configuration: Release Win32 ------
Compiling...
dummy.cpp
Compiling...
anidecod.cpp
appcmn.cpp
artprov.cpp
artstd.cpp
bmpbase.cpp
bookctrl.cpp
choiccmn.cpp
clipcmn.cpp
clrpickercmn.cpp
cmdproc.cpp
cmndata.cpp
colourcmn.cpp
combocmn.cpp
containr.cpp
cshelp.cpp
ctrlcmn.cpp
ctrlsub.cpp
datacmn.cpp
dcbase.cpp
dcbufcmn.cpp
Compiling...
dcgraph.cpp
dlgcmn.cpp
dndcmn.cpp
dobjcmn.cpp
docmdi.cpp
docview.cpp
dpycmn.cpp
dseldlg.cpp
effects.cpp
event.cpp
evtloopcmn.cpp
fddlgcmn.cpp
filepickercmn.cpp
fldlgcmn.cpp
fontcmn.cpp
fontenumcmn.cpp
fontmap.cpp
fontpickercmn.cpp
framecmn.cpp
fs_mem.cpp
Compiling...
gaugecmn.cpp
gbsizer.cpp
gdicmn.cpp
geometry.cpp
gifdecod.cpp
graphcmn.cpp
helpbase.cpp
iconbndl.cpp
imagall.cpp
imagbmp.cpp
image.cpp
imagfill.cpp
imaggif.cpp
imagiff.cpp
imagjpeg.cpp
..\..\src\common\imagjpeg.cpp(45) : fatal error C1083: Cannot open include file: 'jpeglib.h': No such file or directory

Whats going on here....
Reply
I can't reproduce that error. Make sure you've done a full Rebuild, and if the error persists, try a clean checkout from SVN. One of those two should fix it, because the file is very clearly where it should be. Smile
Jake Stine (Air) - Programmer - PCSX2 Dev Team
Reply
Compiled Revision 1800 for both New and Legacy GUI by Intel C++, I saw on Google Code you have it fixed, but still got errors after give it a shot. Meantime pcsx2-r1616 can be compiled successfully by Intel C++.

Suppose this time the short log is sufficient.

New GUI
Quote:1>------ Build started: Project: pcsx2, Configuration: Release Win32 ------
1>Performing Pre-Build Event... (Microsoft VC++ Environment)
1>SubWCRev: 'R:\PCSX2_SVN_NEW_GUI\pcsx2'
1>Last committed at revision 1800
1>Updated to revision 1800
1>Compiling with Intel® C++ 11.1.038 [IA-32]... (Intel C++ Environment)
1>CDVDaccess.cpp
1>R:\PCSX2_SVN_NEW_GUI\pcsx2\windows\VCprojects\\..\..\..\common\include\Utilities/Threading.h(267): warning #2261: __assume expression with side effects discarded
1> jASSUME( m_running );
1> ^
1>
1>..\..\CDVD\CDVDaccess.cpp(530): error: a value of type "void (__stdcall *)(void (*)())" cannot be used to initialize an entity of type "_CDVDnewDiskCB"
1> NODISCnewDiskCB,
1> ^
1>
1>compilation aborted for ..\..\CDVD\CDVDaccess.cpp (code 2)
1>Build log was saved at "file://R:\PCSX2_SVN_NEW_GUI\pcsx2\windows\VCprojects\Win32\Release\BuildLog.htm"
1>pcsx2 - 1 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 10 up-to-date, 0 skipped ==========


Legacy GUI
Quote:1>------ Build started: Project: pcsx2, Configuration: Release Win32 ------
1>Performing Pre-Build Event... (Microsoft VC++ Environment)
1>SubWCRev: 'R:\PCSX2_SVN_Legacy_GUI\pcsx2'
1>Last committed at revision 1736
1>Updated to revision 1800
1>Compiling with Intel® C++ 11.1.038 [IA-32]... (Intel C++ Environment)
1>CDVDisoReader.cpp
1>..\..\CDVD\CDVDisoReader.cpp(423): error: a value of type "void (__stdcall *)(void (__stdcall *)())" cannot be used to initialize an entity of type "_CDVDnewDiskCB"
1> ISOnewDiskCB,
1> ^
1>
1>compilation aborted for ..\..\CDVD\CDVDisoReader.cpp (code 2)
1>Build log was saved at "file://R:\PCSX2_SVN_Legacy_GUI\pcsx2\windows\VCprojects\Win32\Release\BuildLog.htm"
1>pcsx2 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 3 up-to-date, 0 skipped ==========
Still that error of CDVDisoReader.cpp(423), the error differs from that one in New GUI was CDVDaccess.cpp(530). Cause me thinking the SVN of Legacy GUI haven't got corresponding updated yet.
durable PC since 2008
CPU : E7200 @ 2.53 GHz 1.04 V / OC 3.7 GHz 1.36 V (390*9.5, 4GB DDR2 780)
GPU : 8600GT (GDDR3, 256 MB) / OC (750 / 900)
BOARD : GA-EP31-DS3L (rev 1.0) broken and bought a second hand one replaced
PSU : 300 W
OS : Windows 7 Home Basic x86
Reply
Tried rev 1800, played Star Ocean 3 with no problems at all and pretty much the same speed as last beta that was released. I hope frame limiter gets implemented soon, because this new PCSX2 is going places....and fast.
Reply
For linux users: compilation from r1799 is not very hard, but you need to made some steps:

1) Obtain CodeBlocks -- http://www.codeblocks.org/downloads/ debian and ubunty users should simply dpkg -i several deb files.
2) Obtain wxWidgets 2.8.8 or higher. It's very bad, than Debian have 2.8.7 as last supported, even on Sid. Follow this guide http://wiki.wxpython.org/InstallingOnUbuntuOrDebian
3) Add CodeBlocks worspace file from pcsx2 root.
4) Compile bin2cpp first -- it would be needed on next step
5) Run sh rebuild.sh -- it generate needed headers from icons
6) And now you could build whole project.
Reply




Users browsing this thread: 1 Guest(s)