Next Generation Emulation banner
1 - 13 of 13 Posts

· Familiar Face
Joined
·
5,307 Posts
Discussion Starter · #1 ·
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.
 

· Familiar Face
Joined
·
5,307 Posts
Discussion Starter · #4 ·
My copy of Visual C++ is a beta, could this be the problem?
 

· wtfbbq
Joined
·
559 Posts
All right! I am going to tell you straight up, if you cannot find the problem in this long list of errors, DON'T EVEN BOTHER COMPILING THE PCSX2 SOURCE! You obviously have no idea what you are doing or have any clue on the programming basics. Refraction all ready answered your question... :hdbash:
 

· Premium Member
Joined
·
5,551 Posts
Blame CpU MasteR for this quote:

<@CKemu> massive list of errors, which even I could figure out (thats how dumb that post is :p )
 

· Familiar Face
Joined
·
5,307 Posts
Discussion Starter · #8 ·
Well, regardless what any of you may think, the windows header file is NOT included with this beta. I did, however obtain the windows.h file from a Platform SDK, but I'm not sure where it should be. Here's a site to back up the fact that windows.h is not included.
http://public.kitware.com/pipermail/vtkusers/2004-June/074838.html
 

· Registered
Joined
·
1,959 Posts
Actully, yeah, makes sense the Platform SDK wouldnt come with the beta, as the platform isnt completely stable yet (.NET framework v2).

Use 2003 next time, or try to get the entire Platform SDK from microsoft's site, iirc its a free download of around 250MB .. It SHOULD install it to the right places that way, but header files belong in Visual Studio's dir, for exmaple:

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include

There's mine. Yours should be similar, notice that this is for C++ , replace Vc7 with other options for the different languages (VC#,Vb7,...)

EDIT: saw your link.. "Express Beta", D'oh. If you had the real 2005 Beta2, it might have been there. Never heard of an "Express" beta before either..
 

· Familiar Face
Joined
·
5,307 Posts
Discussion Starter · #10 ·
Yeah, guess I didn't realize that the word "Express" would indicate that the SDK is not included. :p Anyways, I found that Platform SDK, and I'm getting the ISO of it, so I'll give that a shot. If it doesn't go too well with this express version, I'll just revert back to VS2003, no biggie, I was just interested in development with the .net framework v2. But I can always wait for a more stable build.
Note: Again as I said in my first post, I am doing this out of pure curiosity. There's something about seeing how it all comes together, you know?
 

· Registered
Joined
·
1,959 Posts
Unless you have extensive experience with the .NET framework and need a specific feature you know only exists in v2 .. Id say there isnt much reason to use it in beta form anyway.

And yeah, I understand your motivation.. just make sure you aint jumping ahead too far, eh ? One step at a time is the trick ;)
 

· Familiar Face
Joined
·
5,307 Posts
Discussion Starter · #12 ·
Anyways, thanks ChaosBlade. I haven't played with anything in C since Borland C++, and that was quite some time ago (at least 5 years). To those that assumed I must have installed VC incorrectly, or that "I don't know what I am doing" may I suggest that you take into consideration what you say before you are so quick to criticize. Again, thanks ChaosBlade, your help is appreciated.
 
1 - 13 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