Next Generation Emulation banner

Source Compilation error (Not CVS)

1450 Views 12 Replies 6 Participants Last post by  ChaosBlade
I downloaded a copy of the source from pcsx2's website and just out of curiosity decided to compile it, but I came up with the following error:
1>------ Build started: Project: pcsx2, Configuration: Release Win32 ------
1>Compiling...
1>Stats.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>zutil.c
1>uncompr.c
1>trees.c
1>inftrees.c
1>inflate.c
1>inffast.c
1>infback.c
1>gzio.c
1>..\..\zlib\gzio.c(131) : warning C4996: 'strcpy' was declared deprecated
1>..\..\zlib\gzio.c(181) : warning C4996: 'fopen' was declared deprecated
1> C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(235) : see declaration of 'fopen'
1>..\..\zlib\gzio.c(226) : warning C4996: 'sprintf' was declared deprecated
1> C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(317) : see declaration of 'sprintf'
1>..\..\zlib\gzio.c(623) : warning C4996: '_vsnprintf' was declared deprecated
1> C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(314) : see declaration of '_vsnprintf'
1>..\..\zlib\gzio.c(987) : warning C4996: 'strcpy' was declared deprecated
1>..\..\zlib\gzio.c(988) : warning C4996: 'strcat' was declared deprecated
1>..\..\zlib\gzio.c(989) : warning C4996: 'strcat' was declared deprecated
1>deflate.c
1>crc32.c
1>compress.c
1>adler32.c
1>iR5900Shift.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iR5900MultDiv.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iR5900Move.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iR5900LoadStore.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iR5900Jump.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iR5900Branch.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iR5900AritImm.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Generating Code...
1>Compiling...
1>iR5900Arit.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>ix86_sse.c
1>ix86_mmx.c
1>ix86_fpu.c
1>ix86_cpudetect.c
1>..\..\x86\ix86\ix86_cpudetect.c(21) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>ix86_3dnow.c
1>ix86.c
1>..\..\x86\ix86\ix86.c(189) : warning C4244: 'function' : conversion from 'u64' to 'u32', possible loss of data
1>..\..\x86\ix86\ix86.c(198) : warning C4244: 'function' : conversion from 'u64' to 'u32', possible loss of data
1>recCOP2.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iVUmicro.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iVU1micro.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iVU0micro.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iR5900.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iR3000A.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iMMI.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iFPU.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>iCP0.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>deci2_ttyp.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>deci2_netmp.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>deci2_iloadp.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>deci2_dcmp.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Generating Code...
1>Compiling...
1>deci2_dbgp.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>deci2.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>CDVDisodrv.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>CDVDiso.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>yuv2rgb.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Mpeg.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>IPU.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Idct.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Sio.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>R3000A.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>PsxSio2.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>PsxMem.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>PsxInterpreter.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>PsxHw.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>PsxGPU.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>PsxDma.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>PsxCounters.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>PsxBios.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Mdec.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Gte.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Generating Code...
1>Compiling...
1>Decode_XA.c
1>CDVD.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>CdRom.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Sif.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>VUops.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>VUflags.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>VU1micro.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>VU0micro.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>VU0.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Counters.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Patch.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\PS2Edefs.h(39) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Misc.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>DisVU1Micro.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>DisVU0Micro.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>DisR5900asm.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>DisR5900.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>DisR3000asm.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>DisR3000A.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>cpuopsDebug.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Plugins.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Generating Code...
1>Compiling...
1>GS.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Elfheader.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Debugreg.c
1>..\Debugreg.c(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>DebugMemory.c
1>../../Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Debugger.c
1>..\Debugger.c(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>SPR.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Hw.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>FiFo.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Memory.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>VifDma.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>R5900.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>MMI.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>InterTables.c
1>Interpreter.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>FPU.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>COP0.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Cache.c
1>d:\pcsx2-0.8.1src\pcsx2-0.8.1src\Common.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>WinMain.c
1>..\WinMain.c(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>RDebugger.c
1>..\RDebugger.c(19) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
1>PatchBrowser.c
1>..\PatchBrowser.c(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Generating Code...
1>Compiling...
1>McdsDlg.c
1>..\McdsDlg.c(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>ini.c
1>..\ini.c(22) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>CpuDlg.c
1>..\CpuDlg.c(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>ConfigDlg.c
1>..\ConfigDlg.c(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>AboutDlg.c
1>..\AboutDlg.c(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Generating Code...
1>Build log was saved at "file://d:\pcsx2-0.8.1src\pcsx2-0.8.1src\windows\VCprojects\Release\BuildLog.htm"
1>pcsx2 - 86 error(s), 9 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I compiled this under Visual C++ 2005, and I assume this should be ok, so I'm just wondering what this "windows.h" file is.
See less See more
1 - 1 of 13 Posts
windows.h should have come with VC 2005, id check your installation
1 - 1 of 13 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top